Deskflow 1.25.0.128
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
deskflow::gui Namespace Reference

Namespaces

namespace  ipc
namespace  core
namespace  diagnostic
namespace  messages
namespace  TlsUtility

Classes

class  IServerConfig
class  ClientConnection
class  CoreProcess
class  NetworkMonitor
 Monitor network activity changes and provide IP address updates. More...
class  ServerConnection
class  ServerMessage
class  FileTail
class  Logger

Functions

QString printLine (FILE *out, const QString &type, const QString &message, const QString &fileLine={})
bool isDarkMode ()
 Detects dark mode in a universal manner (all Qt versions). Until better platform support is added, it's more reliable to use the old way (compare text and window lightness), because the newer versions in Qt 6.5+ are not always correct and some return UnknownScheme. https://www.qt.io/blog/dark-mode-on-windows-11-with-qt-6.5.
QString iconMode ()
 get a string for the iconMode
void updateIconTheme ()

Variables

const auto kDefaultProtocol = NetworkProtocol::Barrier
const int kRetryDelay = 1000
const auto kLineSplitRegex = QRegularExpression("\r|\n|\r\n")
const auto kForceDebugMessages

Function Documentation

◆ iconMode()

QString deskflow::gui::iconMode ( )
inline

get a string for the iconMode

Returns
"dark" or "light"

◆ isDarkMode()

bool deskflow::gui::isDarkMode ( )
inline

Detects dark mode in a universal manner (all Qt versions). Until better platform support is added, it's more reliable to use the old way (compare text and window lightness), because the newer versions in Qt 6.5+ are not always correct and some return UnknownScheme. https://www.qt.io/blog/dark-mode-on-windows-11-with-qt-6.5.

◆ printLine()

QString deskflow::gui::printLine ( FILE * out,
const QString & type,
const QString & message,
const QString & fileLine = {} )

◆ updateIconTheme()

void deskflow::gui::updateIconTheme ( )
inline

Variable Documentation

◆ kDefaultProtocol

const auto deskflow::gui::kDefaultProtocol = NetworkProtocol::Barrier

◆ kForceDebugMessages

const auto deskflow::gui::kForceDebugMessages
Initial value:
= QStringList{
QStringLiteral("No functional TLS backend was found"), QStringLiteral("No TLS backend is available"),
QStringLiteral("QSslSocket::connectToHostEncrypted: TLS initialization failed"),
QStringLiteral("Retrying to obtain clipboard."), QStringLiteral("Unable to obtain clipboard.")
}

◆ kLineSplitRegex

const auto deskflow::gui::kLineSplitRegex = QRegularExpression("\r|\n|\r\n")

◆ kRetryDelay

const int deskflow::gui::kRetryDelay = 1000