summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qt_s60_p.h
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-09-22 12:02:14 (GMT)
committeraxis <qt-info@nokia.com>2009-09-22 12:33:25 (GMT)
commit0c0d9593c6e3d5cc0005a3f545002dd169e93329 (patch)
treee4a1229f14442fe632269ee17219d830c4975efe /src/gui/kernel/qt_s60_p.h
parent003ed73811987b1ec5d9496e8ba382c1dc421e79 (diff)
downloadQt-0c0d9593c6e3d5cc0005a3f545002dd169e93329.zip
Qt-0c0d9593c6e3d5cc0005a3f545002dd169e93329.tar.gz
Qt-0c0d9593c6e3d5cc0005a3f545002dd169e93329.tar.bz2
Saved some space by using bitfields instead of bools.
RevBy: Shane Kearns
Diffstat (limited to 'src/gui/kernel/qt_s60_p.h')
-rw-r--r--src/gui/kernel/qt_s60_p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/kernel/qt_s60_p.h b/src/gui/kernel/qt_s60_p.h
index b43c950..aa39f9d 100644
--- a/src/gui/kernel/qt_s60_p.h
+++ b/src/gui/kernel/qt_s60_p.h
@@ -101,11 +101,11 @@ public:
int virtualMouseAccel;
int virtualMouseMaxAccel;
#ifndef Q_SYMBIAN_FIXED_POINTER_CURSORS
- bool brokenPointerCursors;
+ int brokenPointerCursors : 1;
#endif
- bool hasTouchscreen;
- bool mouseInteractionEnabled;
- bool virtualMouseRequired;
+ int hasTouchscreen : 1;
+ int mouseInteractionEnabled : 1;
+ int virtualMouseRequired : 1;
int qtOwnsS60Environment : 1;
static inline void updateScreenSize();
static inline RWsSession& wsSession();