Stellarium 0.15.2
List of all members | Public Slots | Signals | Public Member Functions | Protected Member Functions | Friends
SyncClient Class Reference

A client which can connect to a SyncServer to receive state changes, and apply them. More...

#include <SyncClient.hpp>

+ Inheritance diagram for SyncClient:
+ Collaboration diagram for SyncClient:

Public Slots

void connectToServer (const QString &host, const int port)
 
void disconnectFromServer ()
 

Signals

void connected ()
 
void disconnected ()
 
void connectionError ()
 

Public Member Functions

 SyncClient (QObject *parent=0)
 
bool isConnected () const
 True if the connection has been established completely. More...
 
QString errorString () const
 

Protected Member Functions

void timerEvent (QTimerEvent *evt) Q_DECL_OVERRIDE
 

Friends

class ClientErrorHandler
 

Detailed Description

A client which can connect to a SyncServer to receive state changes, and apply them.

Definition at line 30 of file SyncClient.hpp.

Member Function Documentation

bool SyncClient::isConnected ( ) const

True if the connection has been established completely.


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