aboutsummaryrefslogtreecommitdiff
path: root/connectiondata.h
diff options
context:
space:
mode:
Diffstat (limited to 'connectiondata.h')
-rw-r--r--connectiondata.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/connectiondata.h b/connectiondata.h
index 0eadab80..7b0097d6 100644
--- a/connectiondata.h
+++ b/connectiondata.h
@@ -27,7 +27,7 @@ namespace QMatrixClient
class ConnectionData
{
public:
- ConnectionData(QUrl baseUrl);
+ explicit ConnectionData(QUrl baseUrl);
virtual ~ConnectionData();
QString accessToken() const;
@@ -41,8 +41,10 @@ namespace QMatrixClient
QString lastEvent() const;
void setLastEvent( QString identifier );
+ QByteArray generateTxnId() const;
+
private:
- class Private;
+ struct Private;
Private* d;
};
-}
+} // namespace QMatrixClient