KDeclarative

kioplugin.cpp
1 /*
2  SPDX-FileCopyrightText: 2014 Antonis Tsiapaliokas <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.1-or-later
5 */
6 
7 #include "kioplugin.h"
8 
9 #include <QtQml>
10 
11 #include "krunproxy.h"
12 
13 void KioPlugin::registerTypes(const char *uri)
14 {
15  Q_ASSERT(QString::fromLatin1(uri) == QLatin1String("org.kde.kio"));
16 
17  qmlRegisterType<KRunProxy>(uri, 1, 0, "KRun");
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.