migrate(Lts/Common): apply clang-tidy modernization fixes\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
6822817a63
commit
acee7b8766
8 files changed
+1216
-1568
No files matched your search
Executable → Regular
+35
-40
@@ -1,40 +1,35 @@
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
|
||||
namespace LtsProjectionWorkstation
|
||||
{
|
||||
namespace JsonKeys
|
||||
{
|
||||
|
||||
inline QString ERROR_MESSAGE() { return QStringLiteral("errorMessage"); }
|
||||
|
||||
|
||||
inline QString LOGIN_REQUEST() { return QStringLiteral("loginRequest"); }
|
||||
inline QString LOGOUT_REQUEST() { return QStringLiteral("logoutRequest"); }
|
||||
inline QString DISCONNECT_REQUEST() { return QStringLiteral("disconnectRequest"); }
|
||||
|
||||
|
||||
|
||||
inline QString LOGIN_REPLY() { return QStringLiteral("loginReply"); }
|
||||
inline QString LOGOUT_REPLY() { return QStringLiteral("logoutReply"); }
|
||||
inline QString DEDICAED_DISCONNECT() { return QStringLiteral("dedicatedDisconnect"); }
|
||||
|
||||
|
||||
inline QString USER_ID() { return QStringLiteral("userId"); }
|
||||
inline QString USER_PRIORITY() { return QStringLiteral("userPriority"); }
|
||||
inline QString EXERCISE_ID() { return QStringLiteral("exerciseId"); }
|
||||
inline QString NAME() { return QStringLiteral("name"); }
|
||||
inline QString PORT() { return QStringLiteral("port"); }
|
||||
inline QString WIDTH() { return QStringLiteral("width"); }
|
||||
inline QString HEIGHT() { return QStringLiteral("height"); }
|
||||
inline QString REASON() { return QStringLiteral("reason"); }
|
||||
inline QString SUCCESS() { return QStringLiteral("success"); }
|
||||
inline QString SCREENS() { return QStringLiteral("screens"); }
|
||||
inline QString SETTINGS_DATA() { return QStringLiteral("settingsData"); }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
|
||||
namespace LtsProjectionWorkstation::JsonKeys {
|
||||
|
||||
inline QString ERROR_MESSAGE() { return QStringLiteral("errorMessage"); }
|
||||
|
||||
inline QString LOGIN_REQUEST() { return QStringLiteral("loginRequest"); }
|
||||
inline QString LOGOUT_REQUEST() { return QStringLiteral("logoutRequest"); }
|
||||
inline QString DISCONNECT_REQUEST() {
|
||||
return QStringLiteral("disconnectRequest");
|
||||
}
|
||||
|
||||
inline QString LOGIN_REPLY() { return QStringLiteral("loginReply"); }
|
||||
inline QString LOGOUT_REPLY() { return QStringLiteral("logoutReply"); }
|
||||
inline QString DEDICAED_DISCONNECT() {
|
||||
return QStringLiteral("dedicatedDisconnect");
|
||||
}
|
||||
|
||||
inline QString USER_ID() { return QStringLiteral("userId"); }
|
||||
inline QString USER_PRIORITY() { return QStringLiteral("userPriority"); }
|
||||
inline QString EXERCISE_ID() { return QStringLiteral("exerciseId"); }
|
||||
inline QString NAME() { return QStringLiteral("name"); }
|
||||
inline QString PORT() { return QStringLiteral("port"); }
|
||||
inline QString WIDTH() { return QStringLiteral("width"); }
|
||||
inline QString HEIGHT() { return QStringLiteral("height"); }
|
||||
inline QString REASON() { return QStringLiteral("reason"); }
|
||||
inline QString SUCCESS() { return QStringLiteral("success"); }
|
||||
inline QString SCREENS() { return QStringLiteral("screens"); }
|
||||
inline QString SETTINGS_DATA() { return QStringLiteral("settingsData"); }
|
||||
|
||||
} // namespace LtsProjectionWorkstation::JsonKeys
|
||||
Reference in new issue
Block a user