diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-06-23 04:21:45 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-06-23 05:52:02 (GMT) |
commit | c1283b68d5b02afb5f225d455ae057753b91a5b9 (patch) | |
tree | b87644e9d326c5101b2c467c06d84a723e09ed53 /src/declarative/fx/qfxkeyproxy.cpp | |
parent | 5d5ead94bc79a5364d8685707711673f5dc1a35a (diff) | |
download | Qt-c1283b68d5b02afb5f225d455ae057753b91a5b9.zip Qt-c1283b68d5b02afb5f225d455ae057753b91a5b9.tar.gz Qt-c1283b68d5b02afb5f225d455ae057753b91a5b9.tar.bz2 |
Remove simple canvas
Diffstat (limited to 'src/declarative/fx/qfxkeyproxy.cpp')
-rw-r--r-- | src/declarative/fx/qfxkeyproxy.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/declarative/fx/qfxkeyproxy.cpp b/src/declarative/fx/qfxkeyproxy.cpp index e80f2c7..e76a9b7 100644 --- a/src/declarative/fx/qfxkeyproxy.cpp +++ b/src/declarative/fx/qfxkeyproxy.cpp @@ -93,24 +93,12 @@ QList<QFxItem *> *QFxKeyProxy::targets() const void QFxKeyProxy::keyPressEvent(QKeyEvent *e) { - for (int ii = 0; ii < d->targets.count(); ++ii) { - QSimpleCanvasItem *i = canvas()->focusItem(d->targets.at(ii)); - if (i) - i->keyPressEvent(e); - if (e->isAccepted()) - return; - } + // ### GV } void QFxKeyProxy::keyReleaseEvent(QKeyEvent *e) { - for (int ii = 0; ii < d->targets.count(); ++ii) { - QSimpleCanvasItem *i = canvas()->focusItem(d->targets.at(ii)); - if (i) - i->keyReleaseEvent(e); - if (e->isAccepted()) - return; - } + // ### GV } QT_END_NAMESPACE |