--- a/QTfrontend/pageroomslist.h Mon Sep 26 21:45:33 2011 +0400
+++ b/QTfrontend/pageroomslist.h Tue Sep 27 00:38:39 2011 +0200
@@ -46,18 +46,22 @@
HWChatWidget * chatWidget;
QLabel * lblCount;
-private:
- bool gameInLobby;
- QString gameInLobbyName;
- QStringList listFromServer;
- AmmoSchemeModel * ammoSchemeModel;
- QPushButton * BtnBack;
-
public slots:
void setRoomsList(const QStringList & list);
void setAdmin(bool);
void updateNickCounter(int cnt);
+signals:
+ void askForCreateRoom(const QString &);
+ void askForJoinRoom(const QString &);
+ void askForRoomList();
+ void askJoinConfirmation(const QString &);
+
+protected:
+ QLayout * bodyLayoutDefinition();
+ QLayout * footerLayoutDefinition();
+ void connectSignals();
+
private slots:
void onCreateClick();
void onJoinClick();
@@ -65,11 +69,15 @@
void onClearClick();
void onJoinConfirmation(const QString &);
-signals:
- void askForCreateRoom(const QString &);
- void askForJoinRoom(const QString &);
- void askForRoomList();
- void askJoinConfirmation(const QString &);
+private:
+ QSettings * m_gameSettings;
+ SDLInteraction * m_sdli;
+
+ bool gameInLobby;
+ QString gameInLobbyName;
+ QStringList listFromServer;
+ AmmoSchemeModel * ammoSchemeModel;
+
};
#endif