diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-09-27 14:48:51 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-28 03:18:16 +0200 |
commit | a85d343a39577cdf953d0759e356c59a77ae743f (patch) | |
tree | fdbd9229902d5efc0ca637dc79d6aa7cc5645635 /src/widgets/styles/qstyle.h | |
parent | 3b6bb13e6a197bb4ba85b397ae9d2b8c659d6b26 (diff) |
Widgets: Remove QT3_SUPPPORT.
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Change-Id: Ie884f0cc9b3970b01c3c0c26600b1bcd92548077
Reviewed-on: http://codereview.qt-project.org/5629
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/widgets/styles/qstyle.h')
-rw-r--r-- | src/widgets/styles/qstyle.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/widgets/styles/qstyle.h b/src/widgets/styles/qstyle.h index 1896f129e1..6b296871d4 100644 --- a/src/widgets/styles/qstyle.h +++ b/src/widgets/styles/qstyle.h @@ -102,9 +102,6 @@ public: enum StateFlag { State_None = 0x00000000, -#ifdef QT3_SUPPORT - State_Default = State_None, -#endif State_Enabled = 0x00000001, State_Raised = 0x00000002, State_Sunken = 0x00000004, @@ -138,9 +135,6 @@ public: }; Q_DECLARE_FLAGS(State, StateFlag) -#ifdef QT3_SUPPORT - typedef State SFlags; -#endif enum PrimitiveElement { PE_Q3CheckListController, @@ -460,9 +454,6 @@ public: }; Q_DECLARE_FLAGS(SubControls, SubControl) -#ifdef QT3_SUPPORT - typedef SubControls SCFlags; -#endif virtual void drawComplexControl(ComplexControl cc, const QStyleOptionComplex *opt, QPainter *p, const QWidget *widget = 0) const = 0; @@ -739,13 +730,6 @@ public: SH_RequestSoftwareInputPanel, // Add new style hint values here -#ifdef QT3_SUPPORT - SH_GUIStyle = 0x00000100, - SH_ScrollBar_BackgroundMode, - // Add other compat values here - - SH_UnderlineAccelerator = SH_UnderlineShortcut, -#endif SH_CustomBase = 0xf0000000 }; |