MailCommon::AddTagDialog Class
class MailCommon::AddTagDialogThe AddTagDialog class. More...
| Header: | #include <MailCommon/AddTagDialog> |
| CMake: | find_package(KPim6MailCommon REQUIRED)target_link_libraries(mytarget PRIVATE KPim6::MailCommon) |
| Inherits: | QDialog |
Public Functions
| AddTagDialog(const QList<KActionCollection *> &actions, QWidget *parent = nullptr) | |
| virtual | ~AddTagDialog() override |
| QString | label() const |
| void | setTags(const QList<MailCommon::Tag::Ptr> &tags) |
| Akonadi::Tag | tag() const |
Detailed Description
Member Function Documentation
[explicit] AddTagDialog::AddTagDialog(const QList<KActionCollection *> &actions, QWidget *parent = nullptr)
Constructs an add tag dialog.
actions List of action collections for keyboard shortcuts parent The parent widget
[override virtual noexcept] AddTagDialog::~AddTagDialog()
Destroys the add tag dialog.
QString AddTagDialog::label() const
Returns the label (name) of the tag being created.
Returns The tag label
void AddTagDialog::setTags(const QList<MailCommon::Tag::Ptr> &tags)
Sets the list of existing tags to validate against duplicates.
tags The list of existing tags
Akonadi::Tag AddTagDialog::tag() const
Returns the Akonadi tag that was created.
Returns The created Akonadi tag