refs #297 Added new network settings.

This commit is contained in:
Mathew Sutcliffe
2015-06-30 20:58:22 +01:00
parent d971b073b7
commit bacf771a15
12 changed files with 98 additions and 26 deletions

View File

@@ -13,6 +13,7 @@
#define BLACKCORE_VATSIMBOOKINGREADER_H
#include "blackcoreexport.h"
#include "blackcore/settings/network.h"
#include "blackmisc/threadedreader.h"
#include "blackmisc/aviation/atcstationlist.h"
@@ -30,7 +31,7 @@ namespace BlackCore
public:
//! Constructor
explicit CVatsimBookingReader(QObject *owner, const QString &url);
explicit CVatsimBookingReader(QObject *owner);
//! Read / re-read bookings
void readInBackgroundThread();
@@ -44,7 +45,7 @@ namespace BlackCore
void ps_read();
private:
QString m_serviceUrl; //!< URL of the service
CSetting<Settings::Network::BookingService> m_serviceUrl { this };
QNetworkAccessManager *m_networkManager = nullptr;
signals: