aboutsummaryrefslogtreecommitdiffstats
path: root/include/server/BaseAPI.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/server/BaseAPI.h')
-rw-r--r--include/server/BaseAPI.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/server/BaseAPI.h b/include/server/BaseAPI.h
index 4843413d..36836d81 100644
--- a/include/server/BaseAPI.h
+++ b/include/server/BaseAPI.h
@@ -30,7 +30,7 @@
#include "rapidjson/document.h"
-class BaseAPI : QObject {
+class BaseAPI : public QObject {
Q_OBJECT
public:
@@ -52,12 +52,12 @@ private:
QNetworkRequest request;
- bool good = false;
-
QNetworkReply *send_json_data();
protected:
+ bool good = false;
+
rapidjson::Document document;
const ComUtils &getUtils() { return *utils; };