diff options
Diffstat (limited to 'jobs/generated')
-rw-r--r-- | jobs/generated/inviting.cpp | 5 | ||||
-rw-r--r-- | jobs/generated/inviting.h | 6 | ||||
-rw-r--r-- | jobs/generated/kicking.cpp | 5 | ||||
-rw-r--r-- | jobs/generated/kicking.h | 6 |
4 files changed, 8 insertions, 14 deletions
diff --git a/jobs/generated/inviting.cpp b/jobs/generated/inviting.cpp index 164a2b2b..95ba658d 100644 --- a/jobs/generated/inviting.cpp +++ b/jobs/generated/inviting.cpp @@ -5,8 +5,7 @@ #include "inviting.h" -#include "../converters.h" - +#include "jobs/converters.h" #include <QtCore/QStringBuilder> using namespace QMatrixClient; @@ -23,5 +22,3 @@ InviteUserJob::InviteUserJob(QString roomId, QString user_id) ) { } - - diff --git a/jobs/generated/inviting.h b/jobs/generated/inviting.h index 8cfc9118..ac0fd5fa 100644 --- a/jobs/generated/inviting.h +++ b/jobs/generated/inviting.h @@ -14,12 +14,12 @@ namespace QMatrixClient { // Operations - + class InviteUserJob : public BaseJob { public: - InviteUserJob(QString roomId, QString user_id); - + explicit InviteUserJob(QString roomId, QString user_id); + }; } // namespace QMatrixClient diff --git a/jobs/generated/kicking.cpp b/jobs/generated/kicking.cpp index 3e2ef5be..2e6797d6 100644 --- a/jobs/generated/kicking.cpp +++ b/jobs/generated/kicking.cpp @@ -5,8 +5,7 @@ #include "kicking.h" -#include "../converters.h" - +#include "jobs/converters.h" #include <QtCore/QStringBuilder> using namespace QMatrixClient; @@ -24,5 +23,3 @@ KickJob::KickJob(QString roomId, QString user_id, QString reason) ) { } - - diff --git a/jobs/generated/kicking.h b/jobs/generated/kicking.h index 6ef19fcd..658193d5 100644 --- a/jobs/generated/kicking.h +++ b/jobs/generated/kicking.h @@ -14,12 +14,12 @@ namespace QMatrixClient { // Operations - + class KickJob : public BaseJob { public: - KickJob(QString roomId, QString user_id, QString reason); - + explicit KickJob(QString roomId, QString user_id, QString reason = {}); + }; } // namespace QMatrixClient |