equal
deleted
inserted
replaced
21 |
21 |
22 #include "AbstractPage.h" |
22 #include "AbstractPage.h" |
23 |
23 |
24 class HWChatWidget; |
24 class HWChatWidget; |
25 class AmmoSchemeModel; |
25 class AmmoSchemeModel; |
|
26 class QTableView; |
26 |
27 |
27 class PageRoomsList : public AbstractPage |
28 class PageRoomsList : public AbstractPage |
28 { |
29 { |
29 Q_OBJECT |
30 Q_OBJECT |
30 |
31 |
34 void displayNotice(const QString & message); |
35 void displayNotice(const QString & message); |
35 void displayWarning(const QString & message); |
36 void displayWarning(const QString & message); |
36 |
37 |
37 QLineEdit * roomName; |
38 QLineEdit * roomName; |
38 QLineEdit * searchText; |
39 QLineEdit * searchText; |
39 QTableWidget * roomsList; |
40 QTableView * roomsList; |
40 QPushButton * BtnCreate; |
41 QPushButton * BtnCreate; |
41 QPushButton * BtnJoin; |
42 QPushButton * BtnJoin; |
42 QPushButton * BtnRefresh; |
43 QPushButton * BtnRefresh; |
43 QPushButton * BtnAdmin; |
44 QPushButton * BtnAdmin; |
44 QPushButton * BtnClear; |
45 QPushButton * BtnClear; |
48 HWChatWidget * chatWidget; |
49 HWChatWidget * chatWidget; |
49 QLabel * lblCount; |
50 QLabel * lblCount; |
50 |
51 |
51 public slots: |
52 public slots: |
52 void setAdmin(bool); |
53 void setAdmin(bool); |
53 void setRoomsList(const QStringList & list); |
|
54 void setUser(const QString & nickname); |
54 void setUser(const QString & nickname); |
55 void updateNickCounter(int cnt); |
55 void updateNickCounter(int cnt); |
56 |
56 |
57 signals: |
57 signals: |
58 void askForCreateRoom(const QString &); |
58 void askForCreateRoom(const QString &); |