1/*
2 SPDX-FileCopyrightText: 2014 Aleix Pol Gonzalez <aleixpol@blue-systems.com>
3
4 SPDX-License-Identifier: LGPL-2.1-or-later
5*/
6
7#include "reviewboardquickplugin.h"
8#include "rbrepositoriesmodel.h"
9#include "rbreviewslistmodel.h"
10#include "reviewboardrc.h"
11#include <qqml.h>
12
13void RBPurposeQuickPlugin::registerTypes(const char *uri)
14{
15 qmlRegisterType<RepositoriesModel>(uri, versionMajor: 1, versionMinor: 0, qmlName: "RepositoriesModel");
16 qmlRegisterType<ReviewsListModel>(uri, versionMajor: 1, versionMinor: 0, qmlName: "ReviewsListModel");
17 qmlRegisterType<ReviewboardRC>(uri, versionMajor: 1, versionMinor: 0, qmlName: "ReviewboardRC");
18}
19
20#include "moc_reviewboardquickplugin.cpp"
21

source code of purpose/src/plugins/reviewboard/quick/reviewboardquickplugin.cpp