diff options
Diffstat (limited to 'src/server/mainwindow/mainwindow.h')
-rw-r--r-- | src/server/mainwindow/mainwindow.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/server/mainwindow/mainwindow.h b/src/server/mainwindow/mainwindow.h index 988ac50..27bf264 100644 --- a/src/server/mainwindow/mainwindow.h +++ b/src/server/mainwindow/mainwindow.h @@ -76,6 +76,8 @@ private: ListenServer *_listenServer; DiscoveryListener *_discoveryListener; + int _lastClientCount; + QPoint closestFreeSlot(QPoint preferredPixels, ConnectionFrame* toIgnore); void placeFrameInFreeSlot(ConnectionFrame* frame, QPoint preferred = QPoint(-1, -1)); ConnectionFrame* createFrame(); @@ -101,6 +103,10 @@ private: void reloadCurrentRoom(); + void DisableButtons(); + void EnableButtons(); + void clientCountChanged(); + protected slots: void onSessionNameClick(); void onSessionNameUpdate(); @@ -121,8 +127,6 @@ protected slots: void onButtonExit(); void onButtonHelp(); - void DisableButtons(); - void EnableButtons(); // connection frame void onPlaceFrame(ConnectionFrame* frame); void onFrameClicked(ConnectionFrame* frame); @@ -133,6 +137,5 @@ protected slots: void onVncServerStateChange(Client* client); void onVncClientStateChange(Client* client); - void updateExamMode(); }; #endif |