![]() |
digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
|
Public Types | |
enum | ActionCategory { InvalidCat = -1 , GenericExport = 0 , GenericImport , GenericTool , GenericMetadata , GenericView , EditorFile , EditorColors , EditorEnhance , EditorTransform , EditorDecorate , EditorFilters } |
Plugin action categories. More... | |
enum | ActionType { InvalidType = -1 , Generic = 0 , Editor } |
Plugin action types to resume where they can be used. More... | |
enum | PluginActionData { NoData = 0 , AlbumData } |
Plugin action types via QAction data container. | |
Public Member Functions | |
DPluginAction (QObject *const parent=nullptr) | |
ActionCategory | actionCategory () const |
QString | actionCategoryToString () const |
ActionType | actionType () const |
Return the action type depending of category. | |
QString | pluginId () const |
Return the plugin id string hosting this action. | |
void | setActionCategory (ActionCategory cat) |
Manage the internal action category. | |
QString | toString () const |
Return details as string about action properties. | |
QString | xmlSection () const |
Return the XML section to merge in KXMLGUIClient host XML definition. | |
Static Public Member Functions | |
static bool | pluginActionLessThan (DPluginAction *const a, DPluginAction *const b) |
QString Digikam::DPluginAction::toString | ( | ) | const |
For debug purpose only.