|
|
|
@ -21,6 +21,7 @@
|
|
|
|
|
#include "lattecoreplugin.h"
|
|
|
|
|
|
|
|
|
|
// local
|
|
|
|
|
#include "dialog.h"
|
|
|
|
|
#include "environment.h"
|
|
|
|
|
#include "iconitem.h"
|
|
|
|
|
#include "quickwindowsystem.h"
|
|
|
|
@ -37,6 +38,7 @@ void LatteCorePlugin::registerTypes(const char *uri)
|
|
|
|
|
Q_ASSERT(uri == QLatin1String("org.kde.latte.core"));
|
|
|
|
|
qmlRegisterUncreatableType<Latte::Types>(uri, 0, 2, "Types", "Latte Types uncreatable");
|
|
|
|
|
qmlRegisterType<Latte::IconItem>(uri, 0, 2, "IconItem");
|
|
|
|
|
qmlRegisterType<Latte::Quick::Dialog>(uri, 0, 2, "Dialog");
|
|
|
|
|
qmlRegisterSingletonType<Latte::Environment>(uri, 0, 2, "Environment", &Latte::environment_qobject_singletontype_provider);
|
|
|
|
|
qmlRegisterSingletonType<Latte::Tools>(uri, 0, 2, "Tools", &Latte::tools_qobject_singletontype_provider);
|
|
|
|
|
qmlRegisterSingletonType<Latte::QuickWindowSystem>(uri, 0, 2, "WindowSystem", &Latte::windowsystem_qobject_singletontype_provider);
|
|
|
|
|