Attica 5.109.0
|
Represents a single mail folder. More...
#include <Attica/Folder>
Public Types | |
typedef QList< Folder > | List |
Public Member Functions | |
Folder () | |
Creates an empty Folder. | |
Folder (const Folder &other) | |
Copy constructor. | |
~Folder () | |
Destructor. | |
QString | id () const |
Gets the id of the Folder. | |
bool | isValid () const |
Checks whether this Folder has an id. | |
int | messageCount () const |
Gets the number of messages in the Folder. | |
QString | name () const |
Gets the name of the Folder. | |
Folder & | operator= (const Folder &other) |
Assignment operator. | |
void | setId (const QString &id) |
Sets the id of the Folder. | |
void | setMessageCount (int messageCount) |
Sets the number of messages in the Folder. | |
void | setName (const QString &name) |
Sets the name of the Folder. | |
void | setType (const QString &type) |
Sets the type of the folder. | |
QString | type () const |
Gets the type of the Folder. | |
Represents a single mail folder.
Attica::Folder::Folder | ( | ) |
Creates an empty Folder.
Attica::Folder::Folder | ( | const Folder & | other | ) |
Copy constructor.
other | the Folder to copy from |
Attica::Folder::~Folder | ( | ) |
Destructor.
QString Attica::Folder::id | ( | ) | const |
bool Attica::Folder::isValid | ( | ) | const |
Checks whether this Folder has an id.
true
if an id has been set, false
otherwise int Attica::Folder::messageCount | ( | ) | const |
Gets the number of messages in the Folder.
QString Attica::Folder::name | ( | ) | const |
Gets the name of the Folder.
void Attica::Folder::setId | ( | const QString & | id | ) |
void Attica::Folder::setMessageCount | ( | int | messageCount | ) |
Sets the number of messages in the Folder.
messageCount | the new number of messages |
void Attica::Folder::setName | ( | const QString & | name | ) |
Sets the name of the Folder.
name | the new name |
void Attica::Folder::setType | ( | const QString & | type | ) |
Sets the type of the folder.
type | the new type |
QString Attica::Folder::type | ( | ) | const |
Gets the type of the Folder.