aboutsummaryrefslogtreecommitdiff
path: root/lib/networkaccessmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/networkaccessmanager.h')
-rw-r--r--lib/networkaccessmanager.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/networkaccessmanager.h b/lib/networkaccessmanager.h
index efa41994..01b0599d 100644
--- a/lib/networkaccessmanager.h
+++ b/lib/networkaccessmanager.h
@@ -3,18 +3,16 @@
#pragma once
-#include <QtNetwork/QNetworkAccessManager>
+#include "util.h"
-#include <memory>
+#include <QtNetwork/QNetworkAccessManager>
namespace Quotient {
-class Room;
-class NetworkAccessManager : public QNetworkAccessManager {
+class QUOTIENT_API NetworkAccessManager : public QNetworkAccessManager {
Q_OBJECT
public:
NetworkAccessManager(QObject* parent = nullptr);
- ~NetworkAccessManager() override;
QList<QSslError> ignoredSslErrors() const;
void addIgnoredSslError(const QSslError& error);
@@ -32,6 +30,6 @@ private:
QIODevice* outgoingData = Q_NULLPTR) override;
class Private;
- std::unique_ptr<Private> d;
+ ImplPtr<Private> d;
};
} // namespace Quotient