summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qcoreevent.h
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@digia.com>2013-03-12 10:53:48 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-03 10:15:40 +0200
commit85ea2c02992660bc559736462bb2d99d03ccd681 (patch)
tree9ef34d2f8bc02675717e0438112e02d7e75ebf36 /src/corelib/kernel/qcoreevent.h
parent15fca980e947b13069e85b51c9cd2240eb3c5fa5 (diff)
ApplicationState: Add new event class: ApplicationStateChangeEvent
This patch will follow up on e27ca37 (add more state to QT::ApplicationState), and add a new event class QApplicationStateChangeEvent with type Qt::ApplicationStateChange. Change-Id: Idee724f181f1fbb2321ddad7e0df00c88b3488b1 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'src/corelib/kernel/qcoreevent.h')
-rw-r--r--src/corelib/kernel/qcoreevent.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/corelib/kernel/qcoreevent.h b/src/corelib/kernel/qcoreevent.h
index 47a461d330..2ca0a7d0b0 100644
--- a/src/corelib/kernel/qcoreevent.h
+++ b/src/corelib/kernel/qcoreevent.h
@@ -167,9 +167,9 @@ public:
ToolBarChange = 120, // toolbar visibility toggled
- ApplicationActivate = 121, // application has been changed to active
+ ApplicationActivate = 121, // deprecated. Use ApplicationStateChange instead.
ApplicationActivated = ApplicationActivate, // deprecated
- ApplicationDeactivate = 122, // application has been changed to inactive
+ ApplicationDeactivate = 122, // deprecated. Use ApplicationStateChange instead.
ApplicationDeactivated = ApplicationDeactivate, // deprecated
QueryWhatsThis = 123, // query what's this widget help
@@ -276,6 +276,7 @@ public:
PlatformPanel = 212,
StyleAnimationUpdate = 213, // style animation target should be updated
+ ApplicationStateChange = 214,
// 512 reserved for Qt Jambi's MetaCall event
// 513 reserved for Qt Jambi's DeleteOnMainThread event