removing mpv pieces

This commit is contained in:
Chris Cochrun 2024-09-14 07:31:42 -05:00
parent e9d0bdb5c5
commit 8ae9911ee3
5 changed files with 11 additions and 17 deletions

View file

@ -14,8 +14,8 @@ target_sources(lumina
# cpp/imagesqlmodel.cpp cpp/imagesqlmodel.h
# cpp/filemanager.cpp cpp/filemanager.h
# cpp/presentationsqlmodel.cpp cpp/presentationsqlmodel.h
cpp/mpv/mpvitem.h cpp/mpv/mpvitem.cpp
cpp/mpv/mpvproperties.h
# cpp/mpv/mpvitem.h cpp/mpv/mpvitem.cpp
# cpp/mpv/mpvproperties.h
)
target_compile_options (lumina PUBLIC -fexceptions)

View file

@ -37,9 +37,9 @@
#include <qsqldatabase.h>
#include <qsqlquery.h>
#include <qstringliteral.h>
#include <MpvAbstractItem>
#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"
@ -199,8 +199,8 @@ int main(int argc, char *argv[])
qmlRegisterType<Ytdl>("org.presenter", 1, 0, "Ytdl");
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());
// qmlRegisterType<MpvItem>("mpv", 1, 0, "MpvItem");
// qmlRegisterSingletonInstance("mpv", 1, 0, "MpvProperties", MpvProperties::self());
qmlRegisterSingletonInstance("org.presenter", 1, 0,

View file

@ -177,11 +177,6 @@ Item {
console.log("revealPrev")
web.runJavaScript("Reveal.prev()")
}
/* function onSlideChanged() { */
/* video.stop(); */
/* video.seek(); */
/* } */
}
function changeText(text) {

View file

@ -5,7 +5,6 @@ import org.kde.kirigami 2.13 as Kirigami
import QtMultimedia
import "./" as Presenter
import org.presenter 1.0
import mpv 1.0
Item {
id: root