From 52352c6c572f15c10c4c3de641db81723aada468 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Tue, 3 May 2011 21:51:54 +0200 Subject: remove obsolete stuff everything inside QT3_SUPPORT is gone in gui/painting --- src/gui/painting/qcolor.h | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/gui/painting/qcolor.h') diff --git a/src/gui/painting/qcolor.h b/src/gui/painting/qcolor.h index af7248ce8c..38fce2500d 100644 --- a/src/gui/painting/qcolor.h +++ b/src/gui/painting/qcolor.h @@ -208,30 +208,9 @@ public: static void setAllowX11ColorNames(bool enabled); #endif -#ifdef QT3_SUPPORT - inline QT3_SUPPORT_CONSTRUCTOR QColor(int x, int y, int z, Spec colorSpec) - { if (colorSpec == Hsv) setHsv(x, y, z); else setRgb(x, y, z); } - - inline QT3_SUPPORT void rgb(int *r, int *g, int *b) const - { getRgb(r, g, b); } - inline QT3_SUPPORT void hsv(int *h, int *s, int *v) const - { getHsv(h, s, v); } - - inline QT3_SUPPORT void setRgba(int r, int g, int b, int a) - { setRgb(r, g, b, a); } - inline QT3_SUPPORT void getRgba(int *r, int *g, int *b, int *a) const - { getRgb(r, g, b, a); } - - QT3_SUPPORT uint pixel(int screen = -1) const; -#endif - static bool isValidColor(const QString &name); private: -#ifndef QT3_SUPPORT - // do not allow a spec to be used as an alpha value - QColor(int, int, int, Spec); -#endif void invalidate(); bool setColorFromString(const QString &name); -- cgit v1.2.3