diff options
author | Christian Klinger | 2016-05-18 16:53:12 +0200 |
---|---|---|
committer | Christian Klinger | 2016-05-18 16:53:12 +0200 |
commit | d41aa490b2c00ffe31023b96b3daff523d4757c1 (patch) | |
tree | f1a2edb5c7db5a61d6c6073a74d3c1209fdfb25d /src/client/toolbar/toolbar.h | |
parent | provided sample configuration. (diff) | |
download | pvs2-d41aa490b2c00ffe31023b96b3daff523d4757c1.tar.gz pvs2-d41aa490b2c00ffe31023b96b3daff523d4757c1.tar.xz pvs2-d41aa490b2c00ffe31023b96b3daff523d4757c1.zip |
added toolbar button to switch to manager.
The actual window switching logic is delegated to a pair of shell scripts.
Diffstat (limited to 'src/client/toolbar/toolbar.h')
-rw-r--r-- | src/client/toolbar/toolbar.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/toolbar/toolbar.h b/src/client/toolbar/toolbar.h index 6c61508..0980beb 100644 --- a/src/client/toolbar/toolbar.h +++ b/src/client/toolbar/toolbar.h @@ -49,11 +49,14 @@ private: ServerConnection *_connection; QTimer _blinkTimer; VncWindow *_vnc; + bool _onWorkspace2; + bool _isManagerPc; const QPixmap _cam32, _beWatchedEye; void leaveEvent(QEvent* e); void enterEvent(QEvent* e); QList<Room> myRooms(); + bool isManagerPc(); QString identifyMgrIP(); void init(); void initMenu(); @@ -63,6 +66,7 @@ private slots: void onDisconnected(); void onConnected(ServerConnection* connection); void onDoDisconnect(); + void onBtnManager(); void exit(); void cameraBlink(); void showBar(); |