1/*
2 SPDX-FileCopyrightText: 2015 Pinak Ahuja <pinak.ahuja@gmail.com>
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
13void BalooMonitorPlugin::registerTypes(const char *uri)
14{
15 Q_ASSERT(uri == QByteArrayLiteral("org.kde.baloo.experimental"));
16
17 qmlRegisterType<Baloo::Monitor>(uri, versionMajor: 0, versionMinor: 1, qmlName: "Monitor");
18 qmlRegisterUncreatableMetaObject(staticMetaObject: Baloo::staticMetaObject, uri, versionMajor: 0, versionMinor: 1, qmlName: "Global", QStringLiteral("Error: only enums"));
19}
20
21#include "moc_baloomonitorplugin.cpp"
22

source code of baloo/src/qml/experimental/baloomonitorplugin.cpp