MPRIS integration
This commit is contained in:
1 parent
df9b79fc8d
commit
b36154bcff
36 files changed
+5657
-1
No files matched your search
@@ -15,6 +15,8 @@
|
||||
#include <KCrash>
|
||||
#include <KAboutData>
|
||||
|
||||
#include <mprisplugin.h>
|
||||
|
||||
#include "clipboard.h"
|
||||
#include "searchmodel.h"
|
||||
#include "albummodel.h"
|
||||
@@ -73,6 +75,8 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
|
||||
|
||||
QQmlApplicationEngine engine;
|
||||
|
||||
MprisPlugin(&engine).registerTypes("org.nemomobile.qtmpris");
|
||||
|
||||
qmlRegisterType<SearchModel>(URI, 1, 0, "SearchModel");
|
||||
qmlRegisterType<AlbumModel>(URI, 1, 0, "AlbumModel");
|
||||
qmlRegisterType<VideoInfoExtractor>(URI, 1, 0, "VideoInfoExtractor");
|
||||
|
||||
Reference in new issue
Block a user