diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-01-31 12:17:32 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-01 16:24:10 +0100 |
commit | e03b77d1a6eb58664faa9abd38f9aa3750a25198 (patch) | |
tree | 7d8ccabc999f0c5ca91c66458726695383b593fd /src/widgets/kernel/qapplication.h | |
parent | b44e67e1ca5766daef3e4f7a6dd433ebe0f744d1 (diff) |
Remove the API duplication from QApplication.
The quitOnLastWindowClosed API is present in the base
class QGuiApplication.
Change-Id: Ib2f78e48a198aa835302dcb9a31637a2c3655532
Reviewed-by: Jonas Gastal <jgastal@profusion.mobi>
Reviewed-by: David Faure <faure@kde.org>
Diffstat (limited to 'src/widgets/kernel/qapplication.h')
-rw-r--r-- | src/widgets/kernel/qapplication.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/widgets/kernel/qapplication.h b/src/widgets/kernel/qapplication.h index ee651394b8..ace557bfb7 100644 --- a/src/widgets/kernel/qapplication.h +++ b/src/widgets/kernel/qapplication.h @@ -87,7 +87,6 @@ class Q_WIDGETS_EXPORT QApplication : public QGuiApplication Q_PROPERTY(QSize globalStrut READ globalStrut WRITE setGlobalStrut) Q_PROPERTY(int startDragTime READ startDragTime WRITE setStartDragTime) Q_PROPERTY(int startDragDistance READ startDragDistance WRITE setStartDragDistance) - Q_PROPERTY(bool quitOnLastWindowClosed READ quitOnLastWindowClosed WRITE setQuitOnLastWindowClosed) #ifndef QT_NO_STYLE_STYLESHEET Q_PROPERTY(QString styleSheet READ styleSheet WRITE setStyleSheet) #endif @@ -231,10 +230,6 @@ public: static int exec(); bool notify(QObject *, QEvent *); - - static void setQuitOnLastWindowClosed(bool quit); - static bool quitOnLastWindowClosed(); - #ifdef QT_KEYPAD_NAVIGATION static Q_DECL_DEPRECATED void setKeypadNavigationEnabled(bool); static bool keypadNavigationEnabled(); |