fixing more of the VideoEditor

This commit is contained in:
Chris Cochrun 2024-09-14 06:23:20 -05:00
parent c5ed583522
commit 433ccf345b
5 changed files with 60 additions and 24 deletions

View file

@ -37,9 +37,9 @@
#include <qsqldatabase.h>
#include <qsqlquery.h>
#include <qstringliteral.h>
// #include "cpp/mpv/mpvitem.h"
// #include "cpp/mpv/mpvproperties.h"
#include <MpvAbstractItem>
#include "cpp/mpv/mpvitem.h"
#include "cpp/mpv/mpvproperties.h"
// #include "cpp/serviceitemmodel.h"
// #include "cpp/slidemodel.h"
// #include "cpp/songsqlmodel.h"
@ -197,8 +197,12 @@ int main(int argc, char *argv[])
// qmlRegisterType<PresentationSqlModel>("org.presenter", 1, 0, "PresentationSqlModel");
qmlRegisterType<FileHelper>("org.presenter", 1, 0, "FileHelper");
qmlRegisterType<Ytdl>("org.presenter", 1, 0, "Ytdl");
// qmlRegisterType<ServiceThing>("org.presenter", 1, 0, "ServiceThing");
qmlRegisterType<SlideHelper>("org.presenter", 1, 0, "SlideHelper");
qmlRegisterType<ServiceThing>("org.presenter", 1, 0, "ServiceThing");
// qmlRegisterType<SlideHelper>("org.presenter", 1, 0, "SlideHelper");
qmlRegisterType<MpvItem>("mpv", 1, 0, "MpvItem");
qmlRegisterSingletonInstance("mpv", 1, 0, "MpvProperties", MpvProperties::self());
qmlRegisterSingletonInstance("org.presenter", 1, 0,
"ServiceItemModel", serviceItemModel.get());
// qmlRegisterSingletonInstance("org.presenter", 1, 0,