aboutsummaryrefslogtreecommitdiff
path: root/jobs/joinroomjob.h
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/joinroomjob.h')
-rw-r--r--jobs/joinroomjob.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/jobs/joinroomjob.h b/jobs/joinroomjob.h
index a69843ed..7cf90fd5 100644
--- a/jobs/joinroomjob.h
+++ b/jobs/joinroomjob.h
@@ -22,21 +22,19 @@
namespace QMatrixClient
{
- class ConnectionData;
-
class JoinRoomJob: public BaseJob
{
public:
- JoinRoomJob(ConnectionData* data, QString roomAlias);
+ JoinRoomJob(const ConnectionData* data, const QString& roomAlias);
virtual ~JoinRoomJob();
QString roomId();
- protected:
- Status parseJson(const QJsonDocument& data) override;
+ protected:
+ Status parseJson(const QJsonDocument& data) override;
- private:
- class Private;
- Private* d;
+ private:
+ class Private;
+ Private* d;
};
-}
+} // namespace QMatrixClient