/* SPDX-FileCopyrightText: 2014 Eike Hein SPDX-License-Identifier: GPL-2.0-or-later */ #include "kickerplugin.h" #include "abstractmodel.h" #include "appsmodel.h" #include "computermodel.h" #include "containmentinterface.h" #include "dashboardwindow.h" #include "draghelper.h" #include "funnelmodel.h" #include "kastatsfavoritesmodel.h" #include "kickercompattrianglemousefilter.h" #include "processrunner.h" #include "recentusagemodel.h" #include "rootmodel.h" #include "runnermodel.h" #include "simplefavoritesmodel.h" #include "submenu.h" #include "systemmodel.h" #include "systemsettings.h" #include "wheelinterceptor.h" #include "windowsystem.h" void KickerPlugin::registerTypes(const char *uri) { Q_ASSERT(QLatin1String(uri) == QLatin1String("org.kde.plasma.private.kicker")); qmlRegisterAnonymousType("", 1); qmlRegisterType(uri, 0, 1, "AppsModel"); qmlRegisterType(uri, 0, 1, "ComputerModel"); qmlRegisterType(uri, 0, 1, "ContainmentInterface"); qmlRegisterType(uri, 0, 1, "DragHelper"); qmlRegisterType(uri, 0, 1, "FavoritesModel"); qmlRegisterType(uri, 0, 1, "KAStatsFavoritesModel"); qmlRegisterType(uri, 0, 1, "DashboardWindow"); qmlRegisterType(uri, 0, 1, "FunnelModel"); qmlRegisterType(uri, 0, 1, "ProcessRunner"); qmlRegisterType(uri, 0, 1, "RecentUsageModel"); qmlRegisterType(uri, 0, 1, "RootModel"); qmlRegisterType(uri, 0, 1, "RunnerModel"); qmlRegisterType(uri, 0, 1, "SubMenu"); qmlRegisterType(uri, 0, 1, "SystemModel"); qmlRegisterType(uri, 0, 1, "SystemSettings"); qmlRegisterType(uri, 0, 1, "WheelInterceptor"); qmlRegisterType(uri, 0, 1, "WindowSystem"); qmlRegisterType(uri, 0, 1, "TriangleMouseFilter"); }