equal
deleted
inserted
replaced
59 QString getHost(); |
59 QString getHost(); |
60 RoomsListModel * roomsListModel(); |
60 RoomsListModel * roomsListModel(); |
61 QAbstractItemModel * lobbyPlayersModel(); |
61 QAbstractItemModel * lobbyPlayersModel(); |
62 QAbstractItemModel * roomPlayersModel(); |
62 QAbstractItemModel * roomPlayersModel(); |
63 bool allPlayersReady(); |
63 bool allPlayersReady(); |
|
64 bool m_private_game; |
64 |
65 |
65 private: |
66 private: |
66 bool isChief; |
67 bool isChief; |
67 QString mynick; |
68 QString mynick; |
68 QString myroom; |
69 QString myroom; |
103 void nickAddedLobby(const QString& nick, bool notifyNick); |
104 void nickAddedLobby(const QString& nick, bool notifyNick); |
104 void nickRemovedLobby(const QString& nick); |
105 void nickRemovedLobby(const QString& nick); |
105 void FromNet(const QByteArray & buf); |
106 void FromNet(const QByteArray & buf); |
106 void adminAccess(bool); |
107 void adminAccess(bool); |
107 void roomMaster(bool); |
108 void roomMaster(bool); |
|
109 void roomNameUpdated(const QString & name); |
108 |
110 |
109 void netSchemeConfig(QStringList &); |
111 void netSchemeConfig(QStringList &); |
110 void paramChanged(const QString & param, const QStringList & value); |
112 void paramChanged(const QString & param, const QStringList & value); |
111 void configAsked(); |
113 void configAsked(); |
112 |
114 |
127 void serverMessageOld(const QString &); |
129 void serverMessageOld(const QString &); |
128 void latestProtocolVar(int); |
130 void latestProtocolVar(int); |
129 void bansList(const QStringList &); |
131 void bansList(const QStringList &); |
130 |
132 |
131 void setMyReadyStatus(bool isReady); |
133 void setMyReadyStatus(bool isReady); |
|
134 |
|
135 void messageProcessed(); |
132 |
136 |
133 public slots: |
137 public slots: |
134 void ToggleReady(); |
138 void ToggleReady(); |
135 void chatLineToNet(const QString& str); |
139 void chatLineToNet(const QString& str); |
136 void chatLineToLobby(const QString& str); |
140 void chatLineToLobby(const QString& str); |
158 void followPlayer(const QString &); |
162 void followPlayer(const QString &); |
159 void consoleCommand(const QString &); |
163 void consoleCommand(const QString &); |
160 void startGame(); |
164 void startGame(); |
161 void toggleRestrictJoins(); |
165 void toggleRestrictJoins(); |
162 void toggleRestrictTeamAdds(); |
166 void toggleRestrictTeamAdds(); |
|
167 void toggleRegisteredOnly(); |
163 void partRoom(); |
168 void partRoom(); |
164 void clearAccountsCache(); |
169 void clearAccountsCache(); |
165 void getBanList(); |
170 void getBanList(); |
166 void removeBan(const QString &); |
171 void removeBan(const QString &); |
167 void banIP(const QString & ip, const QString & reason, int seconds); |
172 void banIP(const QString & ip, const QString & reason, int seconds); |