From 8f9346dd663d65f5030d4fb590564a8661a634d8 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 4 Oct 2012 15:30:09 +0200 Subject: 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 --- src/corelib/kernel/qcoreevent.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/corelib/kernel/qcoreevent.h') 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 -- cgit v1.2.3