File indexing completed on 2024-04-28 05:36:24
0001 /* 0002 SPDX-FileCopyrightText: 2017 Marco Martin <mart@kde.org> 0003 SPDX-FileCopyrightText: 2020 Noah Davis <noahadvs@gmail.com> 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 #include <QObject> 0012 0013 class KirigamiPlasmaFactory : public Kirigami::Platform::PlatformPluginFactory 0014 { 0015 Q_OBJECT 0016 0017 Q_PLUGIN_METADATA(IID PlatformPluginFactory_iid FILE "kirigamiplasmaintegration.json") 0018 0019 Q_INTERFACES(Kirigami::Platform::PlatformPluginFactory) 0020 0021 public: 0022 explicit KirigamiPlasmaFactory(QObject *parent = nullptr); 0023 ~KirigamiPlasmaFactory() override; 0024 0025 Kirigami::Platform::PlatformTheme *createPlatformTheme(QObject *parent) override; 0026 Kirigami::Platform::Units *createUnits(QObject *parent) override; 0027 }; 0028 0029 #endif // KIRIGAMIPLASMAFACTORY_H