chore: rename a missed namespace from synergy::gui => deskflow::gui
This commit is contained in:
parent
be6a4f6b4d
commit
593e53370a
3 changed files with 6 additions and 6 deletions
|
|
@ -228,7 +228,7 @@ int ServerConfig::adjacentScreenIndex(int idx, int deltaColumn, int deltaRow) co
|
||||||
|
|
||||||
QTextStream &operator<<(QTextStream &outStream, const ServerConfig &config)
|
QTextStream &operator<<(QTextStream &outStream, const ServerConfig &config)
|
||||||
{
|
{
|
||||||
using enum synergy::gui::ServerProtocol;
|
using enum deskflow::gui::ServerProtocol;
|
||||||
|
|
||||||
outStream << "section: screens" << Qt::endl;
|
outStream << "section: screens" << Qt::endl;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ class QFile;
|
||||||
class ServerConfigDialog;
|
class ServerConfigDialog;
|
||||||
class MainWindow;
|
class MainWindow;
|
||||||
|
|
||||||
namespace synergy::gui {
|
namespace deskflow::gui {
|
||||||
|
|
||||||
enum class ServerProtocol
|
enum class ServerProtocol
|
||||||
{
|
{
|
||||||
|
|
@ -35,11 +35,11 @@ enum class ServerProtocol
|
||||||
// The default protocol was decided by a community vote.
|
// The default protocol was decided by a community vote.
|
||||||
const auto kDefaultProtocol = ServerProtocol::kBarrier;
|
const auto kDefaultProtocol = ServerProtocol::kBarrier;
|
||||||
|
|
||||||
} // namespace synergy::gui
|
} // namespace deskflow::gui
|
||||||
|
|
||||||
class ServerConfig : public ScreenConfig, public deskflow::gui::IServerConfig
|
class ServerConfig : public ScreenConfig, public deskflow::gui::IServerConfig
|
||||||
{
|
{
|
||||||
using ServerProtocol = synergy::gui::ServerProtocol;
|
using ServerProtocol = deskflow::gui::ServerProtocol;
|
||||||
|
|
||||||
friend class ServerConfigDialog;
|
friend class ServerConfigDialog;
|
||||||
friend QTextStream &operator<<(QTextStream &outStream, const ServerConfig &config);
|
friend QTextStream &operator<<(QTextStream &outStream, const ServerConfig &config);
|
||||||
|
|
@ -261,7 +261,7 @@ private:
|
||||||
private:
|
private:
|
||||||
bool m_HasHeartbeat = false;
|
bool m_HasHeartbeat = false;
|
||||||
int m_Heartbeat = 0;
|
int m_Heartbeat = 0;
|
||||||
ServerProtocol m_Protocol = synergy::gui::kDefaultProtocol;
|
ServerProtocol m_Protocol = deskflow::gui::kDefaultProtocol;
|
||||||
bool m_RelativeMouseMoves = false;
|
bool m_RelativeMouseMoves = false;
|
||||||
bool m_Win32KeepForeground = false;
|
bool m_Win32KeepForeground = false;
|
||||||
bool m_HasSwitchDelay = false;
|
bool m_HasSwitchDelay = false;
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
|
||||||
using enum ScreenConfig::SwitchCorner;
|
using enum ScreenConfig::SwitchCorner;
|
||||||
using ServerProtocol = synergy::gui::ServerProtocol;
|
using ServerProtocol = deskflow::gui::ServerProtocol;
|
||||||
|
|
||||||
ServerConfigDialog::ServerConfigDialog(QWidget *parent, ServerConfig &config)
|
ServerConfigDialog::ServerConfigDialog(QWidget *parent, ServerConfig &config)
|
||||||
: QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint),
|
: QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue