diff -r 2013733f9ca9 -r 262228c64f15 QTfrontend/model/playerslistmodel.h --- a/QTfrontend/model/playerslistmodel.h Mon Oct 08 13:27:46 2012 -0400 +++ b/QTfrontend/model/playerslistmodel.h Mon Oct 08 23:57:17 2012 +0400 @@ -21,7 +21,8 @@ }; enum SpecialRoles { - SortRole = Qt::UserRole + 100 + SortRole = Qt::UserRole + 100, + RoomFilterRole = Qt::UserRole + 101 }; explicit PlayersListModel(QObject *parent = 0); @@ -38,7 +39,10 @@ public slots: void addPlayer(const QString & nickname); 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(); private: QHash & m_icons();