Pages
API Documentation
On this page

Attica::Folder Class

Represents a single mail folder. More...

  • Header: #include <Attica/Folder>
  • CMake: find_package(KF6 REQUIRED COMPONENTS Attica)
    target_link_libraries(mytarget PRIVATE KF6::Attica)

List of all members, including inherited members

Public Types

Public Functions

Detailed Description

Member Type Documentation

Folder::List

Member Function Documentation

Folder::Folder()

Creates an empty Folder

QString Folder::id() const

Returns the id of the Folder.

The id uniquely identifies a Folder with the OCS API.

See also setId()

bool Folder::isValid() const

Checks whether this Folder has an id

int Folder::messageCount() const

Returns the number of messages in the Folder.

See also setMessageCount()

QString Folder::name() const

Returns the name of the Folder.

See also setName()

void Folder::setId(const QString &id)

Sets the id of the Folder.

The id uniquely identifies a Folder with the OCS API.

id the new id

See also id()

void Folder::setMessageCount(int messageCount)

Sets the number of messages in the Folder.

messageCount the new number of messages

See also messageCount()

void Folder::setName(const QString &name)

Sets the name of the Folder.

name the new name

See also name()

void Folder::setType(const QString &type)

Sets the type of the folder

type the new type

See also type()

QString Folder::type() const

Returns the type of the Folder.

See also setType()

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.