From be242051091837f95d4fbeec75edd2373887360b Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Fri, 2 Apr 2010 01:04:06 +0000 Subject: [PATCH] key modifiers enum svn path=/trunk/KDE/kdebase/runtime/; revision=1110136 --- .../javascript/simplebindings/appletinterface.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scriptengines/javascript/simplebindings/appletinterface.h b/scriptengines/javascript/simplebindings/appletinterface.h index 54b74e098..14f74eafc 100644 --- a/scriptengines/javascript/simplebindings/appletinterface.h +++ b/scriptengines/javascript/simplebindings/appletinterface.h @@ -52,6 +52,7 @@ class AppletInterface : public QObject Q_ENUMS(AspectRatioMode) Q_ENUMS(BackgroundHints) Q_ENUMS(QtOrientation) + Q_ENUMS(QtModifiers) Q_ENUMS(QtAnchorPoint) Q_ENUMS(QtCorner) Q_ENUMS(QtSizePolicy) @@ -125,6 +126,14 @@ enum AspectRatioMode { }; //From Qt namespace +enum QtModifiers { + QtNoModifier = Qt::NoModifier, + QtShiftModifier = Qt::ShiftModifier, + QtControlModifier = Qt::ControlModifier, + QtAltModifier = Qt::AltModifier, + QtMetaModifier = Qt::MetaModifier +}; + enum QtOrientation { QtHorizontal= Qt::Horizontal, QtVertical = Qt::Vertical