diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-01-12 22:34:53 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-01-12 22:34:53 +0100 |
commit | f552366e03cd6bd693850e24503bf3bf3559cfd0 (patch) | |
tree | 7ac1fc527254522d4f1d6308ccc64f3b5e85843b /gui/MainWindow.h | |
parent | b589a12d1765f8df616779c53e614adef2e4c48e (diff) | |
parent | 398167e8b01732badaa2c757b1547e879a369945 (diff) | |
download | PrismLauncher-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.h | 11 |
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; }; |