summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qcoreevent.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2012-10-04 15:30:09 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-09 00:46:01 +0200
commit8f9346dd663d65f5030d4fb590564a8661a634d8 (patch)
tree89f1cccce671a868efa54bb6bbede804d4b97490 /src/corelib/kernel/qcoreevent.h
parent0776746d47c9b0d575b6190b1882c571a76ee086 (diff)
Add QEvent::StyleAnimationUpdate: style animation target should update
The event will be sent from the upcoming style animations. This change merely introduces the new event type and makes both QWidget and QGraphicsWidget call update() upon receiving the event. Change-Id: I69bb4d05bacb22f7e3a2512cae68848801e4f4d7 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/corelib/kernel/qcoreevent.h')
-rw-r--r--src/corelib/kernel/qcoreevent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/kernel/qcoreevent.h b/src/corelib/kernel/qcoreevent.h
index 98dde37e3a..d30f93f9f3 100644
--- a/src/corelib/kernel/qcoreevent.h
+++ b/src/corelib/kernel/qcoreevent.h
@@ -279,6 +279,8 @@ public:
PlatformPanel = 212,
+ StyleAnimationUpdate = 213, // style animation target should be updated
+
// 512 reserved for Qt Jambi's MetaCall event
// 513 reserved for Qt Jambi's DeleteOnMainThread event