Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The Constraint class describes a constraint placed on the usage of DRM content. More...
#include <QDrmRights>
The Constraint class describes a constraint placed on the usage of DRM content.
A constraint is typically a simple name value pair where the name describes the type of constraint the value represents. A constraint on the the number of times a content item may be rendered may have the name 'Allowed uses' and a value of 5.
Additionally a constraint may be assigned any number of name/value attributes to convey more complex information. For example a constraint restricting the duration content can be accessed may include the duration as the value of the constraint and include the times the duration started and will end as attributes.
Constructs an empty constraint.
Constructs a constraint with the name name and value value.
Constructs a constraint with the name name, value value and attributes attributes.
Constructs a copy of the constraint other.
Destroys a constraint.
Returns the number of attributes the constraint has.
Returns the name or type of the attribute at the index index.
Returns the value of the attribute at the index index.
Returns the name or type of the constraint.
Returns the value of the constraint.
Assigns the value of other to a constraint.
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |