QTfrontend/model/playerslistmodel.h
changeset 7737 ff63da8a3202
parent 7732 fad3408fdcc1
child 7765 1e162c1d6dc7
--- 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);