8#include "pimcommon_export.h"
15class AbstractGenericPlugin;
37 [[nodiscard]]
QAction *action()
const;
38 [[nodiscard]] Type type()
const;
40 [[nodiscard]]
bool operator==(
ActionType other)
const;
47class AbstractGenericPluginInterfacePrivate;
48class PIMCOMMON_EXPORT AbstractGenericPluginInterface :
public QObject
52 explicit AbstractGenericPluginInterface(
QObject *parent =
nullptr);
53 ~AbstractGenericPluginInterface()
override;
55 void setParentWidget(
QWidget *parent);
56 [[nodiscard]]
QWidget *parentWidget()
const;
62 virtual void exec() = 0;
64 virtual void showConfigureDialog(
QWidget *parentWidget =
nullptr);
67 void emitPluginActivated(PimCommon::AbstractGenericPluginInterface *interface);
68 void message(
const QString &str);
71 std::unique_ptr<AbstractGenericPluginInterfacePrivate>
const d;
The AbstractGenericPlugin class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:55 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.