diff options
author | Andrew <forkk@forkk.net> | 2013-03-13 13:25:24 -0500 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-03-13 13:25:24 -0500 |
commit | 8864c7ebdc7c6591f17ed65a474113b66e974488 (patch) | |
tree | 4a8ad6a1e771834f2060fcffd77e2dc820fb5cab /gui/mainwindow.h | |
parent | f0cb300d04aac77fbe6e03dfdbe201f5f834d886 (diff) | |
parent | 46f93311afc9f1e2afc306f63cee0e4f462758e2 (diff) | |
download | MultiMC-8864c7ebdc7c6591f17ed65a474113b66e974488.tar MultiMC-8864c7ebdc7c6591f17ed65a474113b66e974488.tar.gz MultiMC-8864c7ebdc7c6591f17ed65a474113b66e974488.tar.lz MultiMC-8864c7ebdc7c6591f17ed65a474113b66e974488.tar.xz MultiMC-8864c7ebdc7c6591f17ed65a474113b66e974488.zip |
Merge branch 'master' of git://github.com/peterix/MultiMC5
Diffstat (limited to 'gui/mainwindow.h')
-rw-r--r-- | gui/mainwindow.h | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/gui/mainwindow.h b/gui/mainwindow.h index 5ea575a6..c2dedf74 100644 --- a/gui/mainwindow.h +++ b/gui/mainwindow.h @@ -20,6 +20,12 @@ #include "instancelist.h" #include "loginresponse.h" +#include "instance.h" + +class InstanceModel; +class InstanceProxyModel; +class KCategorizedView; +class KCategoryDrawer; namespace Ui { @@ -67,14 +73,21 @@ private slots: void on_actionMakeDesktopShortcut_triggered(); - void doLogin(const QString& errorMsg = ""); - + void doLogin( QString inst, const QString& errorMsg = "" ); - void onLoginComplete(LoginResponse response); + void onLoginComplete( QString inst, LoginResponse response ); + void onLoginFailed( QString inst, const QString& errorMsg ); + +public slots: + void instanceActivated ( QModelIndex ); + private: Ui::MainWindow *ui; - + KCategoryDrawer * drawer; + KCategorizedView * view; + InstanceModel * model; + InstanceProxyModel * proxymodel; InstanceList instList; }; |