equal
deleted
inserted
replaced
74 bool m_nick_registered; |
74 bool m_nick_registered; |
75 RoomsListModel * m_roomsListModel; |
75 RoomsListModel * m_roomsListModel; |
76 PlayersListModel * m_playersModel; |
76 PlayersListModel * m_playersModel; |
77 QSortFilterProxyModel * m_lobbyPlayersModel; |
77 QSortFilterProxyModel * m_lobbyPlayersModel; |
78 QSortFilterProxyModel * m_roomPlayersModel; |
78 QSortFilterProxyModel * m_roomPlayersModel; |
|
79 QString m_lastRoom; |
79 |
80 |
80 QStringList cmdbuf; |
81 QStringList cmdbuf; |
81 |
82 |
82 void RawSendNet(const QString & buf); |
83 void RawSendNet(const QString & buf); |
83 void RawSendNet(const QByteArray & buf); |
84 void RawSendNet(const QByteArray & buf); |
101 void LeftRoom(const QString & reason); |
102 void LeftRoom(const QString & reason); |
102 void FromNet(const QByteArray & buf); |
103 void FromNet(const QByteArray & buf); |
103 void adminAccess(bool); |
104 void adminAccess(bool); |
104 void roomMaster(bool); |
105 void roomMaster(bool); |
105 void roomNameUpdated(const QString & name); |
106 void roomNameUpdated(const QString & name); |
|
107 void askForRoomPassword(); |
106 |
108 |
107 void netSchemeConfig(QStringList &); |
109 void netSchemeConfig(QStringList &); |
108 void paramChanged(const QString & param, const QStringList & value); |
110 void paramChanged(const QString & param, const QStringList & value); |
109 void configAsked(); |
111 void configAsked(); |
110 |
112 |
151 void setServerMessageNew(const QString &); |
153 void setServerMessageNew(const QString &); |
152 void setServerMessageOld(const QString &); |
154 void setServerMessageOld(const QString &); |
153 void setLatestProtocolVar(int proto); |
155 void setLatestProtocolVar(int proto); |
154 void askServerVars(); |
156 void askServerVars(); |
155 |
157 |
156 void JoinRoom(const QString & room); |
158 void JoinRoom(const QString & room, const QString & password); |
157 void CreateRoom(const QString & room); |
159 void CreateRoom(const QString & room, const QString &password); |
158 void updateRoomName(const QString &); |
160 void updateRoomName(const QString &); |
159 void askRoomsList(); |
161 void askRoomsList(); |
160 void gameFinished(bool correcly); |
162 void gameFinished(bool correcly); |
161 void banPlayer(const QString &); |
163 void banPlayer(const QString &); |
162 void kickPlayer(const QString &); |
164 void kickPlayer(const QString &); |
171 void clearAccountsCache(); |
173 void clearAccountsCache(); |
172 void getBanList(); |
174 void getBanList(); |
173 void removeBan(const QString &); |
175 void removeBan(const QString &); |
174 void banIP(const QString & ip, const QString & reason, int seconds); |
176 void banIP(const QString & ip, const QString & reason, int seconds); |
175 void banNick(const QString & nick, const QString & reason, int seconds); |
177 void banNick(const QString & nick, const QString & reason, int seconds); |
|
178 void roomPasswordEntered(const QString & password); |
176 |
179 |
177 private slots: |
180 private slots: |
178 void ClientRead(); |
181 void ClientRead(); |
179 void OnConnect(); |
182 void OnConnect(); |
180 void OnDisconnect(); |
183 void OnDisconnect(); |