Akonadi::MessageFolderAttribute

Search for usage in LXR

Akonadi::MessageFolderAttribute Class Reference

#include <messagefolderattribute.h>

Inheritance diagram for Akonadi::MessageFolderAttribute:

Public Member Functions

 MessageFolderAttribute ()
 
 MessageFolderAttribute (const MessageFolderAttribute &other)
 
 ~MessageFolderAttribute () override
 
MessageFolderAttributeclone () const override
 
void deserialize (const QByteArray &data) override
 
bool isOutboundFolder () const
 
QByteArray serialized () const override
 
void setOutboundFolder (bool outbound)
 
QByteArray type () const override
 
- Public Member Functions inherited from Akonadi::Attribute

Additional Inherited Members

- Public Types inherited from Akonadi::Attribute
typedef QList< Attribute * > List
 

Detailed Description

Message folder information.

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

Since
4.4

Definition at line 25 of file messagefolderattribute.h.

Constructor & Destructor Documentation

◆ MessageFolderAttribute() [1/2]

MessageFolderAttribute::MessageFolderAttribute ( )

Creates an empty folder attribute.

Definition at line 17 of file messagefolderattribute.cpp.

◆ MessageFolderAttribute() [2/2]

MessageFolderAttribute::MessageFolderAttribute ( const MessageFolderAttribute & other)

Copy constructor.

Definition at line 22 of file messagefolderattribute.cpp.

◆ ~MessageFolderAttribute()

MessageFolderAttribute::~MessageFolderAttribute ( )
overridedefault

Destructor.

Member Function Documentation

◆ clone()

MessageFolderAttribute * MessageFolderAttribute::clone ( ) const
overridevirtual

Implements Akonadi::Attribute.

Definition at line 36 of file messagefolderattribute.cpp.

◆ deserialize()

void MessageFolderAttribute::deserialize ( const QByteArray & data)
overridevirtual

Implements Akonadi::Attribute.

Definition at line 54 of file messagefolderattribute.cpp.

◆ isOutboundFolder()

bool MessageFolderAttribute::isOutboundFolder ( ) const
nodiscard

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 63 of file messagefolderattribute.cpp.

◆ serialized()

QByteArray MessageFolderAttribute::serialized ( ) const
nodiscardoverridevirtual

Implements Akonadi::Attribute.

Definition at line 41 of file messagefolderattribute.cpp.

◆ setOutboundFolder()

void MessageFolderAttribute::setOutboundFolder ( bool outbound)

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

Definition at line 68 of file messagefolderattribute.cpp.

◆ type()

QByteArray MessageFolderAttribute::type ( ) const
nodiscardoverridevirtual

Implements Akonadi::Attribute.

Definition at line 30 of file messagefolderattribute.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:05:31 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.