diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-05-03 22:51:17 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-05-03 22:51:17 +0200 |
commit | 54c9b1a80c04a5ecc685dc29e27a27de81d8cc1b (patch) | |
tree | aa2a0374e57a8fd82036485a77bacfcee208a532 /src/gui/statemachine/qguistatemachine.cpp | |
parent | 181df199d31a8018cfcfc31b548909fe4b57ccbd (diff) |
even less QT3_SUPPORT
the new libQtGui should now be free of any
Qt3 related methods.
Diffstat (limited to 'src/gui/statemachine/qguistatemachine.cpp')
-rw-r--r-- | src/gui/statemachine/qguistatemachine.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/gui/statemachine/qguistatemachine.cpp b/src/gui/statemachine/qguistatemachine.cpp index 2a0de3c1c7..031c135158 100644 --- a/src/gui/statemachine/qguistatemachine.cpp +++ b/src/gui/statemachine/qguistatemachine.cpp @@ -155,15 +155,6 @@ static QEvent *cloneEvent(QEvent *e) return new QChildEvent(*static_cast<QChildEvent*>(e)); case QEvent::ChildPolished: return new QChildEvent(*static_cast<QChildEvent*>(e)); -#ifdef QT3_SUPPORT - case QEvent::ChildInsertedRequest: - return new QEvent(*e); - case QEvent::ChildInserted: - return new QChildEvent(*static_cast<QChildEvent*>(e)); - case QEvent::LayoutHint: - Q_ASSERT_X(false, "cloneEvent()", "not implemented"); - break; -#endif case QEvent::ChildRemoved: return new QChildEvent(*static_cast<QChildEvent*>(e)); case QEvent::ShowWindowRequest: @@ -266,15 +257,6 @@ static QEvent *cloneEvent(QEvent *e) case QEvent::ShortcutOverride: return new QKeyEvent(*static_cast<QKeyEvent*>(e)); -#ifdef QT3_SUPPORT - case QEvent::Accel: - Q_ASSERT_X(false, "cloneEvent()", "not implemented"); - break; - case QEvent::AccelAvailable: - Q_ASSERT_X(false, "cloneEvent()", "not implemented"); - break; -#endif - #ifndef QT_NO_WHATSTHIS case QEvent::WhatsThisClicked: return new QWhatsThisClickedEvent(*static_cast<QWhatsThisClickedEvent*>(e)); @@ -321,11 +303,6 @@ static QEvent *cloneEvent(QEvent *e) case QEvent::AcceptDropsChange: return new QEvent(*e); -#ifdef QT3_SUPPORT - case QEvent::MenubarUpdated: - return new QMenubarUpdatedEvent(*static_cast<QMenubarUpdatedEvent*>(e)); -#endif - case QEvent::ZeroTimerEvent: Q_ASSERT_X(false, "cloneEvent()", "not implemented"); break; |