QTfrontend/model/roomslistmodel.h
changeset 6733 5abbc345a82f
parent 6732 c906dc78091f
child 6966 eda4f63bec41
--- a/QTfrontend/model/roomslistmodel.h	Thu Feb 23 00:46:03 2012 +0400
+++ b/QTfrontend/model/roomslistmodel.h	Thu Feb 23 18:41:52 2012 +0400
@@ -15,9 +15,17 @@
     int columnCount(const QModelIndex & parent) const;
     QVariant data(const QModelIndex &index, int role) const;
 
+public slots:
+    void setRoomsList(const QStringList & rooms);
+    void addRoom(const QStringList & info);
+    void removeRoom(const QString & name);
+    void updateRoom(const QString & name, const QStringList & info);
+
 private:
     QList<QStringList> m_data;
     QStringList m_headerData;
+
+    QStringList roomInfo2RoomRecord(const QStringList & info);
 };
 
 #endif // ROOMSLISTMODEL_H