MessageComposer::InfoPart Class
| Header: | #include <MessageComposer/InfoPart> |
| CMake: | find_package(KPim6MessageComposer REQUIRED)target_link_libraries(mytarget PRIVATE KPim6::MessageComposer) |
| Inherits: | MessageComposer::MessagePart |
Public Functions
| InfoPart(QObject *parent = nullptr) | |
| virtual | ~InfoPart() override |
| QStringList | bcc() const |
| QStringList | cc() const |
| QList<KMime::Headers::Base *> | extraHeaders() const |
| QString | fcc() const |
| QString | from() const |
| QString | inReplyTo() const |
| QString | references() const |
| QStringList | replyTo() const |
| void | setBcc(const QStringList &bcc) |
| void | setCc(const QStringList &cc) |
| void | setExtraHeaders(const QList<KMime::Headers::Base *> &headers) |
| void | setFcc(const QString &fcc) |
| void | setFrom(const QString &from) |
| void | setInReplyTo(const QString &inReplyTo) |
| void | setReferences(const QString &references) |
| void | setReplyTo(const QStringList &replyTo) |
| void | setSubject(const QString &subject) |
| void | setTo(const QStringList &to) |
| void | setTransportId(int tid) |
| void | setUrgent(bool) |
| void | setUserAgent(const QString &userAgent) |
| QString | subject() const |
| QStringList | to() const |
| int | transportId() const |
| bool | urgent() const |
| QString | userAgent() const |
Signals
| void | bccChanged() |
| void | ccChanged() |
| void | fccChanged() |
| void | fromChanged() |
| void | inReplyToChanged() |
| void | replyToChanged() |
| void | subjectChanged() |
| void | toChanged() |
| void | urgentChanged() |
| void | userAgentChanged() |
Detailed Description
The InfoPart class contains the message header.
Member Function Documentation
[explicit] InfoPart::InfoPart(QObject *parent = nullptr)
Constructs an InfoPart. parent The parent object.
[override virtual noexcept] InfoPart::~InfoPart()
Destroys the InfoPart.
QStringList InfoPart::bcc() const
Returns the list of blind carbon copy recipients.
See also setBcc().
[signal] void InfoPart::bccChanged()
Emitted when the BCC recipients list changes.
QStringList InfoPart::cc() const
Returns the list of carbon copy recipients.
See also setCc().
[signal] void InfoPart::ccChanged()
Emitted when the CC recipients list changes.
QList<KMime::Headers::Base *> InfoPart::extraHeaders() const
Returns the extra MIME headers.
See also setExtraHeaders().
QString InfoPart::fcc() const
Returns the FCC (File Carbon Copy) folder path.
See also setFcc().
[signal] void InfoPart::fccChanged()
Emitted when the FCC folder changes.
QString InfoPart::from() const
Returns the sender's email address.
See also setFrom().
[signal] void InfoPart::fromChanged()
Emitted when the sender changes.
QString InfoPart::inReplyTo() const
Returns the In-Reply-To header value.
See also setInReplyTo().
[signal] void InfoPart::inReplyToChanged()
Emitted when the In-Reply-To header changes.
QString InfoPart::references() const
Returns the References header value.
See also setReferences().
QStringList InfoPart::replyTo() const
Returns the list of reply-to addresses.
See also setReplyTo().
[signal] void InfoPart::replyToChanged()
Emitted when the reply-to list changes.
void InfoPart::setBcc(const QStringList &bcc)
Sets the list of blind carbon copy recipients. bcc The BCC recipient email addresses.
See also bcc().
void InfoPart::setCc(const QStringList &cc)
Sets the list of carbon copy recipients. cc The CC recipient email addresses.
See also cc().
void InfoPart::setExtraHeaders(const QList<KMime::Headers::Base *> &headers)
Sets extra MIME headers for the message. headers The extra header list.
See also extraHeaders().
void InfoPart::setFcc(const QString &fcc)
Sets the FCC folder path. fcc The folder path to save a copy of the message.
See also fcc().
void InfoPart::setFrom(const QString &from)
Sets the sender's email address. from The sender's email address.
See also from().
void InfoPart::setInReplyTo(const QString &inReplyTo)
Sets the In-Reply-To header value. inReplyTo The ID of the message this is a reply to.
See also inReplyTo().
void InfoPart::setReferences(const QString &references)
Sets the References header value. references The references chain for message threading.
See also references().
void InfoPart::setReplyTo(const QStringList &replyTo)
Sets the list of reply-to addresses. replyTo The reply-to email addresses.
See also replyTo().
void InfoPart::setSubject(const QString &subject)
Sets the message subject. subject The subject text.
See also subject().
void InfoPart::setTo(const QStringList &to)
Sets the list of primary recipients. to The recipient email addresses.
See also to().
void InfoPart::setTransportId(int tid)
Sets the mail transport ID. tid The transport ID.
See also transportId().
void InfoPart::setUrgent(bool)
Sets the urgent flag for the message. urgent True to mark the message as urgent.
See also urgent().
void InfoPart::setUserAgent(const QString &userAgent)
Sets the user agent string. userAgent The user agent to identify the mail client.
See also userAgent().
QString InfoPart::subject() const
Returns the message subject.
See also setSubject().
[signal] void InfoPart::subjectChanged()
Emitted when the subject changes.
QStringList InfoPart::to() const
Returns the list of primary recipients.
See also setTo().
[signal] void InfoPart::toChanged()
Emitted when the to-recipients list changes.
int InfoPart::transportId() const
Returns the ID of the mail transport to use for sending.
See also setTransportId().
bool InfoPart::urgent() const
Returns whether the message is marked as urgent.
See also setUrgent().
[signal] void InfoPart::urgentChanged()
Emitted when the urgent flag changes.
QString InfoPart::userAgent() const
Returns the user agent string.
See also setUserAgent().
[signal] void InfoPart::userAgentChanged()
Emitted when the user agent changes.