diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-08-31 10:47:09 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-08-31 11:47:21 +0200 |
commit | 94355ca15a4d451f4a4b858240e2c1a96e26537b (patch) | |
tree | 6b9209c03a86575a45c92e62a990c60528c02195 /src/widgets/kernel/qapplication_qpa.cpp | |
parent | 3795e2c7bec9eb50a04d139e45ecc809c4aa37f6 (diff) |
Add a QStyleHints class to QtGui
This class encapsulates platform specific style hints
like doubleClickInterval or cursorFlashTime.
Change-Id: I0d88c47a59d564d8d346642184e5b14e1864cf40
Reviewed-on: http://codereview.qt.nokia.com/3927
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/widgets/kernel/qapplication_qpa.cpp')
-rw-r--r-- | src/widgets/kernel/qapplication_qpa.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/widgets/kernel/qapplication_qpa.cpp b/src/widgets/kernel/qapplication_qpa.cpp index 3c0575b656..a7c274233d 100644 --- a/src/widgets/kernel/qapplication_qpa.cpp +++ b/src/widgets/kernel/qapplication_qpa.cpp @@ -287,36 +287,6 @@ void QApplicationPrivate::initializeWidgetPaletteHash() { } -void QApplication::setCursorFlashTime(int msecs) -{ - QApplicationPrivate::cursor_flash_time = msecs; -} - -int QApplication::cursorFlashTime() -{ - return QApplicationPrivate::cursor_flash_time; -} - -void QApplication::setDoubleClickInterval(int ms) -{ - QApplicationPrivate::mouse_double_click_time = ms; -} - -int QApplication::doubleClickInterval() -{ - return QApplicationPrivate::mouse_double_click_time; -} - -void QApplication::setKeyboardInputInterval(int ms) -{ - QApplicationPrivate::keyboard_input_time = ms; -} - -int QApplication::keyboardInputInterval() -{ - return QApplicationPrivate::keyboard_input_time; -} - #ifndef QT_NO_WHEELEVENT void QApplication::setWheelScrollLines(int lines) { |