summaryrefslogtreecommitdiffstats
path: root/src/server/mainwindow/mainwindow.h
diff options
context:
space:
mode:
authorManuel Schneider2014-04-29 19:59:11 +0200
committerManuel Schneider2014-04-29 19:59:11 +0200
commite361357e513b8a3ed044dd22c548dae5fefe8ad5 (patch)
tree86b320bf2396a5da1dfd7effeea95d7af5cbbcf2 /src/server/mainwindow/mainwindow.h
parentAdding comments for each method in the .cpp files and class definition in the... (diff)
downloadpvs2-e361357e513b8a3ed044dd22c548dae5fefe8ad5.tar.gz
pvs2-e361357e513b8a3ed044dd22c548dae5fefe8ad5.tar.xz
pvs2-e361357e513b8a3ed044dd22c548dae5fefe8ad5.zip
Disable all buttons if one is clicked and enable them after a specified time
Diffstat (limited to 'src/server/mainwindow/mainwindow.h')
-rw-r--r--src/server/mainwindow/mainwindow.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/mainwindow/mainwindow.h b/src/server/mainwindow/mainwindow.h
index e5179ed..38b0f83 100644
--- a/src/server/mainwindow/mainwindow.h
+++ b/src/server/mainwindow/mainwindow.h
@@ -61,7 +61,6 @@ private:
void savePosition(ConnectionFrame *cf);
void prepareForProjection(Client * const from, Client * const to);
bool isValidClient(Client* client);
- bool areButtonsBlocked();
public:
MainWindow(QString ipListUrl, QWidget *parent = 0);
@@ -98,5 +97,8 @@ protected slots:
void onClientAuthenticated(Client* client);
void onVncServerStateChange(Client* client);
void onVncClientStateChange(Client* client, int lastProjectionSource);
+ //Buttons
+ void DisableButtons();
+ void EnableButtons();
};
#endif