diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-05-03 21:51:54 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-05-03 21:51:54 +0200 |
commit | 52352c6c572f15c10c4c3de641db81723aada468 (patch) | |
tree | c87f2be7179e2d7a203719aa4eed9480dc7d9748 /src/gui/painting/qcolor.cpp | |
parent | 34f712e79e97b757b4426e1ffa09e065c9e379a1 (diff) |
remove obsolete stuff
everything inside QT3_SUPPORT is gone in
gui/painting
Diffstat (limited to 'src/gui/painting/qcolor.cpp')
-rw-r--r-- | src/gui/painting/qcolor.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
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 *****************************************************************************/ |