diff options
Diffstat (limited to 'lib/jobs/generated/leaving.h')
-rw-r--r-- | lib/jobs/generated/leaving.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/jobs/generated/leaving.h b/lib/jobs/generated/leaving.h index 9bae2363..7e914dd1 100644 --- a/lib/jobs/generated/leaving.h +++ b/lib/jobs/generated/leaving.h @@ -15,6 +15,8 @@ namespace QMatrixClient class LeaveRoomJob : public BaseJob { public: + explicit LeaveRoomJob(const QString& roomId); + /** Construct a URL out of baseUrl and usual parameters passed to * LeaveRoomJob. This function can be used when * a URL for LeaveRoomJob is necessary but the job @@ -22,12 +24,13 @@ namespace QMatrixClient */ static QUrl makeRequestUrl(QUrl baseUrl, const QString& roomId); - explicit LeaveRoomJob(const QString& roomId); }; class ForgetRoomJob : public BaseJob { public: + explicit ForgetRoomJob(const QString& roomId); + /** Construct a URL out of baseUrl and usual parameters passed to * ForgetRoomJob. This function can be used when * a URL for ForgetRoomJob is necessary but the job @@ -35,6 +38,5 @@ namespace QMatrixClient */ static QUrl makeRequestUrl(QUrl baseUrl, const QString& roomId); - explicit ForgetRoomJob(const QString& roomId); }; } // namespace QMatrixClient |