diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2010-04-21 05:34:51 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2010-04-21 05:40:39 (GMT) |
commit | 62d40d166f77de67072eced7eac4f3c38697af52 (patch) | |
tree | 2e942083882358c4c9365b155881fdcf4bbca046 /src/declarative/graphicsitems/qdeclarativeitem.h | |
parent | 5beddba73a7b2890f775d45aeb2f21407f8c3d0d (diff) | |
download | Qt-62d40d166f77de67072eced7eac4f3c38697af52.zip Qt-62d40d166f77de67072eced7eac4f3c38697af52.tar.gz Qt-62d40d166f77de67072eced7eac4f3c38697af52.tar.bz2 |
Add forceFocus method to QDeclarativeItem.
Reviewed-by: Aaron Kennedy
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeitem.h')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeitem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitem.h b/src/declarative/graphicsitems/qdeclarativeitem.h index 51889f6..da5a36e 100644 --- a/src/declarative/graphicsitems/qdeclarativeitem.h +++ b/src/declarative/graphicsitems/qdeclarativeitem.h @@ -157,6 +157,7 @@ public: Q_INVOKABLE QScriptValue mapFromItem(const QScriptValue &item, qreal x, qreal y) const; Q_INVOKABLE QScriptValue mapToItem(const QScriptValue &item, qreal x, qreal y) const; + Q_INVOKABLE void forceFocus(); QDeclarativeAnchorLine left() const; QDeclarativeAnchorLine right() const; |