|
Krita Source Code Documentation
|
The SimpleExistingTagAction class defines an action that holds a resource and a tag. More...
#include <TagActions.h>
Inheritance diagram for SimpleExistingTagAction:Signals | |
| void | triggered (KisTagSP tag, KoResourceSP resource) |
Public Member Functions | |
| SimpleExistingTagAction (KoResourceSP resource, KisTagSP tag, QObject *parent=0) | |
| ~SimpleExistingTagAction () override | |
Protected Slots | |
| void | onTriggered () |
Private Attributes | |
| KoResourceSP | m_resource |
| m_resource resource associated with the action | |
| KisTagSP | m_tag |
| m_tag tag associated with the action | |
The SimpleExistingTagAction class defines an action that holds a resource and a tag.
This is mostly used in ContextMenu for the context menu actions displaying tags to tag or untag specific resource with a specific tag.
Definition at line 30 of file TagActions.h.
|
explicit |
Definition at line 24 of file TagActions.cpp.
References connect(), onTriggered(), and triggered().
|
override |
Definition at line 36 of file TagActions.cpp.
|
protectedslot |
Definition at line 40 of file TagActions.cpp.
References m_resource, m_tag, and triggered().
|
signal |
|
private |
m_resource resource associated with the action
Definition at line 47 of file TagActions.h.
|
private |
m_tag tag associated with the action
Definition at line 51 of file TagActions.h.