Engauge Digitizer 2
Loading...
Searching...
No Matches
NetworkClient.h
Go to the documentation of this file.
1/******************************************************************************************************
2 * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5 ******************************************************************************************************/
6
7#ifndef NETWORK_CLIENT_H
8#define NETWORK_CLIENT_H
9
10#include <QByteArray>
11#include <QNetworkAccessManager>
12
13class QNetworkReply;
14
16class NetworkClient : public QNetworkAccessManager
17{
19
20 public:
22 NetworkClient(QObject *parent);
23
25 void uploadErrorReport (const QString &report);
26
27 public slots:
28
31
32 private:
34
35 QString cleanXml (const QString &before);
36
37};
38
39#endif // NETWORK_CLIENT_H
const int INNER_RADIUS_MIN
Client for interacting with Engauge server.
void uploadErrorReport(const QString &report)
Upload the error report asynchronously.
void slotFinished(QNetworkReply *)
Cleanup after response is returned.