Data class for objects describing devices or features of the backend.
Definition at line 96 of file objectdescription.h.
#include <Phonon/ObjectDescription>

Public Member Functions |
|
| bool | operator== (const ObjectDescriptionData &otherDescription) const |
Returns true if this ObjectDescription
describes the same as otherDescription; otherwise
returns false. |
|
| QString | name () const |
| Returns the name of the capture source.
|
|
| QString | description () const |
| Returns a description of the capture source.
|
|
| QVariant | property (const char *name) const |
| Returns a named property. |
|
| QList< QByteArray > | propertyNames () const |
| Returns all names that return valid data
when property() is called.
|
|
| bool | isValid () const |
Returns true if the Tuple is
valid (index != -1); otherwise returns false. |
|
| int | index () const |
| A unique identifier for this device/.
|
|
| ~ObjectDescriptionData () | |
| ObjectDescriptionData (ObjectDescriptionPrivate *=0) | |
| ObjectDescriptionData (int index, const QHash< QByteArray, QVariant > &properties) | |
Static Public Member Functions |
|
| static ObjectDescriptionData * | fromIndex (ObjectDescriptionType type, int index) |
Protected Attributes |
|
| ObjectDescriptionPrivate *const | d |
| ObjectDescriptionData | ( | ObjectDescriptionPrivate * | = 0 |
) |
| ObjectDescriptionData | ( | int | index, |
| const QHash< QByteArray, QVariant > & | properties | ||
| ) |
| bool operator== | ( | const ObjectDescriptionData & | otherDescription | ) | const |
Returns true if this ObjectDescription
describes the same as otherDescription; otherwise
returns false.
| QString name | ( | ) | const |
Returns the name of the capture source.
| QString description | ( | ) | const |
Returns a description of the capture source.
This text should make clear what sound source this is, which is sometimes hard to describe or understand from just the name.
| QVariant property | ( | const char * | name | ) | const |
Returns a named property.
If the property is not set an invalid value is returned.
| QList<QByteArray> propertyNames | ( | ) | const |
Returns all names that return valid data when property() is called.
| bool isValid | ( | ) | const |
Returns true if the Tuple is valid (index != -1);
otherwise returns false.
| int index | ( | ) | const |
A unique identifier for this device/.
Used internally to distinguish between the devices/.
| static ObjectDescriptionData* fromIndex | ( | ObjectDescriptionType | type, |
| int | index | ||
| ) | [static] |
ObjectDescriptionPrivate* const
d [protected] |
Definition at line 160 of file objectdescription.h.