summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxitem.h
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-07-14 00:17:19 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-07-14 00:17:19 (GMT)
commit4bff499601509355cd4e2166357d7aa6f08f0b1c (patch)
tree6e54dc4551384350a08529cdbb66ca3169ec52f9 /src/declarative/fx/qfxitem.h
parent74079574c31b41982357e8f809da4686a5d0fd75 (diff)
downloadQt-4bff499601509355cd4e2166357d7aa6f08f0b1c.zip
Qt-4bff499601509355cd4e2166357d7aa6f08f0b1c.tar.gz
Qt-4bff499601509355cd4e2166357d7aa6f08f0b1c.tar.bz2
Basic KeyProxy support.
Diffstat (limited to 'src/declarative/fx/qfxitem.h')
-rw-r--r--src/declarative/fx/qfxitem.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/declarative/fx/qfxitem.h b/src/declarative/fx/qfxitem.h
index 8c8bcc4..9df3c18 100644
--- a/src/declarative/fx/qfxitem.h
+++ b/src/declarative/fx/qfxitem.h
@@ -296,6 +296,10 @@ Q_SIGNALS:
void qmlChanged();
void newChildCreated(const QString &url, QScriptValue);
+public: //### for KeyProxy
+ void keyPressEvent(QKeyEvent *event);
+ void keyReleaseEvent(QKeyEvent *event);
+
protected:
virtual void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *);
virtual void childrenChanged();
@@ -312,8 +316,6 @@ protected:
virtual void parentChanged(QFxItem *, QFxItem *);
virtual void focusChanged(bool);
virtual void activeFocusChanged(bool);
- void keyPressEvent(QKeyEvent *event);
- void keyReleaseEvent(QKeyEvent *event);
virtual void geometryChanged(const QRectF &newGeometry,
const QRectF &oldGeometry);