diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2009-11-03 12:39:40 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2009-11-03 15:23:05 (GMT) |
commit | 2596d721d64ad4d484176888cb166fbc43157ca9 (patch) | |
tree | 13e2cf1c7bcd8f4f15434778a8c4a603d309a34f /src/gui/statemachine/qkeyeventtransition.h | |
parent | 569e4b636fc91a9d5c6f6e4d65967327786adb3c (diff) | |
download | Qt-2596d721d64ad4d484176888cb166fbc43157ca9.zip Qt-2596d721d64ad4d484176888cb166fbc43157ca9.tar.gz Qt-2596d721d64ad4d484176888cb166fbc43157ca9.tar.bz2 |
Change name of modifiersMask property to "modifierMask"
"modifierMask" is more correct English.
Reviewed-by: Kent Hansen
Diffstat (limited to 'src/gui/statemachine/qkeyeventtransition.h')
-rw-r--r-- | src/gui/statemachine/qkeyeventtransition.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/statemachine/qkeyeventtransition.h b/src/gui/statemachine/qkeyeventtransition.h index 8df8138..ab1c155 100644 --- a/src/gui/statemachine/qkeyeventtransition.h +++ b/src/gui/statemachine/qkeyeventtransition.h @@ -57,7 +57,7 @@ class Q_GUI_EXPORT QKeyEventTransition : public QEventTransition { Q_OBJECT Q_PROPERTY(int key READ key WRITE setKey) - Q_PROPERTY(Qt::KeyboardModifiers modifiersMask READ modifiersMask WRITE setModifiersMask) + Q_PROPERTY(Qt::KeyboardModifiers modifierMask READ modifierMask WRITE setModifierMask) public: QKeyEventTransition(QState *sourceState = 0); QKeyEventTransition(QObject *object, QEvent::Type type, int key, @@ -67,8 +67,8 @@ public: int key() const; void setKey(int key); - Qt::KeyboardModifiers modifiersMask() const; - void setModifiersMask(Qt::KeyboardModifiers modifiers); + Qt::KeyboardModifiers modifierMask() const; + void setModifierMask(Qt::KeyboardModifiers modifiers); protected: void onTransition(QEvent *event); |