QDrmRights Class Reference
|
Constant | Value | Description |
---|---|---|
QDrmRights::Play | 0x0001 | Playback permission for media files. |
QDrmRights::Display | 0x0002 | Display permission for images and documents. |
QDrmRights::Execute | 0x0004 | Execute permission for applications. |
QDrmRights::Print | 0x0008 | Print permission for images and documents. |
QDrmRights::Export | 0x0010 | Export data to another DRM format. OMA DRM v2 only. Secondary permissions: |
QDrmRights::Distribute | 0x0020 | Move content to another device. |
QDrmRights::Preview | 0x0040 | Permission to render a preview version of the content. |
QDrmRights::Automated | 0x0080 | Content may be used in automated renderings such as ring tones. |
QDrmRights::BrowseContents | 0x0100 | Permission to browse the contents of a container. Additional states: |
QDrmRights::Unrestricted | 0x7F00 | Play | Display | Execute | Print | Export | Distribute | Preview | Automated | BrowseContents | Permission to open content for any use. This will never be granted for DRM protected content. |
QDrmRights::NoPermissions | 0x0000 | The content cannot be rendered with any permission or distributed. |
QDrmRights::InvalidPermission | 0x8000 | Uninitalized permission state. |
The Permissions type is a typedef for QFlags<Permission>. It stores an OR combination of Permission values.
Represents the status of the rights.
Constant | Value | Description |
---|---|---|
QDrmRights::Invalid | 0 | Indicates there are no valid rights associated with the content the rights were requested for. |
QDrmRights::Valid | 1 | Indicates the content the rights were requested for are valid and the content can be accessed. |
QDrmRights::ValidInFuture | 2 | Indicates there are rights associated with the content the rights were requested but they will not be valid until some later date. |
Constructs a QDrmRights object.
The inital status of the rights object is Unprotected.
Constructs a drm rights object with given permission, status and constraints.
Construct of copy of other.
Destroys a QDrmRights object.
Returns a list of constraints imposed by the rights.
Returns the permission rights information is available for.
Returns the status of the rights.
Returns a string representation of a DRM permission.
This is an overloaded member function, provided for convenience.
Returns a string representation of a DRM permission for a status.
Assigns the value of other to a QDrmRights object.
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