File indexing completed on 2024-05-05 05:45:46
0001 /* 0002 SPDX-FileCopyrightText: 2017 Friedrich W. H. Kossebau <kossebau@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef KOMPAREPARTFACTORY_H 0008 #define KOMPAREPARTFACTORY_H 0009 0010 // KF 0011 #include <KPluginFactory> 0012 0013 0014 class KomparePartFactory : public KPluginFactory 0015 { 0016 Q_OBJECT 0017 Q_PLUGIN_METADATA(IID "org.kde.KPluginFactory" FILE "komparepart.json") 0018 Q_INTERFACES(KPluginFactory) 0019 0020 public: 0021 KomparePartFactory(); 0022 ~KomparePartFactory() override; 0023 0024 QObject* create(const char* iface, 0025 QWidget* parentWidget, QObject* parent, 0026 const QVariantList& args) override; 0027 }; 0028 0029 #endif