File indexing completed on 2024-07-14 03:58:39

0001 /*
0002     SPDX-FileCopyrightText: 2017 Marco Martin <mart@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef KIRIGAMIPLASMAFACTORY_H
0008 #define KIRIGAMIPLASMAFACTORY_H
0009 
0010 #include <Kirigami/Platform/PlatformPluginFactory>
0011 
0012 #include <QObject>
0013 
0014 class KirigamiPlasmaFactory : public Kirigami::Platform::PlatformPluginFactory
0015 {
0016     Q_OBJECT
0017 
0018     Q_PLUGIN_METADATA(IID PlatformPluginFactory_iid FILE "kirigamiplasmaintegration.json")
0019 
0020     Q_INTERFACES(Kirigami::Platform::PlatformPluginFactory)
0021 
0022 public:
0023     explicit KirigamiPlasmaFactory(QObject *parent = nullptr);
0024     ~KirigamiPlasmaFactory() override;
0025 
0026     Kirigami::Platform::PlatformTheme *createPlatformTheme(QObject *parent) override;
0027     Kirigami::Platform::Units *createUnits(QObject *parent) override;
0028 };
0029 
0030 #endif // KIRIGAMIPLASMAFACTORY_H