| Home · All Classes · Annotated · Functions |
#include <QDrmContentLicence>
Inherits QObject.
Manages access to a single item of drm protected content. Creating an instance of ContentLicence for a drm protected file allows that file to be accessed using the Qt file access API for the lifetime of the ContentLicence. When rendering protected content the ContentLicence should be updated with the usage infomation by calling renderStateChanged, and terminate rendering if the rightsExpired signal is emitted. When access to the file is no longer required release should be called to prevent further file access calls being allowed and to schedule the ContentLicence for deletion.
Applications should not use a ContentLicence directly, instead access should be requested using an instance of QDrmContent.
Constructs a ContentLicence object for an item of DRM protected content with parent
Destroys a QDrmContentLicence object. If the paired monitor is still consuming the content it is sent a message to release the content.
Notifies the ContentLicence that the render state of content has changed to state and the rights should be updated accordingly.
Signals that the permission rights for the content with id cId have expired.
| Copyright © 2006 Trolltech | Trademarks | Qtopia 4.1.7 |