diff options
author | Sky <git@bunnies.cc> | 2014-01-12 18:28:42 +0000 |
---|---|---|
committer | Sky <git@bunnies.cc> | 2014-01-12 18:28:42 +0000 |
commit | a774b3d24816aa0010e1d5f67b20acb99e7181ac (patch) | |
tree | 384c51d242898d3b7a145ed987bcfb8c54c040ba /gui/MainWindow.h | |
parent | 498520446fcd10003226822f5ada9c2fe90e8c63 (diff) | |
download | MultiMC-a774b3d24816aa0010e1d5f67b20acb99e7181ac.tar MultiMC-a774b3d24816aa0010e1d5f67b20acb99e7181ac.tar.gz MultiMC-a774b3d24816aa0010e1d5f67b20acb99e7181ac.tar.lz MultiMC-a774b3d24816aa0010e1d5f67b20acb99e7181ac.tar.xz MultiMC-a774b3d24816aa0010e1d5f67b20acb99e7181ac.zip |
Show Mojang service statuses in status bar
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; }; |