diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-04-27 07:39:47 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-04-27 07:39:47 (GMT) |
commit | d782ceee4de31bc4a11cd6cdeacc881bd1c118d8 (patch) | |
tree | 59622d424b34ca6d5195fb2ddcc4f4dc393abbd1 /src/declarative/fx/qfxitem.h | |
parent | c33403a2e6a567a1e9bae9c0384a70dcae7d9961 (diff) | |
download | Qt-d782ceee4de31bc4a11cd6cdeacc881bd1c118d8.zip Qt-d782ceee4de31bc4a11cd6cdeacc881bd1c118d8.tar.gz Qt-d782ceee4de31bc4a11cd6cdeacc881bd1c118d8.tar.bz2 |
Make MouseRegion signals pass a mouse event as their parameter.
Diffstat (limited to 'src/declarative/fx/qfxitem.h')
-rw-r--r-- | src/declarative/fx/qfxitem.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/declarative/fx/qfxitem.h b/src/declarative/fx/qfxitem.h index 7de0aae..3f7784b 100644 --- a/src/declarative/fx/qfxitem.h +++ b/src/declarative/fx/qfxitem.h @@ -94,6 +94,7 @@ class QmlContext; class QmlState; class QmlTransition; class QFxTransform; +class QFxKeyEvent; class QFxItemPrivate; class Q_DECLARATIVE_EXPORT QFxItem : public QSimpleCanvasItem, public QmlParserStatus { @@ -228,8 +229,8 @@ Q_SIGNALS: void focusChanged(); void activeFocusChanged(); void parentChanged(); - void keyPress(QObject *event); - void keyRelease(QObject *event); + void keyPress(QFxKeyEvent *event); + void keyRelease(QFxKeyEvent *event); void rotationChanged(); void scaleChanged(); void opacityChanged(); |