chore: rename a missed namespace from synergy::gui => deskflow::gui

This commit is contained in:
sithlord48
2025-05-22 23:35:24 -04:00
committed by Chris Rizzitello
parent be6a4f6b4d
commit 593e53370a
3 changed files with 6 additions and 6 deletions

View File

@ -228,7 +228,7 @@ int ServerConfig::adjacentScreenIndex(int idx, int deltaColumn, int deltaRow) co
QTextStream &operator<<(QTextStream &outStream, const ServerConfig &config)
{
using enum synergy::gui::ServerProtocol;
using enum deskflow::gui::ServerProtocol;
outStream << "section: screens" << Qt::endl;

View File

@ -24,7 +24,7 @@ class QFile;
class ServerConfigDialog;
class MainWindow;
namespace synergy::gui {
namespace deskflow::gui {
enum class ServerProtocol
{
@ -35,11 +35,11 @@ enum class ServerProtocol
// The default protocol was decided by a community vote.
const auto kDefaultProtocol = ServerProtocol::kBarrier;
} // namespace synergy::gui
} // namespace deskflow::gui
class ServerConfig : public ScreenConfig, public deskflow::gui::IServerConfig
{
using ServerProtocol = synergy::gui::ServerProtocol;
using ServerProtocol = deskflow::gui::ServerProtocol;
friend class ServerConfigDialog;
friend QTextStream &operator<<(QTextStream &outStream, const ServerConfig &config);
@ -261,7 +261,7 @@ private:
private:
bool m_HasHeartbeat = false;
int m_Heartbeat = 0;
ServerProtocol m_Protocol = synergy::gui::kDefaultProtocol;
ServerProtocol m_Protocol = deskflow::gui::kDefaultProtocol;
bool m_RelativeMouseMoves = false;
bool m_Win32KeepForeground = false;
bool m_HasSwitchDelay = false;

View File

@ -20,7 +20,7 @@
#include <QMessageBox>
using enum ScreenConfig::SwitchCorner;
using ServerProtocol = synergy::gui::ServerProtocol;
using ServerProtocol = deskflow::gui::ServerProtocol;
ServerConfigDialog::ServerConfigDialog(QWidget *parent, ServerConfig &config)
: QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint),