mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-27 06:03:51 +03:00
15 lines
393 B
C++
15 lines
393 B
C++
|
#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");
|
||
|
}
|