KDeclarative

kwindowsystemplugin.cpp
1 /*
2  SPDX-FileCopyrightText: 2015 Kai Uwe Broulik <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.1-or-later
5 */
6 
7 #include "kwindowsystemplugin.h"
8 
9 #include <QtQml>
10 
11 #include "kwindowsystemproxy.h"
12 
13 void KWindowSystemPlugin::registerTypes(const char *uri)
14 {
15  Q_ASSERT(QString::fromLatin1(uri) == QLatin1String("org.kde.kwindowsystem"));
16 
17  qmlRegisterType<KWindowSystemProxy>(uri, 1, 0, "KWindowSystem");
18 }
QString fromLatin1(const char *str, int size)
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.