Deskflow 1.26.0.134
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
deskflow::gui::CoreProcess Class Reference

#include <CoreProcess.h>

Inheritance diagram for deskflow::gui::CoreProcess:
Collaboration diagram for deskflow::gui::CoreProcess:

Public Types

enum class  Error { AddressMissing , StartFailed }

Signals

void error (deskflow::gui::CoreProcess::Error error)
void logLine (const QString &line)
void connectionStateChanged (deskflow::core::ConnectionState state)
void processStateChanged (deskflow::core::ProcessState state)
void secureSocket (bool enabled)
void daemonIpcClientConnectionFailed ()
void connectedClientsChanged (const QStringList &clients)
void securityLevelChanged (QString securityLevel)
void unrecognisedClient (const QString &clientName)
void connectionRefused (deskflow::core::ConnectionRefusal reason)
void retryIn (int seconds)
void peerFingerprint (const QString &fingerprint)
void missingKeyboardLayouts (const QString &layouts)

Public Member Functions

 CoreProcess (const ServerConfig &serverConfig)
void start (std::optional< ProcessMode > processMode=std::nullopt)
void stop (std::optional< ProcessMode > processMode=std::nullopt)
void restart ()
void cleanup ()
void applyLogLevel ()
void clearSettings ()
void retryDaemon ()
Settings::CoreMode mode () const
QString secureSocketVersion () const
bool isStarted () const
ProcessState processState () const
ConnectionState connectionState () const
void setAddress (const QString &address)
void setMode (Settings::CoreMode mode)

Member Enumeration Documentation

◆ Error

Enumerator
AddressMissing 
StartFailed 

Constructor & Destructor Documentation

◆ CoreProcess()

deskflow::gui::CoreProcess::CoreProcess ( const ServerConfig & serverConfig)
explicit

Member Function Documentation

◆ applyLogLevel()

void deskflow::gui::CoreProcess::applyLogLevel ( )

◆ cleanup()

void deskflow::gui::CoreProcess::cleanup ( )

◆ clearSettings()

void deskflow::gui::CoreProcess::clearSettings ( )

◆ connectedClientsChanged

void deskflow::gui::CoreProcess::connectedClientsChanged ( const QStringList & clients)
signal

◆ connectionRefused

void deskflow::gui::CoreProcess::connectionRefused ( deskflow::core::ConnectionRefusal reason)
signal

◆ connectionState()

ConnectionState deskflow::gui::CoreProcess::connectionState ( ) const
inline

◆ connectionStateChanged

void deskflow::gui::CoreProcess::connectionStateChanged ( deskflow::core::ConnectionState state)
signal

◆ daemonIpcClientConnectionFailed

void deskflow::gui::CoreProcess::daemonIpcClientConnectionFailed ( )
signal

◆ error

void deskflow::gui::CoreProcess::error ( deskflow::gui::CoreProcess::Error error)
signal

◆ isStarted()

bool deskflow::gui::CoreProcess::isStarted ( ) const
inline

◆ logLine

void deskflow::gui::CoreProcess::logLine ( const QString & line)
signal

◆ missingKeyboardLayouts

void deskflow::gui::CoreProcess::missingKeyboardLayouts ( const QString & layouts)
signal

◆ mode()

Settings::CoreMode deskflow::gui::CoreProcess::mode ( ) const
inline

◆ peerFingerprint

void deskflow::gui::CoreProcess::peerFingerprint ( const QString & fingerprint)
signal

◆ processState()

ProcessState deskflow::gui::CoreProcess::processState ( ) const
inline

◆ processStateChanged

void deskflow::gui::CoreProcess::processStateChanged ( deskflow::core::ProcessState state)
signal

◆ restart()

void deskflow::gui::CoreProcess::restart ( )

◆ retryDaemon()

void deskflow::gui::CoreProcess::retryDaemon ( )

◆ retryIn

void deskflow::gui::CoreProcess::retryIn ( int seconds)
signal

◆ secureSocket

void deskflow::gui::CoreProcess::secureSocket ( bool enabled)
signal

◆ secureSocketVersion()

QString deskflow::gui::CoreProcess::secureSocketVersion ( ) const
inline

◆ securityLevelChanged

void deskflow::gui::CoreProcess::securityLevelChanged ( QString securityLevel)
signal

◆ setAddress()

void deskflow::gui::CoreProcess::setAddress ( const QString & address)
inline

◆ setMode()

void deskflow::gui::CoreProcess::setMode ( Settings::CoreMode mode)
inline

◆ start()

void deskflow::gui::CoreProcess::start ( std::optional< ProcessMode > processMode = std::nullopt)

◆ stop()

void deskflow::gui::CoreProcess::stop ( std::optional< ProcessMode > processMode = std::nullopt)

◆ unrecognisedClient

void deskflow::gui::CoreProcess::unrecognisedClient ( const QString & clientName)
signal

The documentation for this class was generated from the following files: