PimCommon::GenericPluginInterface
#include <genericplugininterface.h>
Public Types | |
enum | RequireType { None = 0 , CurrentItems = 1 , Items = 2 , CurrentCollection = 3 , Collections = 4 } |
typedef QFlags< RequireType > | RequireTypes |
Public Member Functions | |
GenericPluginInterface (QObject *parent=nullptr) | |
QList< ActionType > | actionTypes () const |
void | addActionType (ActionType type) |
virtual GenericPluginInterface::RequireTypes | requiresFeatures () const |
void | setActionTypes (const QList< ActionType > &type) |
virtual void | setCollections (const Akonadi::Collection::List &cols) |
virtual void | setCurrentCollection (const Akonadi::Collection &col) |
virtual void | setCurrentItems (const Akonadi::Item::List &items) |
virtual void | setItems (const Akonadi::Item::List &items) |
virtual void | updateActions (int numberOfSelectedItems, int numberOfSelectedCollections) |
Detailed Description
The GenericPluginInterface class.
Definition at line 20 of file genericplugininterface.h.
Member Typedef Documentation
◆ RequireTypes
QFlags< RequireType > PimCommon::GenericPluginInterface::RequireTypes |
Definition at line 35 of file genericplugininterface.h.
Member Enumeration Documentation
◆ RequireType
enum PimCommon::GenericPluginInterface::RequireType |
Definition at line 27 of file genericplugininterface.h.
Constructor & Destructor Documentation
◆ GenericPluginInterface()
|
explicit |
Definition at line 19 of file genericplugininterface.cpp.
Member Function Documentation
◆ actionTypes()
|
nodiscard |
Definition at line 39 of file genericplugininterface.cpp.
◆ addActionType()
void GenericPluginInterface::addActionType | ( | ActionType | type | ) |
Definition at line 32 of file genericplugininterface.cpp.
◆ requiresFeatures()
|
virtual |
Definition at line 70 of file genericplugininterface.cpp.
◆ setActionTypes()
void GenericPluginInterface::setActionTypes | ( | const QList< ActionType > & | type | ) |
Definition at line 27 of file genericplugininterface.cpp.
◆ setCollections()
|
virtual |
Definition at line 65 of file genericplugininterface.cpp.
◆ setCurrentCollection()
|
virtual |
Definition at line 60 of file genericplugininterface.cpp.
◆ setCurrentItems()
|
virtual |
Definition at line 50 of file genericplugininterface.cpp.
◆ setItems()
|
virtual |
Definition at line 55 of file genericplugininterface.cpp.
◆ updateActions()
|
virtual |
Definition at line 44 of file genericplugininterface.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:56 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.