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
393 B
C++
Raw Normal View History

#include "lattedockplugin.h"
#include "windowsystem.h"
#include "types.h"
#include <qqml.h>
void LatteDockPlugin::registerTypes(const char *uri)
{
Q_ASSERT(uri == QLatin1String("org.kde.latte.dock"));
qmlRegisterUncreatableType<LatteDock::Types>(uri, 0, 1, "Types", "LatteDock Types uncreatable");
qmlRegisterType<LatteDock::WindowSystem>(uri, 0, 1, "WindowSystem");
}