Pimcommon
7#include "genericplugininterface.h"
11class PimCommon::GenericPluginInterfacePrivate
14 GenericPluginInterfacePrivate() =
default;
16 QList<ActionType> actionTypes;
19GenericPluginInterface::GenericPluginInterface(
QObject *parent)
20 : AbstractGenericPluginInterface(parent)
21 , d(new GenericPluginInterfacePrivate)
25GenericPluginInterface::~GenericPluginInterface() =
default;
29 d->actionTypes =
type;
32void GenericPluginInterface::addActionType(
ActionType type)
34 if (!d->actionTypes.contains(type)) {
35 d->actionTypes.append(type);
39QList<ActionType> GenericPluginInterface::actionTypes()
const
41 return d->actionTypes;
44void GenericPluginInterface::updateActions(
int numberOfSelectedItems,
int numberOfSelectedCollections)
46 Q_UNUSED(numberOfSelectedItems)
47 Q_UNUSED(numberOfSelectedCollections)
60void GenericPluginInterface::setCurrentCollection(
const Akonadi::Collection &col)
70PimCommon::GenericPluginInterface::RequireTypes GenericPluginInterface::requiresFeatures()
const
75#include "moc_genericplugininterface.cpp"
VehicleSection::Type type(QStringView coachNumber, QStringView coachClassification)
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.