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.cpp | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'src/gui/painting/qcolor.cpp') diff --git a/src/gui/painting/qcolor.cpp b/src/gui/painting/qcolor.cpp index ff6c24ee9e..1a6b090f63 100644 --- a/src/gui/painting/qcolor.cpp +++ b/src/gui/painting/qcolor.cpp @@ -2463,30 +2463,6 @@ void QColor::invalidate() ct.argb.pad = 0; } -#ifdef QT3_SUPPORT - -/*! - Returns the pixel value used by the underlying window system to refer to a - color. - - Use QColormap::pixel() instead. - - \oldcode - QColor myColor; - uint pixel = myColor.pixel(screen); - \newcode - QColormap cmap = QColormap::instance(screen); - uint pixel = cmap.pixel(*this); - \endcode -*/ -uint QColor::pixel(int screen) const -{ - QColormap cmap = QColormap::instance(screen); - return cmap.pixel(*this); -} - -#endif // QT3_SUPPORT - /***************************************************************************** QColor stream functions *****************************************************************************/ -- cgit v1.2.3