Mercurial > hg > svapp
diff framework/VersionTester.h @ 285:32d8084f8543
Merge from branch "qt5". This revision actually builds with Qt4 (late releases) or Qt5, though it will warn on configure with Qt4.
author | Chris Cannam |
---|---|
date | Tue, 14 May 2013 12:37:31 +0100 |
parents | 3c236d31cccd |
children | 8cb01cd2441d |
line wrap: on
line diff
--- a/framework/VersionTester.h Mon Apr 15 18:01:44 2013 +0100 +++ b/framework/VersionTester.h Tue May 14 12:37:31 2013 +0100 @@ -24,8 +24,7 @@ #include <QStringList> #include <QString> #include <QObject> - -class QHttpResponseHeader; +#include <QNetworkReply> class VersionTester : public QObject { @@ -41,12 +40,13 @@ void newerVersionAvailable(QString); protected slots: - void httpResponseHeaderReceived(const QHttpResponseHeader &); - void httpDone(bool); + void finished(); + void error(QNetworkReply::NetworkError); private: + QString m_myVersion; + QNetworkReply *m_reply; bool m_httpFailed; - QString m_myVersion; }; #endif