diff options
author | Manuel Schneider | 2014-04-30 14:50:56 +0200 |
---|---|---|
committer | Manuel Schneider | 2014-04-30 14:50:56 +0200 |
commit | adbc49a0e2ad1b03558c6495cea49307c3db0381 (patch) | |
tree | 0651ab1c434590b9536d8c4ca6628d8c064deaae /src/server/mainwindow/mainwindow.h | |
parent | cant fire the timer inside the button slots since they are called somewhere w... (diff) | |
download | pvs2-adbc49a0e2ad1b03558c6495cea49307c3db0381.tar.gz pvs2-adbc49a0e2ad1b03558c6495cea49307c3db0381.tar.xz pvs2-adbc49a0e2ad1b03558c6495cea49307c3db0381.zip |
KISS'n'DRY for more cohesion
Diffstat (limited to 'src/server/mainwindow/mainwindow.h')
-rw-r--r-- | src/server/mainwindow/mainwindow.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/server/mainwindow/mainwindow.h b/src/server/mainwindow/mainwindow.h index 6e046e5..153eb5b 100644 --- a/src/server/mainwindow/mainwindow.h +++ b/src/server/mainwindow/mainwindow.h @@ -39,7 +39,11 @@ private: int _timerId, _timerTimeout; ListenServer *_listenServer; DiscoveryListener *_discoveryListener; + + // Button block stuff QTimer * _buttonLockTimer; + QList<QAction*> _lockingButtons; + static const qint64 _buttonBlockTime = 1000; /** * Downloader for IP - List of possible tutors. @@ -52,7 +56,6 @@ private: QStringList _tutorList; // Magic numbers - static const qint64 _buttonBlockTime = 1000; static const int _tilesX = 9; static const int _tilesY = 7; |