QMailFolder Class Reference
|
Constant | Value | Description |
---|---|---|
QMailFolder::InboxFolder | 1 | Represents the standard inbox folder. |
QMailFolder::OutboxFolder | 2 | Represents the standard outbox folder. |
QMailFolder::DraftsFolder | 3 | Represents the standard drafts folder. |
QMailFolder::SentFolder | 4 | Represents the standard sent folder. |
QMailFolder::TrashFolder | 5 | Represents the standard trash folder. |
Constructor that creates an empty and invalid QMailFolder. An empty folder is one which has no name, no parent folder and no parent account. An invalid folder does not exist in the database and has an invalid id.
Creates a QMailFolder object with name name and parent folder ID parentFolderId, that is linked to a parent account parentAccountId.
Constructor that loads a standard QMailFolder specified by sf from the message store.
Constructor that creates a QMailFolder by loading the data from the message store as specified by the QMailFolderId id. If the folder does not exist in the message store, then this constructor will create an empty and invalid QMailFolder.
Creates a copy of the QMailFolder object other.
Destroys the QMailFolder object.
Returns the display name of the folder.
See also setDisplayName().
Returns the ID of the QMailFolder object. A QMailFolder with an invalid ID is one which does not yet exist on the message store.
See also setId().
Returns true if the folder is a root folder or false otherwise. A root folder is one which has not parent.
Returns the name of the folder.
See also setName().
Returns the id of the account which owns the folder. If the folder is not linked to an account an invalid id is returned.
See also setParentAccountId().
Returns the ID of the parent folder. This folder is a root folder if the parent ID is invalid.
See also setParentId().
Sets the display name of this folder to displayName.
See also displayName().
Sets the ID of this folder to id
See also id().
Sets the name of this folder to name.
See also name().
Sets the id of the account which owns the folder to id.
See also parentAccountId().
Sets the parent folder id to id. Warning: it is the responsibility of the application to make sure that no circular folder refernces are created.
See also parentId().
Sets the status value for the folder to newStatus.
See also status() and statusMask().
This is an overloaded member function, provided for convenience.
Sets the status flags indicated in mask to set.
See also status() and statusMask().
Returns the status value for the folder.
See also setStatus() and statusMask().
Returns the status bitmask needed to test the result of QMailFolder::status() against the QMailFolder status flag registered with the identifier flagName.
See also status() and QMailStore::folderStatusMask().
Assigns the value of the QMailFolder object other to this.
The status mask needed for testing the value of the registered status flag named "SynchronizationEnabled" against the result of QMailFolder::status().
This flag indicates that a folder should be included during account synchronization.
The status mask needed for testing the value of the registered status flag named "Synchronized" against the result of QMailFolder::status().
This flag indicates that a folder has been synchronized during account synchronization.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtextended4.4 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com