1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-27 06:03:51 +03:00
latte-dock/liblattedock/lattedockplugin.cpp

15 lines
378 B
C++
Raw Normal View History

#include "lattedockplugin.h"
#include "windowsystem.h"
2016-12-25 21:28:00 +02:00
#include "dock.h"
#include <qqml.h>
void LatteDockPlugin::registerTypes(const char *uri)
{
Q_ASSERT(uri == QLatin1String("org.kde.latte"));
2016-12-25 21:28:00 +02:00
qmlRegisterUncreatableType<Latte::Dock>(uri, 0, 1, "Dock", "Latte Dock Types uncreatable");
2016-12-25 21:28:00 +02:00
qmlRegisterType<Latte::WindowSystem>(uri, 0, 1, "WindowSystem");
}