Baloo

baloomonitorplugin.cpp
1 /*
2  SPDX-FileCopyrightText: 2015 Pinak Ahuja <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #include "baloomonitorplugin.h"
8 #include "monitor.h"
9 #include "indexerstate.h"
10 
11 #include <QQmlEngine>
12 
13 void BalooMonitorPlugin::registerTypes(const char *uri)
14 {
15  Q_ASSERT(uri == QByteArrayLiteral("org.kde.baloo.experimental"));
16 
17  qmlRegisterType<Baloo::Monitor>(uri, 0, 1, "Monitor");
18  qmlRegisterUncreatableMetaObject(Baloo::staticMetaObject, uri, 0, 1, "Global", QStringLiteral("Error: only enums"));
19 }
20 
21 #include "moc_baloomonitorplugin.cpp"
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Nov 29 2023 03:56:26 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.