Mercurial > hg > easyhg
diff src/versiontester.h @ 663:f9b805d8cab4 qt5
build with qt5 (in branch currently)
author | Chris Cannam |
---|---|
date | Thu, 14 Mar 2013 16:43:30 +0000 |
parents | ae67ea0af696 |
children |
line wrap: on
line diff
--- a/src/versiontester.h Fri Mar 01 09:20:11 2013 +0000 +++ b/src/versiontester.h Thu Mar 14 16:43:30 2013 +0000 @@ -21,8 +21,7 @@ #include <QStringList> #include <QString> #include <QObject> - -class QHttpResponseHeader; +#include <QNetworkReply> class VersionTester : public QObject { @@ -38,12 +37,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