File indexing completed on 2024-04-28 05:47:44

0001 /*
0002     SPDX-FileCopyrightText: 2017 Elvis Angelaccio <elvis.angelaccio@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef FACTORY_H
0008 #define FACTORY_H
0009 
0010 #include <KPluginFactory>
0011 
0012 class Factory : public KPluginFactory
0013 {
0014     Q_OBJECT
0015     Q_PLUGIN_METADATA(IID KPluginFactory_iid FILE "ark_part.json")
0016     Q_INTERFACES(KPluginFactory)
0017 
0018 protected:
0019     QObject *create(const char *iface, QWidget *parentWidget, QObject *parent, const QVariantList &args) override;
0020 };
0021 
0022 #endif