diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-12-09 13:21:23 +0100 |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-12-09 13:48:33 +0100 |
commit | 6744e241ee41a50b02a76e3e755ec448676589a4 (patch) | |
tree | bb4e02d0f0a3f84ff29768a11287fa56753be163 /src/gui/image/qpixmap.h | |
parent | 1cfa8d81f04e02860df85a3b7acf41974982adae (diff) |
Compile with QT_NO_DEPRECATED
uses of QT_DEPRECATED must be protected by #ifdef
Task-number: QTBUG-6649
Reviewed-by: João Abecasis
Diffstat (limited to 'src/gui/image/qpixmap.h')
-rw-r--r-- | src/gui/image/qpixmap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/image/qpixmap.h b/src/gui/image/qpixmap.h index d95b4eead8..e02b0d68a6 100644 --- a/src/gui/image/qpixmap.h +++ b/src/gui/image/qpixmap.h @@ -185,7 +185,9 @@ public: const uchar *qwsBits() const; int qwsBytesPerLine() const; QRgb *clut() const; +#ifdef QT_DEPRECATED QT_DEPRECATED int numCols() const; +#endif int colorCount() const; #elif defined(Q_WS_MAC) Qt::HANDLE macQDHandle() const; |