diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-12-09 12:21:23 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-12-09 12:48:33 (GMT) |
commit | 6744e241ee41a50b02a76e3e755ec448676589a4 (patch) | |
tree | bb4e02d0f0a3f84ff29768a11287fa56753be163 /src/gui/embedded/qscreen_qws.h | |
parent | 1cfa8d81f04e02860df85a3b7acf41974982adae (diff) | |
download | Qt-6744e241ee41a50b02a76e3e755ec448676589a4.zip Qt-6744e241ee41a50b02a76e3e755ec448676589a4.tar.gz Qt-6744e241ee41a50b02a76e3e755ec448676589a4.tar.bz2 |
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/embedded/qscreen_qws.h')
-rw-r--r-- | src/gui/embedded/qscreen_qws.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/embedded/qscreen_qws.h b/src/gui/embedded/qscreen_qws.h index b3246f9..7ab49fb 100644 --- a/src/gui/embedded/qscreen_qws.h +++ b/src/gui/embedded/qscreen_qws.h @@ -243,7 +243,9 @@ public: int totalSize() const { return mapsize; } QRgb * clut() { return screenclut; } +#ifdef QT_DEPRECATED QT_DEPRECATED int numCols() { return screencols; } +#endif int colorCount() { return screencols; } virtual QSize mapToDevice(const QSize &) const; |