![]() |
Stellarium
25.3
|
A client which can connect to a SyncServer to receive state changes, and apply them. More...
#include <SyncClient.hpp>
Public Types | |
| enum | SyncOption { NONE = 0x0000 , SyncTime = 0x0001 , SyncLocation = 0x0002 , SyncSelection = 0x0004 , SyncStelProperty = 0x0008 , SyncView = 0x0010 , SkipGUIProps = 0x0040 , ALL = 0xFFFF } |
| Bitflag-enum which determines the message types the client instance reacts to, and other boolean options. | |
Public Slots | |
| void | connectToServer (const QString &host, const int port) |
| void | disconnectFromServer () |
Signals | |
| void | connected () |
| void | disconnected (bool cleanExit) |
Public Member Functions | |
| SyncClient (SyncOptions options, const QStringList &excludeProperties, QObject *parent=nullptr) | |
| QString | errorString () const |
| bool | isPropertyFilteredAway (const QString &property) const |
| Check whether this property (format: "StelModule.property") is filtered away in the Client settings. | |
Protected Member Functions | |
| void | timerEvent (QTimerEvent *evt) override |
Friends | |
| class | ClientErrorHandler |
A client which can connect to a SyncServer to receive state changes, and apply them.