next steps serverlist gui

This commit is contained in:
doitux
2009-04-05 13:02:25 +00:00
parent 43dc297e18
commit 4bfa4333d7
6 changed files with 22 additions and 2 deletions
@@ -34,6 +34,7 @@ serverListDialogImpl::serverListDialogImpl(startWindowImpl *sw, QMainWindow *par
connect( buttonBox, SIGNAL( accepted() ), this, SLOT( connectToServer() ));
connect( buttonBox, SIGNAL( rejected() ), this, SLOT( closeNetworkClient() ));
}
@@ -63,3 +64,8 @@ void serverListDialogImpl::connectToServer()
mySw->getSession()->selectServer(item->data(0, Qt::UserRole).toUInt());
}
}
void serverListDialogImpl::closeNetworkClient() {
mySw->getSession()->terminateNetworkClient();
}
@@ -40,6 +40,7 @@ public slots:
void clearList();
void addServerItem(unsigned);
void connectToServer();
void closeNetworkClient();
private: