• Skip to content
  • Skip to link menu
KDE 4.7 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

akonadi

  • Akonadi
  • MessageFolderAttribute
Public Member Functions
Akonadi::MessageFolderAttribute Class Reference

#include <messagefolderattribute.h>

Inheritance diagram for Akonadi::MessageFolderAttribute:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 MessageFolderAttribute ()
 MessageFolderAttribute (const MessageFolderAttribute &other)
 ~MessageFolderAttribute ()
MessageFolderAttribute * clone () const
void deserialize (const QByteArray &data)
bool isOutboundFolder () const
QByteArray serialized () const
void setOutboundFolder (bool outbound)
QByteArray type () const

Detailed Description

Message folder information.

Used eg. by mail clients to decide how to display the content of such collections

Since:
4.4

Constructor & Destructor Documentation

MessageFolderAttribute::MessageFolderAttribute ( )

Creates an empty folder attribute.

Definition at line 33 of file messagefolderattribute.cpp.

MessageFolderAttribute::MessageFolderAttribute ( const MessageFolderAttribute &  other)

Copy constructor.

Definition at line 38 of file messagefolderattribute.cpp.

MessageFolderAttribute::~MessageFolderAttribute ( )

Destructor.

Definition at line 44 of file messagefolderattribute.cpp.


Member Function Documentation

MessageFolderAttribute* Akonadi::MessageFolderAttribute::clone ( ) const [virtual]

Creates a copy of this attribute.

Implements Akonadi::Attribute.

void Akonadi::MessageFolderAttribute::deserialize ( const QByteArray &  data) [virtual]

Sets the data of this attribute, using the same encoding as returned by toByteArray().

Parameters:
dataThe encoded attribute data.

Implements Akonadi::Attribute.

bool MessageFolderAttribute::isOutboundFolder ( ) const

Indicates if the folder is supposed to contain mostly outbound messages.

In such a case mail clients display the recipient address, otherwise they display the sender address.

Returns:
true if the folder contains outbound messages

Definition at line 81 of file messagefolderattribute.cpp.

QByteArray Akonadi::MessageFolderAttribute::serialized ( ) const [virtual]

Returns a QByteArray representation of the attribute which will be storaged.

This can be raw binary data, no encoding needs to be applied.

Implements Akonadi::Attribute.

void MessageFolderAttribute::setOutboundFolder ( bool  outbound)

Set if the folder should be considered as containing mostly outbound messages.

Definition at line 86 of file messagefolderattribute.cpp.

QByteArray Akonadi::MessageFolderAttribute::type ( ) const [virtual]

Returns the type of the attribute.

Implements Akonadi::Attribute.


The documentation for this class was generated from the following files:
  • messagefolderattribute.h
  • messagefolderattribute.cpp

akonadi

Skip menu "akonadi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Modules
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal