moment/harmonyqml/components/SidePane/RoomList.qml
miruka 52d538e995 Merge Backend and QMLModels
Backend.models.accounts → Backend.accounts
Backend.models.roomEvents → Backend.roomEvents
2019-05-02 14:31:47 -04:00

14 lines
297 B
QML

import QtQuick 2.7
import QtQuick.Layouts 1.3
import "../Base"
ListView {
property string userId: ""
property string category: ""
id: roomList
spacing: accountList.spacing
model: Backend.accounts.get(userId).roomCategories.get(category).rooms
delegate: RoomDelegate {}
}