[network/ruqola] src/rocketchatrestapi-qt: coding style
Laurent Montel <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 57386107545b790f0d43811b45f8722ac4b94c55 by Laurent Montel.
Committed on 02/08/2026 at 12:51.
Pushed by mlaurent into branch 'master'.
coding style
M +1 -1 src/rocketchatrestapi-qt/autotests/sendinvitationemailjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/setavatarjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/setuseractivestatusjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/setuserpublicandprivatekeysjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/teamaddroomsjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/teamremovemembersjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/teamremoveroomjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/translatesavesettingsjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/twitterauthjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/unfollowmessagejobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/updateadminsettingsjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/updategroupkeyjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/updatemessagejobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/useinvitetokenjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/user2fadisableemailjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/user2faenableemailjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/user2fasendemailcodejobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/userinfojobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/userrequestdatadownloadjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/usersautocompletejobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/userscreatejobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/userslistbystatusjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/userslistjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/userslogoutotherclientsjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/userspresencejobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/userssendwelcomeemailjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/usersupdatejobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/usersupdateownbasicinfojobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/validateinvitetokenjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/videoconferencecanceljobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/videoconferencecapabilitiesjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/videoconferenceinfojobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/videoconferencejoinjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/videoconferencelistjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/videoconferenceprovidersjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/autotests/videoconferencestartjobtest.cpp
M +1 -1 src/rocketchatrestapi-qt/channels/changechanneldescriptionjob.cpp
M +1 -1 src/rocketchatrestapi-qt/channels/changechannelreadonlyjob.cpp
M +1 -1 src/rocketchatrestapi-qt/channels/channelsmoderatorsjob.cpp
M +1 -1 src/rocketchatrestapi-qt/e2e/fetchmykeysjob.cpp
M +1 -1 src/rocketchatrestapi-qt/e2e/rejectsuggestedgroupkeyjob.cpp
M +1 -1 src/rocketchatrestapi-qt/e2e/resetowne2ekeyjob.cpp
M +1 -1 src/rocketchatrestapi-qt/groups/changegroupsdescriptionjob.cpp
M +1 -1 src/rocketchatrestapi-qt/groups/changegroupstopicjob.cpp
M +1 -1 src/rocketchatrestapi-qt/groups/getgrouprolesjob.cpp
M +1 -1 src/rocketchatrestapi-qt/groups/groupaddleaderjob.cpp
M +1 -1 src/rocketchatrestapi-qt/groups/groupaddmoderatorjob.cpp
M +1 -1 src/rocketchatrestapi-qt/groups/groupaddownerjob.cpp
M +1 -1 src/rocketchatrestapi-qt/groups/groupopenjob.cpp
M +1 -1 src/rocketchatrestapi-qt/misc/directoryjob.cpp
M +1 -1 src/rocketchatrestapi-qt/misc/listoauthappsjob.cpp
M +1 -1 src/rocketchatrestapi-qt/misc/oauthappsjob.cpp
M +1 -1 src/rocketchatrestapi-qt/misc/oauthappsupdatejob.cpp
M +1 -1 src/rocketchatrestapi-qt/misc/owninfojob.cpp
M +1 -1 src/rocketchatrestapi-qt/misc/roleslistjob.cpp
M +1 -1 src/rocketchatrestapi-qt/misc/settingsoauthjob.cpp
M +1 -1 src/rocketchatrestapi-qt/misc/statisticsjob.cpp
M +1 -1 src/rocketchatrestapi-qt/queryparameters.cpp
M +1 -1 src/rocketchatrestapi-qt/restapimethod.cpp
M +1 -1 src/rocketchatrestapi-qt/rooms/savenotificationjob.cpp
https://invent.kde.org/network/ruqola/-/commit/57386107545b790f0d43811b45f8722ac4b94c55
diff --git a/src/rocketchatrestapi-qt/autotests/sendinvitationemailjobtest.cpp b/src/rocketchatrestapi-qt/autotests/sendinvitationemailjobtest.cpp
index fae2d87100..028625b7fb 100644
--- a/src/rocketchatrestapi-qt/autotests/sendinvitationemailjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/sendinvitationemailjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "sendinvitationemailjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "invite/sendinvitationemailjob.h"
#include "restapimethod.h"
@@ -16,6 +15,7 @@ using namespace Qt::Literals::StringLiterals;
QTEST_GUILESS_MAIN(SendInvitationEmailJobTest)
using namespace RocketChatRestApi;
+using namespace Qt::Literals::StringLiterals;
SendInvitationEmailJobTest::SendInvitationEmailJobTest(QObject *parent)
: QObject(parent)
{
diff --git a/src/rocketchatrestapi-qt/autotests/setavatarjobtest.cpp b/src/rocketchatrestapi-qt/autotests/setavatarjobtest.cpp
index f2f6590728..f2b276a7c6 100644
--- a/src/rocketchatrestapi-qt/autotests/setavatarjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/setavatarjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "setavatarjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "ruqola_restapi_helper.h"
@@ -15,6 +14,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QTest>
QTEST_GUILESS_MAIN(SetAvatarJobTest)
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
SetAvatarJobTest::SetAvatarJobTest(QObject *parent)
: QObject(parent)
diff --git a/src/rocketchatrestapi-qt/autotests/setuseractivestatusjobtest.cpp b/src/rocketchatrestapi-qt/autotests/setuseractivestatusjobtest.cpp
index d037ecb6f9..264842941c 100644
--- a/src/rocketchatrestapi-qt/autotests/setuseractivestatusjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/setuseractivestatusjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "setuseractivestatusjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "ruqola_restapi_helper.h"
@@ -16,6 +15,7 @@ using namespace Qt::Literals::StringLiterals;
QTEST_GUILESS_MAIN(SetUserActiveStatusJobTest)
using namespace RocketChatRestApi;
+using namespace Qt::Literals::StringLiterals;
SetUserActiveStatusJobTest::SetUserActiveStatusJobTest(QObject *parent)
: QObject(parent)
{
diff --git a/src/rocketchatrestapi-qt/autotests/setuserpublicandprivatekeysjobtest.cpp b/src/rocketchatrestapi-qt/autotests/setuserpublicandprivatekeysjobtest.cpp
index b1e2161049..5c73635337 100644
--- a/src/rocketchatrestapi-qt/autotests/setuserpublicandprivatekeysjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/setuserpublicandprivatekeysjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "setuserpublicandprivatekeysjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "e2e/setuserpublicandprivatekeysjob.h"
#include "restapimethod.h"
@@ -15,6 +14,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QTest>
QTEST_GUILESS_MAIN(SetUserPublicAndPrivateKeysJobTest)
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
SetUserPublicAndPrivateKeysJobTest::SetUserPublicAndPrivateKeysJobTest(QObject *parent)
: QObject(parent)
diff --git a/src/rocketchatrestapi-qt/autotests/teamaddroomsjobtest.cpp b/src/rocketchatrestapi-qt/autotests/teamaddroomsjobtest.cpp
index b47bfe1c2b..6ed8810bb5 100644
--- a/src/rocketchatrestapi-qt/autotests/teamaddroomsjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/teamaddroomsjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "teamaddroomsjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "ruqola_restapi_helper.h"
@@ -15,6 +14,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QTest>
QTEST_GUILESS_MAIN(TeamAddRoomsJobTest)
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
TeamAddRoomsJobTest::TeamAddRoomsJobTest(QObject *parent)
: QObject(parent)
diff --git a/src/rocketchatrestapi-qt/autotests/teamremovemembersjobtest.cpp b/src/rocketchatrestapi-qt/autotests/teamremovemembersjobtest.cpp
index 7e715da125..81bdc00d31 100644
--- a/src/rocketchatrestapi-qt/autotests/teamremovemembersjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/teamremovemembersjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "teamremovemembersjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "ruqola_restapi_helper.h"
@@ -16,6 +15,7 @@ using namespace Qt::Literals::StringLiterals;
QTEST_GUILESS_MAIN(TeamRemoveMembersJobTest)
using namespace RocketChatRestApi;
+using namespace Qt::Literals::StringLiterals;
TeamRemoveMembersJobTest::TeamRemoveMembersJobTest(QObject *parent)
: QObject(parent)
{
diff --git a/src/rocketchatrestapi-qt/autotests/teamremoveroomjobtest.cpp b/src/rocketchatrestapi-qt/autotests/teamremoveroomjobtest.cpp
index 14d5b960eb..bb0dcc92c2 100644
--- a/src/rocketchatrestapi-qt/autotests/teamremoveroomjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/teamremoveroomjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "teamremoveroomjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "ruqola_restapi_helper.h"
@@ -16,6 +15,7 @@ using namespace Qt::Literals::StringLiterals;
QTEST_GUILESS_MAIN(TeamRemoveRoomJobTest)
using namespace RocketChatRestApi;
+using namespace Qt::Literals::StringLiterals;
TeamRemoveRoomJobTest::TeamRemoveRoomJobTest(QObject *parent)
: QObject(parent)
{
diff --git a/src/rocketchatrestapi-qt/autotests/translatesavesettingsjobtest.cpp b/src/rocketchatrestapi-qt/autotests/translatesavesettingsjobtest.cpp
index 2b12849291..41e5cbf0e5 100644
--- a/src/rocketchatrestapi-qt/autotests/translatesavesettingsjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/translatesavesettingsjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "translatesavesettingsjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "autotranslate/translatesavesettingsjob.h"
#include "restapimethod.h"
@@ -15,6 +14,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QTest>
QTEST_GUILESS_MAIN(TranslateSaveSettingsJobTest)
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
TranslateSaveSettingsJobTest::TranslateSaveSettingsJobTest(QObject *parent)
: QObject(parent)
diff --git a/src/rocketchatrestapi-qt/autotests/twitterauthjobtest.cpp b/src/rocketchatrestapi-qt/autotests/twitterauthjobtest.cpp
index ce20c26e99..6f29506cce 100644
--- a/src/rocketchatrestapi-qt/autotests/twitterauthjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/twitterauthjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "twitterauthjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "authentication/twitterauthjob.h"
#include "restapimethod.h"
@@ -15,6 +14,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QTest>
QTEST_GUILESS_MAIN(TwitterAuthJobTest)
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
TwitterAuthJobTest::TwitterAuthJobTest(QObject *parent)
: QObject(parent)
diff --git a/src/rocketchatrestapi-qt/autotests/unfollowmessagejobtest.cpp b/src/rocketchatrestapi-qt/autotests/unfollowmessagejobtest.cpp
index f6d957bdb5..3657980cd5 100644
--- a/src/rocketchatrestapi-qt/autotests/unfollowmessagejobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/unfollowmessagejobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "unfollowmessagejobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "chat/unfollowmessagejob.h"
#include "restapimethod.h"
@@ -15,6 +14,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QTest>
QTEST_GUILESS_MAIN(UnFollowMessageJobTest)
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
UnFollowMessageJobTest::UnFollowMessageJobTest(QObject *parent)
: QObject(parent)
diff --git a/src/rocketchatrestapi-qt/autotests/updateadminsettingsjobtest.cpp b/src/rocketchatrestapi-qt/autotests/updateadminsettingsjobtest.cpp
index 81c41e0578..23c64ad97c 100644
--- a/src/rocketchatrestapi-qt/autotests/updateadminsettingsjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/updateadminsettingsjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "updateadminsettingsjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "ruqola_restapi_helper.h"
@@ -15,6 +14,7 @@ using namespace Qt::Literals::StringLiterals;
QTEST_GUILESS_MAIN(UpdateAdminSettingsJobTest)
using namespace RocketChatRestApi;
+using namespace Qt::Literals::StringLiterals;
UpdateAdminSettingsJobTest::UpdateAdminSettingsJobTest(QObject *parent)
: QObject(parent)
{
diff --git a/src/rocketchatrestapi-qt/autotests/updategroupkeyjobtest.cpp b/src/rocketchatrestapi-qt/autotests/updategroupkeyjobtest.cpp
index 41244e6d3a..58146660d6 100644
--- a/src/rocketchatrestapi-qt/autotests/updategroupkeyjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/updategroupkeyjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "updategroupkeyjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "e2e/updategroupkeyjob.h"
#include "restapimethod.h"
@@ -15,6 +14,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QTest>
QTEST_GUILESS_MAIN(UpdateGroupKeyJobTest)
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
UpdateGroupKeyJobTest::UpdateGroupKeyJobTest(QObject *parent)
: QObject(parent)
diff --git a/src/rocketchatrestapi-qt/autotests/updatemessagejobtest.cpp b/src/rocketchatrestapi-qt/autotests/updatemessagejobtest.cpp
index 10640b10ea..92b06a578c 100644
--- a/src/rocketchatrestapi-qt/autotests/updatemessagejobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/updatemessagejobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "updatemessagejobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "chat/updatemessagejob.h"
#include "restapimethod.h"
@@ -15,6 +14,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QTest>
QTEST_GUILESS_MAIN(UpdateMessageJobTest)
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
UpdateMessageJobTest::UpdateMessageJobTest(QObject *parent)
: QObject(parent)
diff --git a/src/rocketchatrestapi-qt/autotests/useinvitetokenjobtest.cpp b/src/rocketchatrestapi-qt/autotests/useinvitetokenjobtest.cpp
index 6766d3c2d0..f8be8cd1f2 100644
--- a/src/rocketchatrestapi-qt/autotests/useinvitetokenjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/useinvitetokenjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "useinvitetokenjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "invite/useinvitetokenjob.h"
#include "restapimethod.h"
@@ -15,6 +14,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QTest>
QTEST_GUILESS_MAIN(UseInviteTokenJobTest)
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
UseInviteTokenJobTest::UseInviteTokenJobTest(QObject *parent)
: QObject(parent)
diff --git a/src/rocketchatrestapi-qt/autotests/user2fadisableemailjobtest.cpp b/src/rocketchatrestapi-qt/autotests/user2fadisableemailjobtest.cpp
index f7c900e3bb..53b7b88a75 100644
--- a/src/rocketchatrestapi-qt/autotests/user2fadisableemailjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/user2fadisableemailjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "user2fadisableemailjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "2fa/user2fadisableemailjob.h"
#include "restapimethod.h"
@@ -15,6 +14,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QTest>
QTEST_GUILESS_MAIN(User2FAEnableEmailJobTest)
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
User2FAEnableEmailJobTest::User2FAEnableEmailJobTest(QObject *parent)
: QObject(parent)
diff --git a/src/rocketchatrestapi-qt/autotests/user2faenableemailjobtest.cpp b/src/rocketchatrestapi-qt/autotests/user2faenableemailjobtest.cpp
index c25f5cf5d2..402f1f70fa 100644
--- a/src/rocketchatrestapi-qt/autotests/user2faenableemailjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/user2faenableemailjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "user2faenableemailjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "2fa/user2faenableemailjob.h"
#include "restapimethod.h"
@@ -16,6 +15,7 @@ using namespace Qt::Literals::StringLiterals;
QTEST_GUILESS_MAIN(User2FAEnableEmailJobTest)
using namespace RocketChatRestApi;
+using namespace Qt::Literals::StringLiterals;
User2FAEnableEmailJobTest::User2FAEnableEmailJobTest(QObject *parent)
: QObject(parent)
{
diff --git a/src/rocketchatrestapi-qt/autotests/user2fasendemailcodejobtest.cpp b/src/rocketchatrestapi-qt/autotests/user2fasendemailcodejobtest.cpp
index a8128a16e2..619f8b56ee 100644
--- a/src/rocketchatrestapi-qt/autotests/user2fasendemailcodejobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/user2fasendemailcodejobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "user2fasendemailcodejobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "2fa/user2fasendemailcodejob.h"
#include "restapimethod.h"
@@ -15,6 +14,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QTest>
QTEST_GUILESS_MAIN(User2FASendEmailCodeJobTest)
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
User2FASendEmailCodeJobTest::User2FASendEmailCodeJobTest(QObject *parent)
: QObject(parent)
diff --git a/src/rocketchatrestapi-qt/autotests/userinfojobtest.cpp b/src/rocketchatrestapi-qt/autotests/userinfojobtest.cpp
index 1e8ec49a8b..53bf984e16 100644
--- a/src/rocketchatrestapi-qt/autotests/userinfojobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/userinfojobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "userinfojobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "ruqola_restapi_helper.h"
@@ -15,6 +14,7 @@ using namespace Qt::Literals::StringLiterals;
QTEST_GUILESS_MAIN(UserInfoJobTest)
using namespace RocketChatRestApi;
+using namespace Qt::Literals::StringLiterals;
UserInfoJobTest::UserInfoJobTest(QObject *parent)
: QObject(parent)
{
diff --git a/src/rocketchatrestapi-qt/autotests/userrequestdatadownloadjobtest.cpp b/src/rocketchatrestapi-qt/autotests/userrequestdatadownloadjobtest.cpp
index 2bc25a0fa2..0cd119fb99 100644
--- a/src/rocketchatrestapi-qt/autotests/userrequestdatadownloadjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/userrequestdatadownloadjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "userrequestdatadownloadjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "users/userrequestdatadownloadjob.h"
@@ -13,6 +12,7 @@ using namespace Qt::Literals::StringLiterals;
QTEST_GUILESS_MAIN(UserRequestDataDownloadJobTest)
using namespace RocketChatRestApi;
+using namespace Qt::Literals::StringLiterals;
UserRequestDataDownloadJobTest::UserRequestDataDownloadJobTest(QObject *parent)
: QObject(parent)
{
diff --git a/src/rocketchatrestapi-qt/autotests/usersautocompletejobtest.cpp b/src/rocketchatrestapi-qt/autotests/usersautocompletejobtest.cpp
index a9e3afd684..7835ce1621 100644
--- a/src/rocketchatrestapi-qt/autotests/usersautocompletejobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/usersautocompletejobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "usersautocompletejobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "ruqola_restapi_helper.h"
@@ -14,6 +13,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QTest>
QTEST_GUILESS_MAIN(UsersAutocompleteJobTest)
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
UsersAutocompleteJobTest::UsersAutocompleteJobTest(QObject *parent)
: QObject(parent)
diff --git a/src/rocketchatrestapi-qt/autotests/userscreatejobtest.cpp b/src/rocketchatrestapi-qt/autotests/userscreatejobtest.cpp
index 2021c9b622..42be62b2ac 100644
--- a/src/rocketchatrestapi-qt/autotests/userscreatejobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/userscreatejobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "userscreatejobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "ruqola_restapi_helper.h"
@@ -15,6 +14,7 @@ using namespace Qt::Literals::StringLiterals;
QTEST_GUILESS_MAIN(UsersCreateJobTest)
using namespace RocketChatRestApi;
+using namespace Qt::Literals::StringLiterals;
UsersCreateJobTest::UsersCreateJobTest(QObject *parent)
: QObject(parent)
{
diff --git a/src/rocketchatrestapi-qt/autotests/userslistbystatusjobtest.cpp b/src/rocketchatrestapi-qt/autotests/userslistbystatusjobtest.cpp
index 06f5c90ef2..77267cc2d7 100644
--- a/src/rocketchatrestapi-qt/autotests/userslistbystatusjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/userslistbystatusjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "userslistbystatusjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "ruqola_restapi_helper.h"
@@ -14,6 +13,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QTest>
QTEST_GUILESS_MAIN(UsersListByStatusJobTest)
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
UsersListByStatusJobTest::UsersListByStatusJobTest(QObject *parent)
: QObject(parent)
diff --git a/src/rocketchatrestapi-qt/autotests/userslistjobtest.cpp b/src/rocketchatrestapi-qt/autotests/userslistjobtest.cpp
index 2b33fddf56..055a89a60d 100644
--- a/src/rocketchatrestapi-qt/autotests/userslistjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/userslistjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "userslistjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "ruqola_restapi_helper.h"
@@ -14,6 +13,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QTest>
QTEST_GUILESS_MAIN(UsersListJobTest)
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
UsersListJobTest::UsersListJobTest(QObject *parent)
: QObject(parent)
diff --git a/src/rocketchatrestapi-qt/autotests/userslogoutotherclientsjobtest.cpp b/src/rocketchatrestapi-qt/autotests/userslogoutotherclientsjobtest.cpp
index 5a5dd35ec1..10a13aba48 100644
--- a/src/rocketchatrestapi-qt/autotests/userslogoutotherclientsjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/userslogoutotherclientsjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "userslogoutotherclientsjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "users/userslogoutotherclientsjob.h"
@@ -13,6 +12,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QTest>
QTEST_GUILESS_MAIN(UsersLogoutOtherClientsJobTest)
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
UsersLogoutOtherClientsJobTest::UsersLogoutOtherClientsJobTest(QObject *parent)
: QObject(parent)
diff --git a/src/rocketchatrestapi-qt/autotests/userspresencejobtest.cpp b/src/rocketchatrestapi-qt/autotests/userspresencejobtest.cpp
index 000cb154c4..b21fdf8bda 100644
--- a/src/rocketchatrestapi-qt/autotests/userspresencejobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/userspresencejobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "userspresencejobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "ruqola_restapi_helper.h"
@@ -14,6 +13,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QTest>
QTEST_GUILESS_MAIN(UsersPresenceJobTest)
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
UsersPresenceJobTest::UsersPresenceJobTest(QObject *parent)
: QObject(parent)
diff --git a/src/rocketchatrestapi-qt/autotests/userssendwelcomeemailjobtest.cpp b/src/rocketchatrestapi-qt/autotests/userssendwelcomeemailjobtest.cpp
index 8cff9a2199..aa7a55fa34 100644
--- a/src/rocketchatrestapi-qt/autotests/userssendwelcomeemailjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/userssendwelcomeemailjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "userssendwelcomeemailjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "ruqola_restapi_helper.h"
@@ -15,6 +14,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QTest>
QTEST_GUILESS_MAIN(UsersSendWelcomeEmailJobTest)
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
UsersSendWelcomeEmailJobTest::UsersSendWelcomeEmailJobTest(QObject *parent)
: QObject(parent)
diff --git a/src/rocketchatrestapi-qt/autotests/usersupdatejobtest.cpp b/src/rocketchatrestapi-qt/autotests/usersupdatejobtest.cpp
index 6e9da2b549..f0799de2eb 100644
--- a/src/rocketchatrestapi-qt/autotests/usersupdatejobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/usersupdatejobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "usersupdatejobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "ruqola_restapi_helper.h"
@@ -15,6 +14,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QTest>
QTEST_GUILESS_MAIN(UsersUpdateJobTest)
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
UsersUpdateJobTest::UsersUpdateJobTest(QObject *parent)
: QObject(parent)
diff --git a/src/rocketchatrestapi-qt/autotests/usersupdateownbasicinfojobtest.cpp b/src/rocketchatrestapi-qt/autotests/usersupdateownbasicinfojobtest.cpp
index 51e012bfb2..7078df2458 100644
--- a/src/rocketchatrestapi-qt/autotests/usersupdateownbasicinfojobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/usersupdateownbasicinfojobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "usersupdateownbasicinfojobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "ruqola_restapi_helper.h"
@@ -15,6 +14,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QTest>
QTEST_GUILESS_MAIN(UsersUpdateOwnBasicInfoJobTest)
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
UsersUpdateOwnBasicInfoJobTest::UsersUpdateOwnBasicInfoJobTest(QObject *parent)
: QObject(parent)
diff --git a/src/rocketchatrestapi-qt/autotests/validateinvitetokenjobtest.cpp b/src/rocketchatrestapi-qt/autotests/validateinvitetokenjobtest.cpp
index 1614beb8e1..4422b25fee 100644
--- a/src/rocketchatrestapi-qt/autotests/validateinvitetokenjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/validateinvitetokenjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "validateinvitetokenjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "invite/validateinvitetokenjob.h"
#include "restapimethod.h"
@@ -15,6 +14,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QTest>
QTEST_GUILESS_MAIN(ValidateInviteTokenJobTest)
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
ValidateInviteTokenJobTest::ValidateInviteTokenJobTest(QObject *parent)
: QObject(parent)
diff --git a/src/rocketchatrestapi-qt/autotests/videoconferencecanceljobtest.cpp b/src/rocketchatrestapi-qt/autotests/videoconferencecanceljobtest.cpp
index cc9ab0bc5a..588eec9c07 100644
--- a/src/rocketchatrestapi-qt/autotests/videoconferencecanceljobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/videoconferencecanceljobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "videoconferencecanceljobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "ruqola_restapi_helper.h"
@@ -14,6 +13,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QJsonDocument>
#include <QTest>
+using namespace Qt::Literals::StringLiterals;
QTEST_GUILESS_MAIN(VideoConferenceCancelJobTest)
using namespace RocketChatRestApi;
VideoConferenceCancelJobTest::VideoConferenceCancelJobTest(QObject *parent)
diff --git a/src/rocketchatrestapi-qt/autotests/videoconferencecapabilitiesjobtest.cpp b/src/rocketchatrestapi-qt/autotests/videoconferencecapabilitiesjobtest.cpp
index c5b63e2521..3045e2c617 100644
--- a/src/rocketchatrestapi-qt/autotests/videoconferencecapabilitiesjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/videoconferencecapabilitiesjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "videoconferencecapabilitiesjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "ruqola_restapi_helper.h"
@@ -13,6 +12,7 @@ using namespace Qt::Literals::StringLiterals;
#include "video-conference/videoconferencecapabilitiesjob.h"
#include <QTest>
+using namespace Qt::Literals::StringLiterals;
QTEST_GUILESS_MAIN(VideoConferenceCapabilitiesJobTest)
using namespace RocketChatRestApi;
VideoConferenceCapabilitiesJobTest::VideoConferenceCapabilitiesJobTest(QObject *parent)
diff --git a/src/rocketchatrestapi-qt/autotests/videoconferenceinfojobtest.cpp b/src/rocketchatrestapi-qt/autotests/videoconferenceinfojobtest.cpp
index 96687f8a75..76320f5227 100644
--- a/src/rocketchatrestapi-qt/autotests/videoconferenceinfojobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/videoconferenceinfojobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "videoconferenceinfojobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "ruqola_restapi_helper.h"
@@ -13,6 +12,7 @@ using namespace Qt::Literals::StringLiterals;
#include "video-conference/videoconferenceinfojob.h"
#include <QTest>
+using namespace Qt::Literals::StringLiterals;
QTEST_GUILESS_MAIN(VideoConferenceInfoJobTest)
using namespace RocketChatRestApi;
VideoConferenceInfoJobTest::VideoConferenceInfoJobTest(QObject *parent)
diff --git a/src/rocketchatrestapi-qt/autotests/videoconferencejoinjobtest.cpp b/src/rocketchatrestapi-qt/autotests/videoconferencejoinjobtest.cpp
index a2766c4b64..58d5fae037 100644
--- a/src/rocketchatrestapi-qt/autotests/videoconferencejoinjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/videoconferencejoinjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "videoconferencejoinjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "ruqola_restapi_helper.h"
@@ -14,6 +13,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QJsonDocument>
#include <QTest>
+using namespace Qt::Literals::StringLiterals;
QTEST_GUILESS_MAIN(VideoConferenceJoinJobTest)
using namespace RocketChatRestApi;
VideoConferenceJoinJobTest::VideoConferenceJoinJobTest(QObject *parent)
diff --git a/src/rocketchatrestapi-qt/autotests/videoconferencelistjobtest.cpp b/src/rocketchatrestapi-qt/autotests/videoconferencelistjobtest.cpp
index 855686a2ab..69dfe08020 100644
--- a/src/rocketchatrestapi-qt/autotests/videoconferencelistjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/videoconferencelistjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "videoconferencelistjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "ruqola_restapi_helper.h"
@@ -13,6 +12,7 @@ using namespace Qt::Literals::StringLiterals;
#include "video-conference/videoconferencelistjob.h"
#include <QTest>
+using namespace Qt::Literals::StringLiterals;
QTEST_GUILESS_MAIN(VideoConferenceListJobTest)
using namespace RocketChatRestApi;
VideoConferenceListJobTest::VideoConferenceListJobTest(QObject *parent)
diff --git a/src/rocketchatrestapi-qt/autotests/videoconferenceprovidersjobtest.cpp b/src/rocketchatrestapi-qt/autotests/videoconferenceprovidersjobtest.cpp
index 4cf838acc4..78c78440b9 100644
--- a/src/rocketchatrestapi-qt/autotests/videoconferenceprovidersjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/videoconferenceprovidersjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "videoconferenceprovidersjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "ruqola_restapi_helper.h"
@@ -13,6 +12,7 @@ using namespace Qt::Literals::StringLiterals;
#include "video-conference/videoconferenceprovidersjob.h"
#include <QTest>
+using namespace Qt::Literals::StringLiterals;
QTEST_GUILESS_MAIN(VideoConferenceProvidersJobTest)
using namespace RocketChatRestApi;
VideoConferenceProvidersJobTest::VideoConferenceProvidersJobTest(QObject *parent)
diff --git a/src/rocketchatrestapi-qt/autotests/videoconferencestartjobtest.cpp b/src/rocketchatrestapi-qt/autotests/videoconferencestartjobtest.cpp
index 28e44c4d73..bfe580f00f 100644
--- a/src/rocketchatrestapi-qt/autotests/videoconferencestartjobtest.cpp
+++ b/src/rocketchatrestapi-qt/autotests/videoconferencestartjobtest.cpp
@@ -5,7 +5,6 @@
*/
#include "videoconferencestartjobtest.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "ruqola_restapi_helper.h"
@@ -14,6 +13,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QJsonDocument>
#include <QTest>
+using namespace Qt::Literals::StringLiterals;
QTEST_GUILESS_MAIN(VideoConferenceStartJobTest)
using namespace RocketChatRestApi;
VideoConferenceStartJobTest::VideoConferenceStartJobTest(QObject *parent)
diff --git a/src/rocketchatrestapi-qt/channels/changechanneldescriptionjob.cpp b/src/rocketchatrestapi-qt/channels/changechanneldescriptionjob.cpp
index 8f76ac8701..a6eeede914 100644
--- a/src/rocketchatrestapi-qt/channels/changechanneldescriptionjob.cpp
+++ b/src/rocketchatrestapi-qt/channels/changechanneldescriptionjob.cpp
@@ -5,7 +5,6 @@
*/
#include "changechanneldescriptionjob.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "rocketchatqtrestapi_debug.h"
@@ -13,6 +12,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QJsonObject>
#include <QNetworkRequest>
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
ChangeChannelDescriptionJob::ChangeChannelDescriptionJob(QObject *parent)
: RestApiAbstractJob(parent)
diff --git a/src/rocketchatrestapi-qt/channels/changechannelreadonlyjob.cpp b/src/rocketchatrestapi-qt/channels/changechannelreadonlyjob.cpp
index 323ac125d5..c4979d40dd 100644
--- a/src/rocketchatrestapi-qt/channels/changechannelreadonlyjob.cpp
+++ b/src/rocketchatrestapi-qt/channels/changechannelreadonlyjob.cpp
@@ -5,7 +5,6 @@
*/
#include "changechannelreadonlyjob.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "rocketchatqtrestapi_debug.h"
@@ -13,6 +12,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QJsonObject>
#include <QNetworkRequest>
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
ChangeChannelReadonlyJob::ChangeChannelReadonlyJob(QObject *parent)
: RestApiAbstractJob(parent)
diff --git a/src/rocketchatrestapi-qt/channels/channelsmoderatorsjob.cpp b/src/rocketchatrestapi-qt/channels/channelsmoderatorsjob.cpp
index c83140d0f1..1f8c46d678 100644
--- a/src/rocketchatrestapi-qt/channels/channelsmoderatorsjob.cpp
+++ b/src/rocketchatrestapi-qt/channels/channelsmoderatorsjob.cpp
@@ -5,7 +5,6 @@
*/
#include "channelsmoderatorsjob.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "rocketchatqtrestapi_debug.h"
@@ -13,6 +12,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QJsonObject>
#include <QNetworkRequest>
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
ChannelsModeratorsJob::ChannelsModeratorsJob(QObject *parent)
: ChannelGroupBaseJob(parent)
diff --git a/src/rocketchatrestapi-qt/e2e/fetchmykeysjob.cpp b/src/rocketchatrestapi-qt/e2e/fetchmykeysjob.cpp
index 83f93c6277..c2e7e73009 100644
--- a/src/rocketchatrestapi-qt/e2e/fetchmykeysjob.cpp
+++ b/src/rocketchatrestapi-qt/e2e/fetchmykeysjob.cpp
@@ -5,13 +5,13 @@
*/
#include "fetchmykeysjob.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include <QJsonDocument>
#include <QJsonObject>
#include <QNetworkRequest>
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
FetchMyKeysJob::FetchMyKeysJob(QObject *parent)
: RestApiAbstractJob(parent)
diff --git a/src/rocketchatrestapi-qt/e2e/rejectsuggestedgroupkeyjob.cpp b/src/rocketchatrestapi-qt/e2e/rejectsuggestedgroupkeyjob.cpp
index 3742fbf897..5e25ced308 100644
--- a/src/rocketchatrestapi-qt/e2e/rejectsuggestedgroupkeyjob.cpp
+++ b/src/rocketchatrestapi-qt/e2e/rejectsuggestedgroupkeyjob.cpp
@@ -6,7 +6,6 @@
#include "rejectsuggestedgroupkeyjob.h"
#include "rocketchatqtrestapi_debug.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
@@ -14,6 +13,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QJsonObject>
#include <QNetworkRequest>
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
RejectSuggestedGroupKeyJob::RejectSuggestedGroupKeyJob(QObject *parent)
: RestApiAbstractJob(parent)
diff --git a/src/rocketchatrestapi-qt/e2e/resetowne2ekeyjob.cpp b/src/rocketchatrestapi-qt/e2e/resetowne2ekeyjob.cpp
index 5bf1836286..cf6f0d1110 100644
--- a/src/rocketchatrestapi-qt/e2e/resetowne2ekeyjob.cpp
+++ b/src/rocketchatrestapi-qt/e2e/resetowne2ekeyjob.cpp
@@ -5,7 +5,6 @@
*/
#include "resetowne2ekeyjob.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
@@ -13,6 +12,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QJsonObject>
#include <QNetworkRequest>
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
ResetOwnE2eKeyJob::ResetOwnE2eKeyJob(QObject *parent)
: RestApiAbstractJob(parent)
diff --git a/src/rocketchatrestapi-qt/groups/changegroupsdescriptionjob.cpp b/src/rocketchatrestapi-qt/groups/changegroupsdescriptionjob.cpp
index 0cfe3103d8..af88a358f3 100644
--- a/src/rocketchatrestapi-qt/groups/changegroupsdescriptionjob.cpp
+++ b/src/rocketchatrestapi-qt/groups/changegroupsdescriptionjob.cpp
@@ -5,7 +5,6 @@
*/
#include "changegroupsdescriptionjob.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "rocketchatqtrestapi_debug.h"
@@ -13,6 +12,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QJsonObject>
#include <QNetworkRequest>
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
ChangeGroupsDescriptionJob::ChangeGroupsDescriptionJob(QObject *parent)
: ChannelGroupBaseJob(parent)
diff --git a/src/rocketchatrestapi-qt/groups/changegroupstopicjob.cpp b/src/rocketchatrestapi-qt/groups/changegroupstopicjob.cpp
index b3e52c596a..a91a383268 100644
--- a/src/rocketchatrestapi-qt/groups/changegroupstopicjob.cpp
+++ b/src/rocketchatrestapi-qt/groups/changegroupstopicjob.cpp
@@ -5,7 +5,6 @@
*/
#include "changegroupstopicjob.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "rocketchatqtrestapi_debug.h"
@@ -13,6 +12,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QJsonObject>
#include <QNetworkRequest>
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
ChangeGroupsTopicJob::ChangeGroupsTopicJob(QObject *parent)
: ChannelGroupBaseJob(parent)
diff --git a/src/rocketchatrestapi-qt/groups/getgrouprolesjob.cpp b/src/rocketchatrestapi-qt/groups/getgrouprolesjob.cpp
index 7c3ea4a7ce..1f762c6bb1 100644
--- a/src/rocketchatrestapi-qt/groups/getgrouprolesjob.cpp
+++ b/src/rocketchatrestapi-qt/groups/getgrouprolesjob.cpp
@@ -5,7 +5,6 @@
*/
#include "getgrouprolesjob.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "rocketchatqtrestapi_debug.h"
@@ -14,6 +13,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QJsonObject>
#include <QNetworkRequest>
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
GetGroupRolesJob::GetGroupRolesJob(QObject *parent)
: ChannelGroupBaseJob(parent)
diff --git a/src/rocketchatrestapi-qt/groups/groupaddleaderjob.cpp b/src/rocketchatrestapi-qt/groups/groupaddleaderjob.cpp
index 121c689944..0ab2066bc3 100644
--- a/src/rocketchatrestapi-qt/groups/groupaddleaderjob.cpp
+++ b/src/rocketchatrestapi-qt/groups/groupaddleaderjob.cpp
@@ -5,7 +5,6 @@
*/
#include "groupaddleaderjob.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "rocketchatqtrestapi_debug.h"
@@ -13,6 +12,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QJsonObject>
#include <QNetworkRequest>
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
GroupAddLeaderJob::GroupAddLeaderJob(QObject *parent)
: ChannelGroupBaseJob(parent)
diff --git a/src/rocketchatrestapi-qt/groups/groupaddmoderatorjob.cpp b/src/rocketchatrestapi-qt/groups/groupaddmoderatorjob.cpp
index 7cf198327b..322b3e3361 100644
--- a/src/rocketchatrestapi-qt/groups/groupaddmoderatorjob.cpp
+++ b/src/rocketchatrestapi-qt/groups/groupaddmoderatorjob.cpp
@@ -5,7 +5,6 @@
*/
#include "groupaddmoderatorjob.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "rocketchatqtrestapi_debug.h"
@@ -13,6 +12,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QJsonObject>
#include <QNetworkRequest>
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
GroupAddModeratorJob::GroupAddModeratorJob(QObject *parent)
: ChannelGroupBaseJob(parent)
diff --git a/src/rocketchatrestapi-qt/groups/groupaddownerjob.cpp b/src/rocketchatrestapi-qt/groups/groupaddownerjob.cpp
index dc75e29420..036a669f5b 100644
--- a/src/rocketchatrestapi-qt/groups/groupaddownerjob.cpp
+++ b/src/rocketchatrestapi-qt/groups/groupaddownerjob.cpp
@@ -5,7 +5,6 @@
*/
#include "groupaddownerjob.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "rocketchatqtrestapi_debug.h"
@@ -13,6 +12,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QJsonObject>
#include <QNetworkRequest>
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
GroupAddOwnerJob::GroupAddOwnerJob(QObject *parent)
: ChannelGroupBaseJob(parent)
diff --git a/src/rocketchatrestapi-qt/groups/groupopenjob.cpp b/src/rocketchatrestapi-qt/groups/groupopenjob.cpp
index 81a5fb2489..4f4c383b0f 100644
--- a/src/rocketchatrestapi-qt/groups/groupopenjob.cpp
+++ b/src/rocketchatrestapi-qt/groups/groupopenjob.cpp
@@ -5,7 +5,6 @@
*/
#include "groupopenjob.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "rocketchatqtrestapi_debug.h"
@@ -13,6 +12,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QJsonObject>
#include <QNetworkRequest>
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
GroupOpenJob::GroupOpenJob(QObject *parent)
: ChannelGroupBaseJob(parent)
diff --git a/src/rocketchatrestapi-qt/misc/directoryjob.cpp b/src/rocketchatrestapi-qt/misc/directoryjob.cpp
index 3a793d0d47..8448d1b89e 100644
--- a/src/rocketchatrestapi-qt/misc/directoryjob.cpp
+++ b/src/rocketchatrestapi-qt/misc/directoryjob.cpp
@@ -5,7 +5,6 @@
*/
#include "directoryjob.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "rocketchatqtrestapi_debug.h"
@@ -14,6 +13,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QNetworkRequest>
#include <QUrlQuery>
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
DirectoryJob::DirectoryJob(QObject *parent)
: RestApiAbstractJob(parent)
diff --git a/src/rocketchatrestapi-qt/misc/listoauthappsjob.cpp b/src/rocketchatrestapi-qt/misc/listoauthappsjob.cpp
index 07c15dd0a9..b8b15902b0 100644
--- a/src/rocketchatrestapi-qt/misc/listoauthappsjob.cpp
+++ b/src/rocketchatrestapi-qt/misc/listoauthappsjob.cpp
@@ -5,7 +5,6 @@
*/
#include "listoauthappsjob.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "rocketchatqtrestapi_debug.h"
@@ -13,6 +12,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QJsonObject>
#include <QNetworkRequest>
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
ListOauthAppsJob::ListOauthAppsJob(QObject *parent)
: RestApiAbstractJob(parent)
diff --git a/src/rocketchatrestapi-qt/misc/oauthappsjob.cpp b/src/rocketchatrestapi-qt/misc/oauthappsjob.cpp
index 94ec6559f2..9e0c478e41 100644
--- a/src/rocketchatrestapi-qt/misc/oauthappsjob.cpp
+++ b/src/rocketchatrestapi-qt/misc/oauthappsjob.cpp
@@ -5,7 +5,6 @@
*/
#include "oauthappsjob.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "rocketchatqtrestapi_debug.h"
@@ -14,6 +13,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QNetworkRequest>
#include <QUrlQuery>
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
OauthAppsJob::OauthAppsJob(QObject *parent)
: RestApiAbstractJob(parent)
diff --git a/src/rocketchatrestapi-qt/misc/oauthappsupdatejob.cpp b/src/rocketchatrestapi-qt/misc/oauthappsupdatejob.cpp
index 77d6d83085..b84e76dc38 100644
--- a/src/rocketchatrestapi-qt/misc/oauthappsupdatejob.cpp
+++ b/src/rocketchatrestapi-qt/misc/oauthappsupdatejob.cpp
@@ -5,7 +5,6 @@
*/
#include "oauthappsupdatejob.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "rocketchatqtrestapi_debug.h"
@@ -14,6 +13,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QJsonObject>
#include <QNetworkRequest>
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
OauthAppsUpdateJob::OauthAppsUpdateJob(QObject *parent)
: RestApiAbstractJob(parent)
diff --git a/src/rocketchatrestapi-qt/misc/owninfojob.cpp b/src/rocketchatrestapi-qt/misc/owninfojob.cpp
index 7d2e599e7f..ee6166b344 100644
--- a/src/rocketchatrestapi-qt/misc/owninfojob.cpp
+++ b/src/rocketchatrestapi-qt/misc/owninfojob.cpp
@@ -5,7 +5,6 @@
*/
#include "owninfojob.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "rocketchatqtrestapi_debug.h"
@@ -13,6 +12,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QJsonObject>
#include <QNetworkRequest>
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
OwnInfoJob::OwnInfoJob(QObject *parent)
: RestApiAbstractJob(parent)
diff --git a/src/rocketchatrestapi-qt/misc/roleslistjob.cpp b/src/rocketchatrestapi-qt/misc/roleslistjob.cpp
index 79ab3cbcd4..9a08a8938d 100644
--- a/src/rocketchatrestapi-qt/misc/roleslistjob.cpp
+++ b/src/rocketchatrestapi-qt/misc/roleslistjob.cpp
@@ -5,7 +5,6 @@
*/
#include "roleslistjob.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "rocketchatqtrestapi_debug.h"
@@ -13,6 +12,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QJsonObject>
#include <QNetworkRequest>
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
RolesListJob::RolesListJob(QObject *parent)
: RestApiAbstractJob(parent)
diff --git a/src/rocketchatrestapi-qt/misc/settingsoauthjob.cpp b/src/rocketchatrestapi-qt/misc/settingsoauthjob.cpp
index e4ab94d0a4..46fdc1d98e 100644
--- a/src/rocketchatrestapi-qt/misc/settingsoauthjob.cpp
+++ b/src/rocketchatrestapi-qt/misc/settingsoauthjob.cpp
@@ -5,7 +5,6 @@
*/
#include "settingsoauthjob.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "rocketchatqtrestapi_debug.h"
@@ -14,6 +13,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QNetworkRequest>
using namespace RocketChatRestApi;
+using namespace Qt::Literals::StringLiterals;
SettingsOauthJob::SettingsOauthJob(QObject *parent)
: RestApiAbstractJob(parent)
{
diff --git a/src/rocketchatrestapi-qt/misc/statisticsjob.cpp b/src/rocketchatrestapi-qt/misc/statisticsjob.cpp
index a9f48e1092..fcad424027 100644
--- a/src/rocketchatrestapi-qt/misc/statisticsjob.cpp
+++ b/src/rocketchatrestapi-qt/misc/statisticsjob.cpp
@@ -5,7 +5,6 @@
*/
#include "statisticsjob.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "rocketchatqtrestapi_debug.h"
@@ -14,6 +13,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QNetworkRequest>
#include <QUrlQuery>
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
StatisticsJob::StatisticsJob(QObject *parent)
: RestApiAbstractJob(parent)
diff --git a/src/rocketchatrestapi-qt/queryparameters.cpp b/src/rocketchatrestapi-qt/queryparameters.cpp
index d9721d8c0d..7771db803d 100644
--- a/src/rocketchatrestapi-qt/queryparameters.cpp
+++ b/src/rocketchatrestapi-qt/queryparameters.cpp
@@ -5,10 +5,10 @@
*/
#include "queryparameters.h"
-using namespace Qt::Literals::StringLiterals;
#include "rocketchatqtrestapi_debug.h"
+using namespace Qt::Literals::StringLiterals;
namespace RocketChatRestApi
{
diff --git a/src/rocketchatrestapi-qt/restapimethod.cpp b/src/rocketchatrestapi-qt/restapimethod.cpp
index 994d58e54f..29a5d7ddfc 100644
--- a/src/rocketchatrestapi-qt/restapimethod.cpp
+++ b/src/rocketchatrestapi-qt/restapimethod.cpp
@@ -5,10 +5,10 @@
*/
#include "restapimethod.h"
-using namespace Qt::Literals::StringLiterals;
#include "rocketchatqtrestapi_debug.h"
using namespace RocketChatRestApi;
+using namespace Qt::Literals::StringLiterals;
RestApiMethod::RestApiMethod() = default;
QString RestApiMethod::serverUrl() const
diff --git a/src/rocketchatrestapi-qt/rooms/savenotificationjob.cpp b/src/rocketchatrestapi-qt/rooms/savenotificationjob.cpp
index a0527e1da6..5c7ce77160 100644
--- a/src/rocketchatrestapi-qt/rooms/savenotificationjob.cpp
+++ b/src/rocketchatrestapi-qt/rooms/savenotificationjob.cpp
@@ -5,7 +5,6 @@
*/
#include "savenotificationjob.h"
-using namespace Qt::Literals::StringLiterals;
#include "restapimethod.h"
#include "rocketchatqtrestapi_debug.h"
@@ -14,6 +13,7 @@ using namespace Qt::Literals::StringLiterals;
#include <QJsonObject>
#include <QNetworkRequest>
+using namespace Qt::Literals::StringLiterals;
using namespace RocketChatRestApi;
SaveNotificationJob::SaveNotificationJob(QObject *parent)
: RestApiAbstractJob(parent)