![]() |
Deskflow 1.26.0.418
Keyboard and mouse sharing utility
|
#include <ServerConfig.h>


Public Member Functions | |
| ServerConfig (int columns=kServerGridWidth, int rows=kServerGridHeight) | |
| ~ServerConfig ()=default | |
| bool | operator== (const ServerConfig &sc) const |
| const ScreenList & | screens () const |
| const HotkeyList & | hotkeys () const |
| bool | save (const QString &fileName) const |
| bool | screenExists (const QString &screenName) const |
| void | save (QFile &file) const |
| bool | isFull () const |
| void | commit () |
| int | numScreens () const |
| QString | getServerName () const |
| void | updateServerName () |
| QString | configFile () const |
| bool | useExternalConfig () const |
| void | addClient (const QString &clientName) |
Friends | |
| class | ServerConfigDialog |
| QTextStream & | operator<< (QTextStream &outStream, const ServerConfig &config) |
Additional Inherited Members | |
| Public Types inherited from ScreenConfig | |
| enum class | Modifier : int8_t { DefaultMod = -1 , Shift , Ctrl , Alt , Meta , Super , AltGr , None , NumModifiers } |
| enum class | SwitchCorner : int8_t { TopLeft , TopRight , BottomLeft , BottomRight , NumSwitchCorners } |
| enum class | Fix : int8_t { CapsLock , NumLock , ScrollLock , XTest , NumFixes } |
| Static Public Member Functions inherited from ScreenConfig | |
| static const char * | modifierName (int idx) |
| static const char * | fixName (int idx) |
| static const char * | switchCornerName (int idx) |
| Protected Member Functions inherited from ScreenConfig | |
| ScreenConfig ()=default | |
| ~ScreenConfig ()=default | |
| template<typename T1, typename T2> | |
| void | readSettings (QSettingsProxy &settings, T1 &array, const QString &arrayName, const T2 &defaultValue) |
| template<typename T1, typename T2> | |
| void | readSettings (QSettingsProxy &settings, T1 &array, const QString &arrayName, const T2 &defaultValue, int entries) |
| template<typename T> | |
| void | writeSettings (QSettingsProxy &settings, const T &array, const QString &arrayName) const |
|
explicit |
|
default |
| void ServerConfig::addClient | ( | const QString & | clientName | ) |
| void ServerConfig::commit | ( | ) |
| QString ServerConfig::configFile | ( | ) | const |
| QString ServerConfig::getServerName | ( | ) | const |
|
inline |
| bool ServerConfig::isFull | ( | ) | const |
| int ServerConfig::numScreens | ( | ) | const |
| bool ServerConfig::operator== | ( | const ServerConfig & | sc | ) | const |
| bool ServerConfig::save | ( | const QString & | fileName | ) | const |
| void ServerConfig::save | ( | QFile & | file | ) | const |
| bool ServerConfig::screenExists | ( | const QString & | screenName | ) | const |
|
inline |
| void ServerConfig::updateServerName | ( | ) |
| bool ServerConfig::useExternalConfig | ( | ) | const |
|
friend |
|
friend |