aboutsummaryrefslogtreecommitdiff
path: root/gui/MainWindow.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-01-12 22:34:53 +0100
committerPetr Mrázek <peterix@gmail.com>2014-01-12 22:34:53 +0100
commitf552366e03cd6bd693850e24503bf3bf3559cfd0 (patch)
tree7ac1fc527254522d4f1d6308ccc64f3b5e85843b /gui/MainWindow.h
parentb589a12d1765f8df616779c53e614adef2e4c48e (diff)
parent398167e8b01732badaa2c757b1547e879a369945 (diff)
downloadPrismLauncher-f552366e03cd6bd693850e24503bf3bf3559cfd0.tar.gz
PrismLauncher-f552366e03cd6bd693850e24503bf3bf3559cfd0.tar.bz2
PrismLauncher-f552366e03cd6bd693850e24503bf3bf3559cfd0.zip
Merge branch 'feature_mojang_status' into develop
Diffstat (limited to 'gui/MainWindow.h')
-rw-r--r--gui/MainWindow.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gui/MainWindow.h b/gui/MainWindow.h
index 12d76da4..eb478776 100644
--- a/gui/MainWindow.h
+++ b/gui/MainWindow.h
@@ -17,6 +17,7 @@
#include <QMainWindow>
#include <QProcess>
+#include <QTimer>
#include "logic/lists/InstanceList.h"
#include "logic/BaseInstance.h"
@@ -168,6 +169,12 @@ slots:
void repopulateAccountsMenu();
void updateNewsLabel();
+
+ void updateStatusUI();
+
+ void updateStatusFailedUI();
+
+ void reloadStatus();
/*!
* Runs the DownloadUpdateTask and installs updates.
@@ -198,8 +205,12 @@ private:
Task *m_versionLoadTask;
QLabel *m_statusLeft;
+ QLabel *m_statusRight;
+ QToolButton *m_statusRefresh;
QMenu *accountMenu;
QToolButton *accountMenuButton;
QAction *manageAccountsAction;
+
+ QTimer statusTimer;
};