summaryrefslogtreecommitdiffstats
path: root/src/server/mainwindow/mainwindow.h
diff options
context:
space:
mode:
authorManuel Schneider2014-04-30 14:50:56 +0200
committerManuel Schneider2014-04-30 14:50:56 +0200
commitadbc49a0e2ad1b03558c6495cea49307c3db0381 (patch)
tree0651ab1c434590b9536d8c4ca6628d8c064deaae /src/server/mainwindow/mainwindow.h
parentcant fire the timer inside the button slots since they are called somewhere w... (diff)
downloadpvs2-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.h5
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;