Attica::Folder Class
class Attica::FolderRepresents a single mail folder. More...
Header: | #include <Attica/Folder> |
CMake: | find_package(KF6 REQUIRED COMPONENTS Attica) target_link_libraries(mytarget PRIVATE KF6::Attica) |
Public Types
Public Functions
Folder() | |
QString | id() const |
bool | isValid() const |
int | messageCount() const |
QString | name() const |
void | setId(const QString &id) |
void | setMessageCount(int messageCount) |
void | setName(const QString &name) |
void | setType(const QString &type) |
QString | type() const |
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().