summaryrefslogtreecommitdiffstats
path: root/src/server/mainwindow/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/mainwindow/mainwindow.h')
-rw-r--r--src/server/mainwindow/mainwindow.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/mainwindow/mainwindow.h b/src/server/mainwindow/mainwindow.h
index fae0c7d..a3287f1 100644
--- a/src/server/mainwindow/mainwindow.h
+++ b/src/server/mainwindow/mainwindow.h
@@ -52,6 +52,9 @@ private:
QList<QAction*> _lockingButtons;
static const qint64 _buttonBlockTime = 2000;
+ /* Context-sensitive Buttons */
+ QList<QAction*> _contextButtons;
+
// Management stuff
enum class Mode {
Broadcast,
@@ -90,6 +93,9 @@ private:
int getTileWidthPx() const;
int getTileHeightPx() const;
+ void lockContextButtons();
+ void unlockContextButtons();
+
protected slots:
void onTutorListDownloaded(QByteArray& tutorList);
void onSessionNameClick();