adding a proxyModel
This commit is contained in:
parent
1c1140915e
commit
13c8704bdc
4 changed files with 25 additions and 2 deletions
|
@ -172,7 +172,7 @@ int main(int argc, char *argv[])
|
|||
qmlRegisterType<MpvObject>("mpv", 1, 0, "MpvObject");
|
||||
|
||||
//register our models
|
||||
qmlRegisterType<SongSqlModel>("org.presenter", 1, 0, "SongSqlModel");
|
||||
qmlRegisterType<SongProxyModel>("org.presenter", 1, 0, "SongSqlModel");
|
||||
qmlRegisterType<VideoSqlModel>("org.presenter", 1, 0, "VideoSqlModel");
|
||||
qmlRegisterType<ImageSqlModel>("org.presenter", 1, 0, "ImageSqlModel");
|
||||
qmlRegisterType<PresentationSqlModel>("org.presenter", 1, 0, "PresentationSqlModel");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue