Transition to QNetworkAccessManager for compatibility to QT5

Former-commit-id: 6e65da9338d131d1017051e505db8c28696adf4f
This commit is contained in:
ntim
2016-01-10 22:17:59 +01:00
parent d5529e86df
commit 9c1e565d33
2 changed files with 19 additions and 24 deletions

View File

@@ -6,7 +6,7 @@
// Qt includes
#include <QObject>
#include <QString>
#include <QHttp>
#include <QNetworkAccessManager>
#include <QTimer>
// Leddevice includes
@@ -164,8 +164,8 @@ private:
QString host;
/// User name for the API ("newdeveloper")
QString username;
/// Qhttp object for sending requests.
QHttp* http;
/// QNetworkAccessManager object for sending requests.
QNetworkAccessManager* manager;
/// Use timer to reset lights when we got into "GRABBINGMODE_OFF".
QTimer timer;
///