Messagelib
emailaddressresolvejob.cpp
80 auto job = new AliasesExpandJob(d->mTo.join(QLatin1StringView(", ")), d->mDefaultDomainName, this);
87 auto job = new AliasesExpandJob(d->mCc.join(QLatin1StringView(", ")), d->mDefaultDomainName, this);
94 auto job = new AliasesExpandJob(d->mBcc.join(QLatin1StringView(", ")), d->mDefaultDomainName, this);
100 auto job = new AliasesExpandJob(d->mReplyTo.join(QLatin1StringView(", ")), d->mDefaultDomainName, this);
172 return KEmailAddress::splitAddressList(d->mResultMap.value(QStringLiteral("infoPartTo")).toString());
177 return KEmailAddress::splitAddressList(d->mResultMap.value(QStringLiteral("infoPartCc")).toString());
182 return KEmailAddress::splitAddressList(d->mResultMap.value(QStringLiteral("infoPartBcc")).toString());
187 return KEmailAddress::splitAddressList(d->mResultMap.value(QStringLiteral("infoPartReplyTo")).toString());
void setErrorText(const QString &errorText)
void emitResult()
int error() const
void result(KJob *job)
void setError(int errorCode)
QString errorText() const
A job to expand aliases to email addresses.
Definition aliasesexpandjob.h:28
QStringList expandedReplyTo() const
Returns the expanded Reply-To field.
Definition emailaddressresolvejob.cpp:185
QString expandedFrom() const
Returns the expanded From field.
Definition emailaddressresolvejob.cpp:165
QStringList expandedCc() const
Returns the expanded CC field.
Definition emailaddressresolvejob.cpp:175
void setFrom(const QString &from)
Sets the from address to expand.
Definition emailaddressresolvejob.cpp:135
void setBcc(const QStringList &from)
Sets the from address to expand.
Definition emailaddressresolvejob.cpp:153
EmailAddressResolveJob(QObject *parent=nullptr)
Creates a new email address resolve job.
Definition emailaddressresolvejob.cpp:39
QStringList expandedBcc() const
Returns the expanded Bcc field.
Definition emailaddressresolvejob.cpp:180
void setCc(const QStringList &from)
Sets the from address to expand.
Definition emailaddressresolvejob.cpp:147
~EmailAddressResolveJob() override
Destroys the email address resolve job.
void setTo(const QStringList &from)
Sets the from address to expand.
Definition emailaddressresolvejob.cpp:141
QStringList expandedTo() const
Returns the expanded To field.
Definition emailaddressresolvejob.cpp:170
void setReplyTo(const QStringList &replyTo)
Sets the Reply-To address to expand.
Definition emailaddressresolvejob.cpp:159
KCODECS_EXPORT QStringList splitAddressList(const QString &aStr)
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
Definition attachmentcontrollerbase.h:27
qsizetype count() const const
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
QVariant property(const char *name) const const
T qobject_cast(QObject *object)
QString join(QChar separator) const const
QString toString() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.