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/widgets/qcheckbox.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/widgets/qcheckbox.h')
-rw-r--r-- | src/widgets/widgets/qcheckbox.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/widgets/widgets/qcheckbox.h b/src/widgets/widgets/qcheckbox.h index b040b13be1..d9a1aaaf3d 100644 --- a/src/widgets/widgets/qcheckbox.h +++ b/src/widgets/widgets/qcheckbox.h @@ -85,22 +85,6 @@ protected: void mouseMoveEvent(QMouseEvent *); void initStyleOption(QStyleOptionButton *option) const; -#ifdef QT3_SUPPORT -public: - enum ToggleState { - Off = Qt::Unchecked, - NoChange = Qt::PartiallyChecked, - On = Qt::Checked - }; - inline QT3_SUPPORT ToggleState state() const - { return static_cast<QCheckBox::ToggleState>(static_cast<int>(checkState())); } - inline QT3_SUPPORT void setState(ToggleState state) - { setCheckState(static_cast<Qt::CheckState>(static_cast<int>(state))); } - inline QT3_SUPPORT void setNoChange() - { setCheckState(Qt::PartiallyChecked); } - QT3_SUPPORT_CONSTRUCTOR QCheckBox(QWidget *parent, const char* name); - QT3_SUPPORT_CONSTRUCTOR QCheckBox(const QString &text, QWidget *parent, const char* name); -#endif private: Q_DECLARE_PRIVATE(QCheckBox) |