diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-01 04:39:18 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-01 04:39:18 (GMT) |
commit | 54b993f4fe5b7495546c98e302a5e2f6a87de6d7 (patch) | |
tree | 58bc01595c401bf0a1ef98e549dc78847190c7bc /src/declarative/fx/qfxkeyactions.cpp | |
parent | ed07e08b5d5d3ce8a514e9a9974fe6e581f24d0d (diff) | |
parent | 282da61249a7b2ba47afadb94bfcd2517ea60d9a (diff) | |
download | Qt-54b993f4fe5b7495546c98e302a5e2f6a87de6d7.zip Qt-54b993f4fe5b7495546c98e302a5e2f6a87de6d7.tar.gz Qt-54b993f4fe5b7495546c98e302a5e2f6a87de6d7.tar.bz2 |
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/declarative/fx/qfxkeyactions.cpp')
-rw-r--r-- | src/declarative/fx/qfxkeyactions.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/declarative/fx/qfxkeyactions.cpp b/src/declarative/fx/qfxkeyactions.cpp index d2739ea..52a013a 100644 --- a/src/declarative/fx/qfxkeyactions.cpp +++ b/src/declarative/fx/qfxkeyactions.cpp @@ -245,7 +245,7 @@ void QFxKeyActions::setEnabled(bool e) The following example sets actions for the 'c' and 'x' keys. \code - <KeyActions keyC="print('c is for cookie')" keyX="print('I like cookies')" /> + KeyActions { keyC: "print('c is for cookie')"; keyX: "print('I like cookies')" } \endcode */ QString QFxKeyActions::key_A() const @@ -519,7 +519,7 @@ void QFxKeyActions::setKey_Z(const QString &s) The following example sets actions for the left and right arrow keys. \code - <KeyActions leftArrow="print('You pressed left')" rightArrow="print('You pressed right')" /> + KeyActions { leftArrow: "print('You pressed left')"; rightArrow: "print('You pressed right')" } \endcode */ @@ -570,7 +570,7 @@ void QFxKeyActions::setKey_Down(const QString &s) The following example sets actions for the '5' and '6' keys. \code - <KeyActions digit5="print('5 is a prime number')" digit6="print('6 is a composite number')" /> + KeyActions { digit5: "print('5 is a prime number')"; digit6: "print('6 is a composite number')"; focus: true } \endcode */ @@ -745,7 +745,7 @@ void QFxKeyActions::setKey_Space(const QString &s) The following example sets an action for the space key. \code - <KeyActions space="print('Space pressed')" /> + KeyActions { space: "print('Space pressed')" } \endcode */ @@ -766,7 +766,7 @@ void QFxKeyActions::setKey_Space(const QString &s) The following example sets an action for the hangup key. \code - <KeyActions hangup="print('Go away now')" /> + KeyActions { hangup: "print('Go away now')" } \endcode */ |