KDeclarative

kcmcontrolsplugin.cpp
1 /*
2  SPDX-FileCopyrightText: 2017 Marco Martin <[email protected]>
3 
4  SPDX-License-Identifier: MIT
5 */
6 
7 #include "kcmcontrolsplugin.h"
8 
9 
10 #include <KQuickAddons/ConfigModule>
11 #include "settingstateproxy.h"
12 #include "settinghighlighterprivate.h"
13 
14 void KCMControlsPlugin::registerTypes(const char *uri)
15 {
16  Q_ASSERT(uri == QByteArray("org.kde.kcm"));
17 
18  qmlRegisterUncreatableType<KQuickAddons::ConfigModule>(uri, 1, 0, "ConfigModule",
19  QLatin1String("Do not create objects of type ConfigModule"));
20  qmlRegisterType<SettingStateProxy>(uri, 1, 3, "SettingStateProxy");
21  qmlRegisterType<SettingHighlighterPrivate>("org.kde.kcm.private", 1, 3, "SettingHighlighterPrivate");
22 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 25 2021 22:44:28 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.