From d9e50f203efecae616aad5aa948131684d978826 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 30 May 2013 17:04:46 +0200 Subject: [PATCH] Expose QKeySequence::StandardKey for QQuickKeyEvent Change-Id: If3fff3bf1d61e8cd7f757d33637d15c931e21fb4 Reviewed-by: Alan Alpert --- src/gui/kernel/qkeysequence.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/kernel/qkeysequence.h b/src/gui/kernel/qkeysequence.h index 05460c6651..8a989682d8 100644 --- a/src/gui/kernel/qkeysequence.h +++ b/src/gui/kernel/qkeysequence.h @@ -44,6 +44,7 @@ #include #include +#include QT_BEGIN_NAMESPACE @@ -68,6 +69,9 @@ class QKeySequencePrivate; class Q_GUI_EXPORT QKeySequence { + Q_GADGET + Q_ENUMS(StandardKey) + public: enum StandardKey { UnknownKey,