akonadi
messagestatus.cpp
64 Akonadi::MessageStatus &Akonadi::MessageStatus::operator = ( const Akonadi::MessageStatus &other )
bool operator&(const MessageStatus &other) const
Check, if some of the flags in the status match with those flags from another instance.
Definition: messagestatus.cpp:80
static const MessageStatus statusEncrypted()
Return a predefined status initialized as Encrypted as is useful e.g.
Definition: messagestatus.cpp:779
static const MessageStatus statusIgnored()
Return a predefined status initialized as Ignored as is useful e.g.
Definition: messagestatus.cpp:730
AKONADI_KMIME_EXPORT const char * Signed
The flag for a message being marked as signed.
Definition: messageflags.cpp:37
AKONADI_KMIME_EXPORT const char * HasInvitation
The flag for a message being marked as having an invitation.
Definition: messageflags.cpp:29
static const MessageStatus statusWatched()
Return a predefined status initialized as Watched as is useful e.g.
Definition: messagestatus.cpp:723
AKONADI_KMIME_EXPORT const char * Seen
The flag for a message being seen (i.e.
Definition: messageflags.cpp:23
static const MessageStatus statusHasAttachment()
Return a predefined status initialized as Attachment as is useful e.g.
Definition: messagestatus.cpp:758
void setHasInvitation(bool hasInvitation=true)
Set the status for an invitation.
Definition: messagestatus.cpp:426
AKONADI_KMIME_EXPORT const char * Encrypted
The flag for a message being marked as encrypted.
Definition: messageflags.cpp:38
QSet< QByteArray > statusFlags() const
Get the status as a whole e.g.
Definition: messagestatus.cpp:571
static const MessageStatus statusToAct()
Return a predefined status initialized as Action Item as is useful e.g.
Definition: messagestatus.cpp:737
bool operator!=(const MessageStatus &other) const
Compare the status with that from another instance.
Definition: messagestatus.cpp:75
AKONADI_KMIME_EXPORT const char * Flagged
The flag for a message being marked as flagged.
Definition: messageflags.cpp:26
void setImportant(bool important=true)
Set the status for important.
Definition: messagestatus.cpp:357
static const MessageStatus statusUnread()
Return a special status that expresses Unread.
Definition: messagestatus.cpp:667
AKONADI_KMIME_EXPORT const char * Deleted
The flag for a message being deleted by the user.
Definition: messageflags.cpp:24
AKONADI_KMIME_EXPORT const char * Answered
The flag for a message being replied to by the user.
Definition: messageflags.cpp:25
MessageStatus & operator=(const MessageStatus &other)
Assign the status from another instance.
Definition: messagestatus.cpp:64
void setStatusFromFlags(const QSet< QByteArray > &flags)
Set the status as a whole e.g.
Definition: messagestatus.cpp:619
AKONADI_KMIME_EXPORT const char * HasError
The flag for a message being marked with an error.
Definition: messageflags.cpp:27
AKONADI_KMIME_EXPORT const char * Ham
The flag for a message being marked as ham.
Definition: messageflags.cpp:40
static const MessageStatus statusHasError()
Return a predefined status initialized as Error as is useful e.g.
Definition: messagestatus.cpp:786
static const MessageStatus statusRead()
Return a predefined status initialized as Read as is useful e.g.
Definition: messagestatus.cpp:674
static const MessageStatus statusSent()
Return a predefined status initialized as Sent as is useful e.g.
Definition: messagestatus.cpp:709
static const MessageStatus statusSigned()
Return a predefined status initialized as Signed as is useful e.g.
Definition: messagestatus.cpp:772
static const MessageStatus statusImportant()
Return a predefined status initialized as Important as is useful e.g.
Definition: messagestatus.cpp:716
AKONADI_KMIME_EXPORT const char * HasAttachment
The flag for a message being marked as having an attachment.
Definition: messageflags.cpp:28
static const MessageStatus statusForwarded()
Return a predefined status initialized as Forwarded as is useful e.g.
Definition: messagestatus.cpp:695
void toggle(const MessageStatus &other)
Toggle one or more stati described by another MessageStatus object.
Definition: messagestatus.cpp:157
static const MessageStatus statusHam()
Return a predefined status initialized as Ham as is useful e.g.
Definition: messagestatus.cpp:751
static const MessageStatus statusDeleted()
Return a predefined status initialized as Deleted as is useful e.g.
Definition: messagestatus.cpp:681
AKONADI_KMIME_EXPORT const char * Watched
The flag for a message being marked as watched.
Definition: messageflags.cpp:35
AKONADI_KMIME_EXPORT const char * Spam
The flag for a message being marked as spam.
Definition: messageflags.cpp:39
static const MessageStatus statusSpam()
Return a predefined status initialized as Spam as is useful e.g.
Definition: messagestatus.cpp:744
AKONADI_KMIME_EXPORT const char * Sent
The flag for a message being marked as sent.
Definition: messageflags.cpp:30
bool operator==(const MessageStatus &other) const
Compare the status with that from another instance.
Definition: messagestatus.cpp:70
static const MessageStatus statusQueued()
Return a predefined status initialized as Queued as is useful e.g.
Definition: messagestatus.cpp:702
static const MessageStatus statusReplied()
Return a predefined status initialized as Replied as is useful e.g.
Definition: messagestatus.cpp:688
void set(const MessageStatus &other)
Set / add stati described by another MessageStatus object.
Definition: messagestatus.cpp:96
void setHasAttachment(bool hasAttachment=true)
Set the status for an attachment.
Definition: messagestatus.cpp:417
void setStatusFromStr(const QString &aStr)
Set the status based on a string representation.
Definition: messagestatus.cpp:520
AKONADI_KMIME_EXPORT const char * Ignored
The flag for a message being marked as ignored.
Definition: messageflags.cpp:36
AKONADI_KMIME_EXPORT const char * ToAct
The flag for a message being marked as action item to act on.
Definition: messageflags.cpp:34
static const MessageStatus statusHasInvitation()
Return a predefined status initialized as Invitation as is useful e.g.
Definition: messagestatus.cpp:765
AKONADI_KMIME_EXPORT const char * Forwarded
The flag for a message being marked as forwarded.
Definition: messageflags.cpp:33
QString statusStr() const
Convert the status to a string representation.
Definition: messagestatus.cpp:472
AKONADI_KMIME_EXPORT const char * Replied
The flag for a message being marked as replied.
Definition: messageflags.cpp:32
void setForwarded(bool forwarded=true)
Set the status for forwarded.
Definition: messagestatus.cpp:329
AKONADI_KMIME_EXPORT const char * Queued
The flag for a message being marked as queued.
Definition: messageflags.cpp:31
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.