diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-09-18 02:57:15 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-09-18 02:57:15 (GMT) |
commit | 62615291477b6268263fad5c1f767d6291b541c4 (patch) | |
tree | bdd566135354472f6494b0cad264e324864da59e /src/declarative/qml/qmlengine.h | |
parent | f2d5e83afcc30de4d77b30f90df6f82e53796d59 (diff) | |
download | Qt-62615291477b6268263fad5c1f767d6291b541c4.zip Qt-62615291477b6268263fad5c1f767d6291b541c4.tar.gz Qt-62615291477b6268263fad5c1f767d6291b541c4.tar.bz2 |
Make SqlDatabase testable and add a basic test.
Diffstat (limited to 'src/declarative/qml/qmlengine.h')
-rw-r--r-- | src/declarative/qml/qmlengine.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlengine.h b/src/declarative/qml/qmlengine.h index 8caa505..b4233e4 100644 --- a/src/declarative/qml/qmlengine.h +++ b/src/declarative/qml/qmlengine.h @@ -65,6 +65,7 @@ class QScriptContext; class QNetworkAccessManager; class Q_DECLARATIVE_EXPORT QmlEngine : public QObject { + Q_PROPERTY(QString offlineStoragePath READ offlineStoragePath WRITE setOfflineStoragePath) Q_OBJECT public: QmlEngine(QObject *p = 0); @@ -79,6 +80,9 @@ public: void setNetworkAccessManager(QNetworkAccessManager *); QNetworkAccessManager *networkAccessManager() const; + void setOfflineStoragePath(const QString& dir); + QString offlineStoragePath() const; + QUrl baseUrl() const; void setBaseUrl(const QUrl &); |