aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/room_upgrades.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-03 17:29:52 +0900
committerGitHub <noreply@github.com>2019-08-03 17:29:52 +0900
commit66e116b7b1e848e80577a0229c8995db0a54932e (patch)
tree763340439a0f4034e9c829d76cb1ffe9766b83c5 /lib/csapi/room_upgrades.h
parent5b236dfe895c7766002559570aa29c9033009228 (diff)
parentc05ade838f0fce81f2bbe80a3295618a8a26ff52 (diff)
downloadlibquotient-66e116b7b1e848e80577a0229c8995db0a54932e.tar.gz
libquotient-66e116b7b1e848e80577a0229c8995db0a54932e.zip
Merge pull request #295 from marcdeop/140_impose_coding_standard
140 impose coding standard
Diffstat (limited to 'lib/csapi/room_upgrades.h')
-rw-r--r--lib/csapi/room_upgrades.h63
1 files changed, 33 insertions, 30 deletions
diff --git a/lib/csapi/room_upgrades.h b/lib/csapi/room_upgrades.h
index 4da5941a..94520aca 100644
--- a/lib/csapi/room_upgrades.h
+++ b/lib/csapi/room_upgrades.h
@@ -6,36 +6,39 @@
#include "jobs/basejob.h"
-
namespace QMatrixClient
{
- // Operations
-
- /// Upgrades a room to a new room version.
- ///
- /// Upgrades the given room to a particular room version.
- class UpgradeRoomJob : public BaseJob
- {
- public:
- /*! Upgrades a room to a new room version.
- * \param roomId
- * The ID of the room to upgrade.
- * \param newVersion
- * The new version for the room.
- */
- explicit UpgradeRoomJob(const QString& roomId, const QString& newVersion);
- ~UpgradeRoomJob() override;
-
- // Result properties
-
- /// The ID of the new room.
- const QString& replacementRoom() const;
-
- protected:
- Status parseJson(const QJsonDocument& data) override;
-
- private:
- class Private;
- QScopedPointer<Private> d;
- };
+
+// Operations
+
+/// Upgrades a room to a new room version.
+/*!
+ * Upgrades the given room to a particular room version.
+ */
+class UpgradeRoomJob : public BaseJob
+{
+public:
+ /*! Upgrades a room to a new room version.
+ * \param roomId
+ * The ID of the room to upgrade.
+ * \param newVersion
+ * The new version for the room.
+ */
+ explicit UpgradeRoomJob(const QString& roomId, const QString& newVersion);
+
+ ~UpgradeRoomJob() override;
+
+ // Result properties
+
+ /// The ID of the new room.
+ const QString& replacementRoom() const;
+
+protected:
+ Status parseJson(const QJsonDocument& data) override;
+
+private:
+ class Private;
+ QScopedPointer<Private> d;
+};
+
} // namespace QMatrixClient