diff options
author | Simon Rettberg | 2018-06-15 14:05:25 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-06-15 14:05:25 +0200 |
commit | ba3c5aa40274c11f9cefd4e9842be3488cad07b4 (patch) | |
tree | 2865703ae78ed397f24fa32fca642332ac7b3a49 /src/httpxmldownloader.h | |
parent | fileDownloader.* -> filedownloader.* (diff) | |
download | vmchooser2-ba3c5aa40274c11f9cefd4e9842be3488cad07b4.tar.gz vmchooser2-ba3c5aa40274c11f9cefd4e9842be3488cad07b4.tar.xz vmchooser2-ba3c5aa40274c11f9cefd4e9842be3488cad07b4.zip |
Fix indentation, cleanup, refactoring, deletions
* Remove unused methods for adding hostname and user to xml
* Avoid copying/(de)serializing XML a thousand times
* Fix Session::isValid() or rather make it a bit more usable
(although it's unused currently)
* baseDir is global, not per VSession, which doesn't make any
sense without the legacy approach of recusively loading
one xml file per entry
Diffstat (limited to 'src/httpxmldownloader.h')
-rw-r--r-- | src/httpxmldownloader.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/httpxmldownloader.h b/src/httpxmldownloader.h index 068a733..dbca643 100644 --- a/src/httpxmldownloader.h +++ b/src/httpxmldownloader.h @@ -8,12 +8,12 @@ #include <QNetworkReply> class HttpXmlDownloader : public QObject { - Q_OBJECT - QNetworkAccessManager* nam; + Q_OBJECT + QNetworkAccessManager* nam; public: - HttpXmlDownloader(); - QNetworkReply* makeRequest(const QString& xmlurl, const QString& locationIds = QString()); - void connectSlot(QObject* obj, const char* slot); + HttpXmlDownloader(); + QNetworkReply* makeRequest(const QString& xmlurl, const QString& locationIds = QString()); + void connectSlot(QObject* obj, const char* slot); }; #endif /* HTTPTEST_H_ */ |