diff options
author | Frans Englich <frans.englich@nokia.com> | 2009-06-29 15:17:51 (GMT) |
---|---|---|
committer | Frans Englich <frans.englich@nokia.com> | 2009-06-29 16:25:51 (GMT) |
commit | 1414c682c532a95a2204bc1b2d01d2493357b686 (patch) | |
tree | 3b4312d7d45eb609f5d7a1440d3211906fa24faa /src/xmlpatterns/api/qxmlquery.h | |
parent | 555c481145ff87347c0f0be12f81632c9b5ef0be (diff) | |
download | Qt-1414c682c532a95a2204bc1b2d01d2493357b686.zip Qt-1414c682c532a95a2204bc1b2d01d2493357b686.tar.gz Qt-1414c682c532a95a2204bc1b2d01d2493357b686.tar.bz2 |
QXmlQuery: add setFocus(const QString &).
Requested by Girish and Jurgen. Useful for training and small examples.
Task-number: 245219
Reviewed-by: Tobias Koenig
AutoTest: Included in this submit.
Diffstat (limited to 'src/xmlpatterns/api/qxmlquery.h')
-rw-r--r-- | src/xmlpatterns/api/qxmlquery.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmlpatterns/api/qxmlquery.h b/src/xmlpatterns/api/qxmlquery.h index 28ef5cb..4ddfc76 100644 --- a/src/xmlpatterns/api/qxmlquery.h +++ b/src/xmlpatterns/api/qxmlquery.h @@ -122,6 +122,7 @@ public: void setFocus(const QXmlItem &item); bool setFocus(const QUrl &documentURI); bool setFocus(QIODevice *document); + bool setFocus(const QString &focus); void setInitialTemplateName(const QXmlName &name); void setInitialTemplateName(const QString &name); |