diff -r 404ddce27b23 -r c13ebed437cb QTfrontend/hwform.h --- a/QTfrontend/hwform.h Wed Feb 20 02:21:58 2013 +0100 +++ b/QTfrontend/hwform.h Tue Apr 02 21:00:57 2013 +0200 @@ -62,12 +62,14 @@ Ui_HWForm ui; static GameUIConfig * config; void updateXfire(); - void PlayDemoQuick(const QString & demofilename); void exit(); void setButtonDescription(QString desc); void backDescription(); void GoToVideos(); + void NetConnectQuick(const QString & host, quint16 port); + void PlayDemoQuick(const QString & demofilename); + private slots: void GoToSaves(); void GoToDemos(); @@ -143,6 +145,7 @@ private: void _NetConnect(const QString & hostName, quint16 port, QString nick); + int AskForNickAndPwd(void); void UpdateTeamsLists(); void CreateGame(GameCFGWidget * gamecfg, TeamSelWidget* pTeamSelWidget, QString ammo); void closeEvent(QCloseEvent *event);