diff options
Diffstat (limited to 'include/RoomList.h')
-rw-r--r-- | include/RoomList.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/RoomList.h b/include/RoomList.h index d679c785..313fab9e 100644 --- a/include/RoomList.h +++ b/include/RoomList.h @@ -39,9 +39,10 @@ public: explicit RoomList(QWidget *parent = 0); ~RoomList(); - void appendRoom(QString name); void setInitialRooms(const Rooms &rooms); void updateRoomAvatar(const QString &roomid, const QImage &avatar_image); + void clear(); + RoomInfo extractRoomInfo(const State &room_state); signals: @@ -54,7 +55,7 @@ public slots: private: Ui::RoomList *ui; - QMap<QString, RoomInfoListItem *> available_rooms_; + QMap<QString, RoomInfoListItem *> rooms_; }; #endif // ROOMLIST_H |