File indexing completed on 2025-01-05 04:49:48

0001 /*
0002  * SPDX-FileCopyrightText: 2016 Daniel Vrátil <dvratil@kde.org>
0003  *
0004  * SPDX-License-Identifier: GPL-2.0-or-later
0005  *
0006  */
0007 
0008 #include <QQmlExtensionPlugin>
0009 #include <QtQml>
0010 
0011 #include "pimcalendarsmodel.h"
0012 
0013 class PimCalendarsPlugin : public QQmlExtensionPlugin
0014 {
0015     Q_OBJECT
0016     Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
0017 
0018 public:
0019     void registerTypes(const char *uri) override
0020     {
0021         qmlRegisterType<PimCalendarsModel>(uri, 1, 0, "PimCalendarsModel");
0022     }
0023 };
0024 
0025 #include "pimcalendarsplugin.moc"