diff options
| author | Fabien Proriol <fabien.proriol@kazoe.org> | 2025-05-25 17:02:01 +0200 |
|---|---|---|
| committer | Fabien Proriol <fabien.proriol@kazoe.org> | 2025-05-26 16:35:23 +0200 |
| commit | 5f85571d52e9f82486a379d017eb36eda2a9f30e (patch) | |
| tree | 3a2ef9cfea0bdbb4872be48f2eb010d730937a90 /src/kzxdg_plugin.cpp | |
| parent | 1dbc0e3c88ba271ba35bc3f82e7864c4f35e1236 (diff) | |
Change module to org.kazoe.xdg
Diffstat (limited to 'src/kzxdg_plugin.cpp')
| -rw-r--r-- | src/kzxdg_plugin.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/kzxdg_plugin.cpp b/src/kzxdg_plugin.cpp new file mode 100644 index 0000000..c11ab9e --- /dev/null +++ b/src/kzxdg_plugin.cpp @@ -0,0 +1,27 @@ +#include "kzxdg_plugin.h" + +#include "xdgentry.h" +#include "xdgdesktopentries.h" +#include "xdgdesktopfilter.h" +#include "xdgautostart.h" +#include "xdgnotificationmanager.h" +#include "xdgnotificationactions.h" +#include "xdgstatusnotifieritem.h" +#include "xdgstatusnotifierhost.h" +#include "xdgstatusnotifierwatcher.h" + +#include <qqml.h> + +void KzXdgPlugin::registerTypes(const char *uri) +{ + // @uri org.kazoe.xdg + qmlRegisterType<KaZoe::DesktopEntries>(uri, 1, 0, "DesktopEntries"); + qmlRegisterType<KaZoe::Entry>(uri, 1, 0, "Entry"); + qmlRegisterType<KaZoe::DesktopFilter>(uri, 1, 0, "DesktopFilter"); + qmlRegisterType<KaZoe::AutoStart>(uri, 1, 0, "AutoStart"); + qmlRegisterType<KaZoe::NotificationManager>(uri, 1, 0, "NotificationManager"); + qmlRegisterType<KaZoe::NotificationActions>(uri, 1, 0, "NotificationActions"); + qmlRegisterType<KaZoe::StatusNotifierItem>(uri, 1, 0, "StatusNotifierItem"); + qmlRegisterType<KaZoe::StatusNotifierHost>(uri, 1, 0, "StatusNotifierHost"); + qmlRegisterType<KaZoe::StatusNotifierWatcher>(uri, 1, 0, "StatusNotifierWatcher"); +} |
