summaryrefslogtreecommitdiffstats
path: root/src/gui/embedded/qscreen_qws.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/embedded/qscreen_qws.h')
-rw-r--r--src/gui/embedded/qscreen_qws.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/embedded/qscreen_qws.h b/src/gui/embedded/qscreen_qws.h
index d20d709..b3246f9 100644
--- a/src/gui/embedded/qscreen_qws.h
+++ b/src/gui/embedded/qscreen_qws.h
@@ -243,7 +243,8 @@ public:
int totalSize() const { return mapsize; }
QRgb * clut() { return screenclut; }
- int numCols() { return screencols; }
+ QT_DEPRECATED int numCols() { return screencols; }
+ int colorCount() { return screencols; }
virtual QSize mapToDevice(const QSize &) const;
virtual QSize mapFromDevice(const QSize &) const;