File indexing completed on 2024-05-12 17:08:57
0001 /* 0002 SPDX-FileCopyrightText: 2014 David Edmundson <davidedmundson@kde.org> 0003 0004 SPDX-License-Identifier: MIT 0005 */ 0006 0007 #include "shellprivateplugin.h" 0008 #include "config-shellprivate.h" 0009 0010 #include <QQmlEngine> 0011 0012 #include "widgetexplorer/widgetexplorer.h" 0013 #include <Plasma/Containment> 0014 0015 void PlasmaShellPrivatePlugin::registerTypes(const char *uri) 0016 { 0017 Q_ASSERT(uri == QLatin1String("org.kde.plasma.private.shell")); 0018 0019 qmlRegisterAnonymousType<Plasma::Containment>("", 1); 0020 qmlRegisterType<WidgetExplorer>(uri, 2, 0, "WidgetExplorer"); 0021 }