summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtSingleWindow.h')
-rw-r--r--Swift/QtUI/QtSingleWindow.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/Swift/QtUI/QtSingleWindow.h b/Swift/QtUI/QtSingleWindow.h
index 9a7e475..a707cd3 100644
--- a/Swift/QtUI/QtSingleWindow.h
+++ b/Swift/QtUI/QtSingleWindow.h
@@ -12,2 +12,3 @@
+#include <Swift/QtUI/ServerList/ServerListModel.h>
@@ -17,2 +18,4 @@ namespace Swift {
class QtSettingsProvider;
+ class QtServerListView;
+ class ServerListModel;
@@ -34,3 +37,3 @@ namespace Swift {
void handleTabsTitleChanged(const QString& title);
- void handleListItemClicked(QListWidgetItem*);
+ void handleListItemClicked(const QModelIndex&);
private:
@@ -42,3 +45,5 @@ namespace Swift {
QtSettingsProvider* settings_;
- QListWidget* list_;
+ SwiftAccountData accountData_;
+ QtServerListView* serverList_;
+ ServerListModel* serverListModel_;
QStackedWidget* loginWindows_;