summaryrefslogtreecommitdiffstats
path: root/tools/qmlviewer/qmlviewer.h
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-01-29 01:58:52 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-01-29 01:58:52 (GMT)
commit741d21719b942faa22a4bdf1a951d82d9fe73a68 (patch)
tree83b7edcff3fe208b311442490da708a651c8a640 /tools/qmlviewer/qmlviewer.h
parent7081c571a33480cb6bb3db7391c9570e4b4e4be1 (diff)
downloadQt-741d21719b942faa22a4bdf1a951d82d9fe73a68.zip
Qt-741d21719b942faa22a4bdf1a951d82d9fe73a68.tar.gz
Qt-741d21719b942faa22a4bdf1a951d82d9fe73a68.tar.bz2
Move image network access into a separate thread, with decoding.
Diffstat (limited to 'tools/qmlviewer/qmlviewer.h')
-rw-r--r--tools/qmlviewer/qmlviewer.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/qmlviewer/qmlviewer.h b/tools/qmlviewer/qmlviewer.h
index 3b14d39..6b05584 100644
--- a/tools/qmlviewer/qmlviewer.h
+++ b/tools/qmlviewer/qmlviewer.h
@@ -57,6 +57,8 @@ class QProcess;
class RecordingDialog;
class QmlGraphicsTester;
class QNetworkReply;
+class QNetworkCookieJar;
+class NetworkAccessManagerFactory;
class QmlViewer
#if defined(Q_OS_SYMBIAN)
@@ -68,6 +70,7 @@ class QmlViewer
Q_OBJECT
public:
QmlViewer(QWidget *parent=0, Qt::WindowFlags flags=0);
+ ~QmlViewer();
enum ScriptOption {
Play = 0x00000001,
@@ -138,7 +141,6 @@ private slots:
void unpackWgt();
private:
- void setupProxy();
QString getVideoFileName();
PreviewDeviceSkin *skin;
@@ -181,6 +183,8 @@ private:
QNetworkReply *wgtreply;
QString wgtdir;
+ NetworkAccessManagerFactory *namFactory;
+
bool useQmlFileBrowser;
};
Q_DECLARE_OPERATORS_FOR_FLAGS(QmlViewer::ScriptOptions)