aboutsummaryrefslogtreecommitdiff
path: root/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'connection.h')
-rw-r--r--connection.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/connection.h b/connection.h
index eccde170..8dda2bbf 100644
--- a/connection.h
+++ b/connection.h
@@ -26,15 +26,13 @@
#include <QtCore/QSize>
#include <functional>
-
-class QDnsLookup;
+#include <memory>
namespace QMatrixClient
{
class Room;
class User;
class RoomEvent;
- class ConnectionPrivate;
class ConnectionData;
class SyncJob;
@@ -217,7 +215,7 @@ namespace QMatrixClient
void reconnected(); //< Unused; use connected() instead
void loggedOut();
void loginError(QString error);
- void networkError(size_t nextAttempt, int inMilliseconds);
+ void networkError(int retriesTaken, int inMilliseconds);
void syncDone();
void syncError(QString error);
@@ -307,7 +305,7 @@ namespace QMatrixClient
private:
class Private;
- Private* d;
+ std::unique_ptr<Private> d;
/**
* A single entry for functions that need to check whether the