equal
deleted
inserted
replaced
18 |
18 |
19 #ifndef PAGE_ROOMLIST_H |
19 #ifndef PAGE_ROOMLIST_H |
20 #define PAGE_ROOMLIST_H |
20 #define PAGE_ROOMLIST_H |
21 |
21 |
22 #include "AbstractPage.h" |
22 #include "AbstractPage.h" |
23 #include "SDLs.h" |
|
24 |
23 |
25 class HWChatWidget; |
24 class HWChatWidget; |
26 class AmmoSchemeModel; |
25 class AmmoSchemeModel; |
27 |
26 |
28 class PageRoomsList : public AbstractPage |
27 class PageRoomsList : public AbstractPage |
29 { |
28 { |
30 Q_OBJECT |
29 Q_OBJECT |
31 |
30 |
32 public: |
31 public: |
33 PageRoomsList(QWidget* parent, QSettings * config, SDLInteraction * sdli); |
32 PageRoomsList(QWidget* parent, QSettings * config); |
34 |
33 |
35 QLineEdit * roomName; |
34 QLineEdit * roomName; |
36 QLineEdit * searchText; |
35 QLineEdit * searchText; |
37 QTableWidget * roomsList; |
36 QTableWidget * roomsList; |
38 QPushButton * BtnCreate; |
37 QPushButton * BtnCreate; |
69 void onClearClick(); |
68 void onClearClick(); |
70 void onJoinConfirmation(const QString &); |
69 void onJoinConfirmation(const QString &); |
71 |
70 |
72 private: |
71 private: |
73 QSettings * m_gameSettings; |
72 QSettings * m_gameSettings; |
74 SDLInteraction * m_sdli; |
|
75 |
73 |
76 bool gameInLobby; |
74 bool gameInLobby; |
77 QString gameInLobbyName; |
75 QString gameInLobbyName; |
78 QStringList listFromServer; |
76 QStringList listFromServer; |
79 AmmoSchemeModel * ammoSchemeModel; |
77 AmmoSchemeModel * ammoSchemeModel; |