1/*
2 SPDX-FileCopyrightText: 2014 Antonis Tsiapaliokas <antonis.tsiapaliokas@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#include "balooplugin.h"
8
9#include "queryresultsmodel.h"
10
11void BalooPlugin::initializeEngine(QQmlEngine *engine, const char *uri)
12{
13 QQmlExtensionPlugin::initializeEngine(engine, uri);
14}
15
16void BalooPlugin::registerTypes(const char *uri)
17{
18 Q_ASSERT(uri == QByteArrayLiteral("org.kde.baloo"));
19
20 qmlRegisterType<QueryResultsModel>(uri, versionMajor: 0, versionMinor: 1, qmlName: "QueryResultsModel");
21 qmlRegisterType<Query>(uri, versionMajor: 0, versionMinor: 1, qmlName: "Query");
22}
23
24#include "moc_balooplugin.cpp"
25

source code of baloo/src/qml/balooplugin.cpp