Attica::Folder
#include <Attica/Folder>
Public Types | |
typedef QList< Folder > | List |
Public Member Functions | |
Folder () | |
Folder (const Folder &other) | |
~Folder () | |
QString | id () const |
bool | isValid () const |
int | messageCount () const |
QString | name () const |
Folder & | operator= (const Folder &other) |
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 Typedef Documentation
◆ List
Constructor & Destructor Documentation
◆ Folder() [1/2]
Folder::Folder | ( | ) |
Creates an empty Folder.
Definition at line 27 of file folder.cpp.
◆ Folder() [2/2]
Folder::Folder | ( | const Folder & | other | ) |
◆ ~Folder()
Folder::~Folder | ( | ) |
Destructor.
Definition at line 43 of file folder.cpp.
Member Function Documentation
◆ id()
QString Folder::id | ( | ) | const |
Gets the id of the Folder.
The id uniquely identifies a Folder with the OCS API.
- Returns
- the id
Definition at line 52 of file folder.cpp.
◆ isValid()
bool Folder::isValid | ( | ) | const |
Checks whether this Folder has an id.
- Returns
true
if an id has been set,false
otherwise
Definition at line 87 of file folder.cpp.
◆ messageCount()
int Folder::messageCount | ( | ) | const |
Gets the number of messages in the Folder.
- Returns
- the number of messages
Definition at line 72 of file folder.cpp.
◆ name()
QString Folder::name | ( | ) | const |
◆ operator=()
Assignment operator.
- Parameters
-
other the Folder to assign from
- Returns
- pointer to this Folder
Definition at line 37 of file folder.cpp.
◆ setId()
void Folder::setId | ( | const QString & | id | ) |
Sets the id of the Folder.
The id uniquely identifies a Folder with the OCS API.
- Parameters
-
id the new id
Definition at line 47 of file folder.cpp.
◆ setMessageCount()
void Folder::setMessageCount | ( | int | messageCount | ) |
Sets the number of messages in the Folder.
- Parameters
-
messageCount the new number of messages
Definition at line 67 of file folder.cpp.
◆ setName()
void Folder::setName | ( | const QString & | name | ) |
◆ setType()
void Folder::setType | ( | const QString & | type | ) |
◆ type()
QString Folder::type | ( | ) | const |
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.