Engauge Digitizer
2
Network
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
13
class
QNetworkReply;
14
16
class
NetworkClient
:
public
QNetworkAccessManager
17
{
18
Q_OBJECT;
19
20
public
:
22
NetworkClient
(QObject *parent);
23
25
void
uploadErrorReport
(
const
QString &report);
26
27
public
slots:
28
30
void
slotFinished
(QNetworkReply *);
31
32
private
:
33
NetworkClient
();
34
35
QString cleanXml (
const
QString &before);
36
37
};
38
39
#endif // NETWORK_CLIENT_H
NetworkClient::uploadErrorReport
void uploadErrorReport(const QString &report)
Upload the error report asynchronously.
Definition:
NetworkClient.cpp:45
NetworkClient
Client for interacting with Engauge server.
Definition:
NetworkClient.h:15
NetworkClient::slotFinished
void slotFinished(QNetworkReply *)
Cleanup after response is returned.
Definition:
NetworkClient.cpp:40
Generated on Sat Jan 4 2020 12:00:00 for Engauge Digitizer by
1.8.16