QObexFolderListingEntryInfo Class Reference
|
Constant | Value | Description |
---|---|---|
QObexFolderListingEntryInfo::ReadOwner | 0400 | The file is readable by the owner of the file. |
QObexFolderListingEntryInfo::WriteOwner | 0200 | The file is writable by the owner of the file. |
QObexFolderListingEntryInfo::DeleteOwner | 0100 | The file is deletable by the owner of the file. |
QObexFolderListingEntryInfo::ReadGroup | 0040 | The file is readable by the group. |
QObexFolderListingEntryInfo::WriteGroup | 0020 | The file is writable by the group. |
QObexFolderListingEntryInfo::DeleteGroup | 0010 | The file is deletable by the group. |
QObexFolderListingEntryInfo::ReadOther | 0004 | The file is readable by anyone. |
QObexFolderListingEntryInfo::WriteOther | 0002 | The file is writable by anyone. |
QObexFolderListingEntryInfo::DeleteOther | 0001 | The file is deletable by anyone. |
The Permissions type is a typedef for QFlags<Permission>. It stores an OR combination of Permission values.
Constructs an invalid folder listing info object.
See also isValid().
Constructs a new copy of a folder listing info from other.
See also isValid().
Destructor
Creates a Folder Listing entry that represents a file with name, size. The file was last modified on lastModified, last accessed on lastAccessed and created on timeCreated. The permissions specify file permissions, and owner, group and mimetype specify the owner, group and mimetype of the file. The description refers to the optional description of the object. The extensionAttributes parameter refers to non-standard attributes that might be used by various implementations.
See also createFolder() and createParent().
Creates a Folder Listing entry that represents a folder with name, size. The folder was last modified on lastModified, last accessed on lastAccessed and created on timeCreated. The permissions specify file permissions. owner and group specify the owner and group the folder belongs to, respectively. The description refers to the optional description of the object. The extensionAttributes parameter refers to non-standard attributes that might be used by various implementations.
See also createFile() and createParent().
Creates a Folder Listing entry that represents a parent directory. OBEX Folders can have parent directories. These directories do not have any attributes associated with them.
See also createFile() and createFolder().
Returns the creation time of the file or folder referred to by the folder listing info. If this information was not provided, an invalid QDateTime object is returned.
See also setCreated().
Returns the description of the file or folder referred to by the folder listing info. If this information was not provided, an empty string is returned.
See also setDescription().
Returns the extended attributes of the file or folder referred to by the folder listing info. Some implementations can report attributes which are not specified by the standard, cuch as folder location (e.g. phone memory, flash card, etc). These attributes are reported as key-value pairs.
If this information was not provided, an empty map is returned.
See also setExtensionAttributes().
Returns the group of the file or folder referred to by the folder listing info. If this information was not provided, an empty string is returned.
See also setGroup().
Returns true if the folder listing info refers to a file.
See also isFolder(), isParent(), and setFile().
Returns true if the folder listing info refers to a directory.
See also isFile(), isParent(), and setFolder().
Returns true if the folder listing info refers to a parent directory.
See also isFolder().
Returns true if the folder listing info is valid and false otherwise. If the object is invalid, any value returned should not be relied upon.
Returns the last modification time of the file or folder referred to by the folder listing info. If this information was not provided, an invalid QDateTime object is returned.
See also setLastModified().
Returns the time the file or folder referred to by the folder listing info has been last accessed. If this information was not provided, an invalid QDateTime object is returned.
See also setLastRead().
Returns the name of the file or folder referred to by the folder listing info. If the name was not provided or the folder listing entry is invalid, returns an empty string.
See also setName().
Returns the owner of the file or folder referred to by the folder listing info. If this information was not provided, an empty string is returned.
See also setOwner().
Returns the permissions for the folder listing info.
See also setPermissions().
Sets the creation time of the folder listing info to timeCreated.
If you call this function for an invalid folder listing info, this function turns it into a valid one.
See also created().
Sets the description of the folder listing info to description.
If you call this function for an invalid folder listing info, this function turns it into a valid one.
See also description().
Sets the extended attributes of the folder listing info to attributes.
If you call this function for an invalid folder listing info, this function turns it into a valid one.
See also extensionAttributes().
If b is true, then the folder listing info is set to refer to a file.
If you call this function for an invalid folder listing info, this function turns it into a valid one.
See also isFile().
If b is true, then the folder listing info is set to refer to a directory.
If you call this function for an invalid folder listing info, this function turns it into a valid one.
See also isFolder().
Sets the group of the folder listing info to group.
If you call this function for an invalid folder listing info, this function turns it into a valid one.
See also group().
Sets the last modified time of the folder listing info to lastModified.
If you call this function for an invalid folder listing info, this function turns it into a valid one.
See also lastModified().
Sets the last access time of the folder listing info to lastRead.
If you call this function for an invalid folder listing info, this function turns it into a valid one.
See also lastRead().
Sets the name of the folder listing info to name.
If you call this function for an invalid folder listing info, this function turns it into a valid one.
See also name().
Sets the owner of the folder listing info to owner.
If you call this function for an invalid folder listing info, this function turns it into a valid one.
See also owner().
If b is true, then the folder listing info is set to refer to a parent directory. Parent directories should have no attributes associated with them. E.g. name, size, etc, information should not be provided.
If you call this function for an invalid folder listing info, this function turns it into a valid one.
See also isParent().
Sets the last permissions of the folder listing info to permissions.
If you call this function for an invalid folder listing info, this function turns it into a valid one.
See also permissions().
Sets the size in bytes of the folder listing info to size.
If you call this function for an invalid folder listing info, this function turns it into a valid one.
See also size().
Sets the mimetype of the folder listing info to mimetype.
If you call this function for an invalid folder listing info, this function turns it into a valid one.
See also type().
Returns the size in bytes of the file or folder referred to by the folder listing info. According to the OBEX standard, the size might not be accurate (e.g. only an estimate) and should not be relied upon to be exact. If no size information was provided, a 0 is returned.
See also setSize().
Returns the mimetype of the file or folder referred to by the folder listing info. If this information was not provided, an empty string is returned.
See also setType().
Comparison operator. Returns true if the current object is not equal to info.
Assigns the contents of other to the current object.
Comparison operator. Returns true if the current object is equal to info.
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