refactoring for proxy models

This commit is contained in:
Chris Cochrun 2023-02-17 13:12:55 -06:00
parent 3b35424a0c
commit 85318706fc
6 changed files with 68 additions and 57 deletions

View file

@ -132,25 +132,16 @@ Controls.Page {
id: pWindow
}
SongSqlModel {
id: songsqlmodel
}
VideoSqlModel {
id: videosqlmodel
}
ImageSqlModel {
id: imagesqlmodel
}
PresentationSqlModel {
id: pressqlmodel
}
ServiceThing {
id: serviceThing
}
SongProxyModel { id: songProxyModel }
VideoProxyModel { id: videoProxyModel }
ImageProxyModel { id: imageProxyModel }
PresentationProxyModel { id: presProxyModel }
SongSqlModel { id: songSqlModel }
VideoSqlModel { id: videoSqlModel }
ImageSqlModel { id: imageSqlModel }
PresentationSqlModel { id: presSqlModel }
ServiceThing { id: serviceThing }
FileHelper { id: fileHelper }
function changeServiceItem(index) {
const item = ServiceItemModel.getItem(index);