Kirigami2

kirigamipluginfactory.h
1 /*
2  * SPDX-FileCopyrightText: 2017 by Marco Martin <[email protected]>
3  *
4  * SPDX-License-Identifier: LGPL-2.0-or-later
5  */
6 
7 #ifndef KIRIGAMIPLUGINFACTORY_H
8 #define KIRIGAMIPLUGINFACTORY_H
9 
10 #include "platformtheme.h"
11 #include <QObject>
12 
13 #ifndef KIRIGAMI_BUILD_TYPE_STATIC
14 #include <kirigami2_export.h>
15 #endif
16 
17 namespace Kirigami {
18 
25 #ifdef KIRIGAMI_BUILD_TYPE_STATIC
26 class KirigamiPluginFactory : public QObject
27 #else
28 class KIRIGAMI2_EXPORT KirigamiPluginFactory : public QObject
29 #endif
30 {
31  Q_OBJECT
32 
33 public:
34  explicit KirigamiPluginFactory(QObject *parent = nullptr);
36 
43 };
44 
45 }
46 
47 QT_BEGIN_NAMESPACE
48 #define KirigamiPluginFactory_iid "org.kde.kirigami.KirigamiPluginFactory"
49 Q_DECLARE_INTERFACE(Kirigami::KirigamiPluginFactory, KirigamiPluginFactory_iid)
50 QT_END_NAMESPACE
51 
52 #endif //KIRIGAMIPLUGINFACTORY_H
This class is the base for color management in Kirigami, different platforms can reimplement this cla...
Definition: platformtheme.h:34
Definition: icon.h:19
virtual PlatformTheme * createPlatformTheme(QObject *parent)=0
Creates an instance of PlatformTheme which can come out from an implementation provided by a plugin...
This class is reimpleented by plugins to provide different implementations of PlatformTheme.
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Aug 7 2020 22:36:16 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.