Warning, file /utilities/okteta/parts/kpart/partfactory.hpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     This file is part of the Okteta KPart module, made within the KDE community.
0003 
0004     SPDX-FileCopyrightText: 2003, 2007, 2009 Friedrich W. H. Kossebau <kossebau@kde.org>
0005 
0006     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0007 */
0008 
0009 #ifndef OKTETAPARTFACTORY_HPP
0010 #define OKTETAPARTFACTORY_HPP
0011 
0012 // KF
0013 #include <kparts_version.h>
0014 #include <KPluginFactory>
0015 #if KPARTS_VERSION < QT_VERSION_CHECK(5, 77, 0)
0016 #include <KAboutData>
0017 #endif
0018 
0019 namespace Kasten {
0020 class ByteArrayViewProfileManager;
0021 class ModelCodecViewManager;
0022 class ModelCodecManager;
0023 }
0024 
0025 class OktetaPartFactory : public KPluginFactory
0026 {
0027     Q_OBJECT
0028 
0029     Q_PLUGIN_METADATA(IID KPluginFactory_iid FILE "oktetapart.json")
0030 
0031     Q_INTERFACES(
0032         KPluginFactory
0033     )
0034 
0035 public:
0036     OktetaPartFactory();
0037 
0038     ~OktetaPartFactory() override;
0039 
0040 public: // KPluginFactory API
0041     QObject* create(const char* iface,
0042                     QWidget* parentWidget,
0043                     QObject* parent,
0044                     const QVariantList& args,
0045                     const QString& keyword) override;
0046 
0047 private:
0048 #if KPARTS_VERSION < QT_VERSION_CHECK(5, 77, 0)
0049     KAboutData mAboutData;
0050 #endif
0051     Kasten::ByteArrayViewProfileManager* mByteArrayViewProfileManager;
0052     Kasten::ModelCodecViewManager* mModelCodecViewManager;
0053     Kasten::ModelCodecManager* mModelCodecManager;
0054 };
0055 
0056 #endif