You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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");
|
|
}
|