Pimcommon
8#include "pimcommon_export.h"
21class PIMCOMMON_EXPORT ActionType
34 ActionType() =
default;
36 ActionType(
QAction *action, Type type);
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-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:47:24 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.