summaryrefslogtreecommitdiffstats
path: root/lib/kopainter/koColor.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kopainter/koColor.h')
-rw-r--r--lib/kopainter/koColor.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/kopainter/koColor.h b/lib/kopainter/koColor.h
index f955754f..70fffd1f 100644
--- a/lib/kopainter/koColor.h
+++ b/lib/kopainter/koColor.h
@@ -21,7 +21,7 @@
#ifndef __ko_color_h__
#define __ko_color_h__
-#include <qcolor.h>
+#include <tqcolor.h>
#include <koffice_export.h>
class KOPAINTER_EXPORT KoColor
{
@@ -31,8 +31,8 @@ public:
KoColor();
KoColor(int a, int b, int c, cSpace m = csRGB);
KoColor(int c, int m, int y, int k);
- KoColor(const QString &name);
- KoColor(const QColor &c);
+ KoColor(const TQString &name);
+ KoColor(const TQColor &c);
cSpace native() const {return mNative; }
@@ -54,15 +54,15 @@ public:
void hsv(int *H, int *S, int *V) const;
void lab(int *L, int *a, int *b) const;
void cmyk(int *C, int *M, int *Y, int *K) const;
- QString name() const;
- QColor color() const;
+ TQString name() const;
+ TQColor color() const;
void setRGB(int R, int G, int B);
void setHSV(int H, int S, int V);
void setLab(int L, int a, int b);
void setCMYK(int C, int M, int Y, int K);
- void setNamedColor(const QString &name);
- void setColor(const QColor &c);
+ void setNamedColor(const TQString &name);
+ void setColor(const TQColor &c);
static void RGBtoHSV(int R, int G, int B, int *H, int *S, int *V);
static void RGBtoLAB(int R, int G, int B, int *L, int *a, int *b);
@@ -99,7 +99,7 @@ public:
static const KoColor darkYellow();
protected:
- int hex2int(QChar c);
+ int hex2int(TQChar c);
void calcRGB() const;
void calcHSV() const;