Akonadi::MessageFlags Namespace

namespace Akonadi::MessageFlags

Contains predefined message flag identifiers. More...

Header: #include <messageflags.h>
CMake: find_package(KPim6AkonadiMime REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::AkonadiMime)

Variables

const char[] Deleted
const char[] Encrypted
const char[] Flagged
const char[] Forwarded
const char[] Ham
const char[] HasAttachment
const char[] HasError
const char[] HasInvitation
const char[] Ignored
const char[] Queued
const char[] Replied
const char[] Seen
const char[] Sent
const char[] Signed
const char[] Spam
const char[] ToAct
const char[] Watched

Functions

void copyMessageFlags(KMime::Message &from, Akonadi::Item &to)

Detailed Description

This namespace contains identifiers of message flags that are used internally in the Akonadi server.

Variable Documentation

const char[] MessageFlags::Deleted

The flag for a message being deleted by the user.

const char[] MessageFlags::Encrypted

The flag for a message being marked as encrypted.

const char[] MessageFlags::Flagged

The flag for a message being marked as flagged.

const char[] MessageFlags::Forwarded

The flag for a message being marked as forwarded.

const char[] MessageFlags::Ham

The flag for a message being marked as ham.

const char[] MessageFlags::HasAttachment

The flag for a message being marked as having an attachment.

const char[] MessageFlags::HasError

The flag for a message being marked with an error.

const char[] MessageFlags::HasInvitation

The flag for a message being marked as having an invitation.

const char[] MessageFlags::Ignored

The flag for a message being marked as ignored.

const char[] MessageFlags::Queued

The flag for a message being marked as queued.

const char[] MessageFlags::Replied

The flag for a message being marked as replied.

const char[] MessageFlags::Seen

The flag for a message being seen (i.e. opened by user).

const char[] MessageFlags::Sent

The flag for a message being marked as sent.

const char[] MessageFlags::Signed

The flag for a message being marked as signed.

const char[] MessageFlags::Spam

The flag for a message being marked as spam.

const char[] MessageFlags::ToAct

The flag for a message being marked as action item to act on.

const char[] MessageFlags::Watched

The flag for a message being marked as watched.

Function Documentation

void MessageFlags::copyMessageFlags(KMime::Message &from, Akonadi::Item &to)

Copies all message flags from a KMime::Message object into an Akonadi::Item object