summaryrefslogtreecommitdiffstats
path: root/sip/qt/qcolor.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qcolor.sip')
-rw-r--r--sip/qt/qcolor.sip51
1 files changed, 0 insertions, 51 deletions
diff --git a/sip/qt/qcolor.sip b/sip/qt/qcolor.sip
index bf6ede8..8fb53d2 100644
--- a/sip/qt/qcolor.sip
+++ b/sip/qt/qcolor.sip
@@ -79,31 +79,6 @@ This takes no parameters and returns the <Literal>r</Literal>,
%End
-%If (- TQt_2_00)
-// The global colours.
-
-TQColor color0;
-TQColor color1;
-TQColor black;
-TQColor white;
-TQColor darkGray;
-TQColor gray;
-TQColor lightGray;
-TQColor red;
-TQColor green;
-TQColor blue;
-TQColor cyan;
-TQColor magenta;
-TQColor yellow;
-TQColor darkRed;
-TQColor darkGreen;
-TQColor darkBlue;
-TQColor darkCyan;
-TQColor darkMagenta;
-TQColor darkYellow;
-%End
-
-
// Related functions.
int tqRed(TQRgb);
@@ -113,10 +88,8 @@ TQRgb tqRgb(int,int,int);
int tqGray(int,int,int);
int tqGray(TQRgb);
-%If (TQt_2_00 -)
int tqAlpha(TQRgb);
TQRgb tqRgba(int,int,int,int);
-%End
class TQColor
@@ -135,30 +108,19 @@ public:
TQColor(int,int,int);
TQColor(int,int,int,Spec);
TQColor(TQRgb,uint = 0xffffffff);
-%If (TQt_2_00 -)
TQColor(const TQString &);
-%End
TQColor(const char *);
TQColor(const TQColor &);
bool isValid() const;
bool isDirty() const;
-%If (- TQt_2_00)
- void setNamedColor(const char *);
-%End
-%If (TQt_2_1_0 -)
TQString name() const;
-%End
-%If (TQt_2_00 -)
void setNamedColor(const TQString &);
-%End
TQRgb rgb() const;
void setRgb(int,int,int);
void setRgb(TQRgb);
-%If (TQt_3_2_0 -)
void getRgb(int *,int *,int *) const;
-%End
// Obsolete and is hidden anyway by the overload above.
//void rgb(int *,int *,int *) const;
@@ -169,22 +131,13 @@ public:
void setHsv(int,int,int);
-%If (TQt_3_2_0 -)
void getHsv(int *,int *,int *) const;
-%End
-%If (- TQt_3_2_0)
- void getHsv(int &,int &,int &) const;
-%End
// Obsolete.
void hsv(int *,int *,int *) const;
TQColor light(int = 150) const;
TQColor dark(int = 200) const;
-%If (- TQt_3_0_0)
- static bool lazyAlloc();
- static void setLazyAlloc(bool);
-%End
bool operator==(const TQColor &) const;
bool operator!=(const TQColor &) const;
@@ -197,11 +150,7 @@ public:
static void leaveAllocContext();
static int currentAllocContext();
static void destroyAllocContext(int);
-%If (TQt_3_0_0 -)
-%End
static void initialize();
static void cleanup();
-%If (TQt_3_2_0 -)
static TQStringList colorNames();
-%End
};