--- a/QTfrontend/model/playerslistmodel.h Wed Oct 10 00:18:35 2012 +0400
+++ b/QTfrontend/model/playerslistmodel.h Wed Oct 10 00:21:18 2012 +0400
@@ -32,6 +32,8 @@
QVariant data(const QModelIndex &index, int role) const;
bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::DisplayRole);
+ void setFlag(const QString & nickname, StateFlag flagType, bool isSet);
+ bool isFlagSet(const QString & nickname, StateFlag flagType);
bool insertRow(int row, const QModelIndex &parent = QModelIndex());
bool insertRows(int row, int count, const QModelIndex &parent = QModelIndex());
@@ -42,7 +44,6 @@
void removePlayer(const QString & nickname);
void playerJoinedRoom(const QString & nickname);
void playerLeftRoom(const QString & nickname);
- void setFlag(const QString & nickname, StateFlag flagType, bool isSet);
void resetRoomFlags();
void setNickname(const QString & nickname);