Mailcommon
filteractionsetidentity.cpp
34bool FilterActionSetIdentity::argsFromStringInteractive(const QString &argsStr, const QString &filterName)
39 QPointer<MailCommon::FilterActionMissingIdentityDialog> dlg = new MailCommon::FilterActionMissingIdentityDialog(filterName);
51FilterAction::ReturnCode FilterActionSetIdentity::process(ItemContext &context, bool applyOnOutbound) const
53 const KIdentityManagementCore::Identity &ident = KernelIf->identityManager()->identityForUoid(mParameter);
92 auto comboBox = new KIdentityManagementWidgets::IdentityCombo(KernelIf->identityManager(), parent);
96 connect(comboBox, &KIdentityManagementWidgets::IdentityCombo::currentIndexChanged, this, &FilterActionSetIdentity::filterActionModified);
102 const KIdentityManagementWidgets::IdentityCombo *comboBox = qobject_cast<KIdentityManagementWidgets::IdentityCombo *>(paramWidget);
T payload() const
bool isNull() const
QString fullEmailAddr() const
QString bcc() const
void setCurrentIdentity(const KIdentityManagementCore::Identity &identity)
KIdentityManagementCore::Identity::Id currentIdentity() const
static QList< Mailbox > listFromUnicodeString(QStringView s)
Abstract base class for filter actions with a free-form string as parameter.
Definition filteractionwithuoid.h:29
void argsFromString(const QString &argsStr) override
Read extra arguments from given string.
Definition filteractionwithuoid.cpp:23
void filterActionModified()
Called to notify that the current FilterAction has had some value modification.
void setNeedsPayloadStore()
Marks that the item's payload has been changed and needs to be written back.
Definition itemcontext.cpp:33
QString i18n(const char *text, const TYPE &arg...)
void setCurrentIndex(int index)
void currentIndexChanged(int index)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
QObject * parent() const const
T qobject_cast(QObject *object)
bool isEmpty() const const
QString number(double n, char format, int precision)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:12:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:12:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.