summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlengine.h
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-01-29 03:01:49 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2010-01-29 03:01:49 (GMT)
commit5cf8677758e6fbfa5bf360c73519c14630db808c (patch)
treeb92c5b97561ef875c08397bb8b4b925007f557a6 /src/declarative/qml/qmlengine.h
parentb91871a108638a5a136ac2a4310f5a3743320f72 (diff)
parent430f3ba46d3db10f7b4534f74e65d2ca13b23747 (diff)
downloadQt-5cf8677758e6fbfa5bf360c73519c14630db808c.zip
Qt-5cf8677758e6fbfa5bf360c73519c14630db808c.tar.gz
Qt-5cf8677758e6fbfa5bf360c73519c14630db808c.tar.bz2
Merge branch 'kinetic-declarativeui' of scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/declarative/qml/qmlengine.h')
-rw-r--r--src/declarative/qml/qmlengine.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlengine.h b/src/declarative/qml/qmlengine.h
index 7cbbcac..b9ec277 100644
--- a/src/declarative/qml/qmlengine.h
+++ b/src/declarative/qml/qmlengine.h
@@ -63,6 +63,7 @@ class QUrl;
class QScriptEngine;
class QScriptContext;
class QNetworkAccessManager;
+class QmlNetworkAccessManagerFactory;
class Q_DECLARATIVE_EXPORT QmlEngine : public QObject
{
Q_PROPERTY(QString offlineStoragePath READ offlineStoragePath WRITE setOfflineStoragePath)
@@ -77,7 +78,9 @@ public:
void addImportPath(const QString& dir);
- void setNetworkAccessManager(QNetworkAccessManager *);
+ void setNetworkAccessManagerFactory(QmlNetworkAccessManagerFactory *);
+ QmlNetworkAccessManagerFactory *networkAccessManagerFactory() const;
+
QNetworkAccessManager *networkAccessManager() const;
void setOfflineStoragePath(const QString& dir);
@@ -92,6 +95,9 @@ public:
Q_SIGNALS:
void quit ();
+private Q_SLOTS:
+ void namInvalidated();
+
private:
Q_DECLARE_PRIVATE(QmlEngine)
};