mirror of
https://github.com/KDE/latte-dock.git
synced 2025-02-10 09:57:35 +03:00
15 lines
378 B
C++
15 lines
378 B
C++
#include "lattedockplugin.h"
|
|
#include "windowsystem.h"
|
|
#include "dock.h"
|
|
|
|
#include <qqml.h>
|
|
|
|
void LatteDockPlugin::registerTypes(const char *uri)
|
|
{
|
|
Q_ASSERT(uri == QLatin1String("org.kde.latte"));
|
|
|
|
qmlRegisterUncreatableType<Latte::Dock>(uri, 0, 1, "Dock", "Latte Dock Types uncreatable");
|
|
|
|
qmlRegisterType<Latte::WindowSystem>(uri, 0, 1, "WindowSystem");
|
|
}
|