Libplasma

plugin.h
1/*
2 SPDX-FileCopyrightText: 2017 Marco Martin <mart@kde.org>
3 SPDX-FileCopyrightText: 2021 Arjen Hiemstra <ahiemstra@heimr.nl>
4
5 SPDX-License-Identifier: LGPL-2.0-or-later
6*/
7
8#ifndef PLUGIN_H
9#define PLUGIN_H
10
11#include <Kirigami/Platform/PlatformPluginFactory>
12#include <QObject>
13
15{
17
18 Q_PLUGIN_METADATA(IID PlatformPluginFactory_iid FILE "plugin.json")
19
21
22public:
23 explicit Plugin(QObject *parent = nullptr);
24 ~Plugin() override;
25
26 Kirigami::Platform::PlatformTheme *createPlatformTheme(QObject *parent) override;
27 Kirigami::Platform::Units *createUnits(QObject *parent) override;
28};
29
30#endif // PLUGIN_H
Q_INTERFACES(...)
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:34:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.