added a serviceitemmodel and working on implementing move and insert
This commit is contained in:
parent
2857ce6c2b
commit
105c958810
9 changed files with 396 additions and 159 deletions
|
@ -31,6 +31,7 @@
|
|||
#include <qstringliteral.h>
|
||||
|
||||
#include "mpv/mpvobject.h"
|
||||
#include "serviceitemmodel.h"
|
||||
#include "songsqlmodel.h"
|
||||
#include "videosqlmodel.h"
|
||||
|
||||
|
@ -89,6 +90,7 @@ int main(int argc, char *argv[])
|
|||
//register our models
|
||||
qmlRegisterType<SongSqlModel>("org.presenter", 1, 0, "SongSqlModel");
|
||||
qmlRegisterType<VideoSqlModel>("org.presenter", 1, 0, "VideoSqlModel");
|
||||
qmlRegisterType<ServiceItemModel>("org.presenter", 1, 0, "ServiceItemModel");
|
||||
|
||||
connectToDatabase();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue