Phonon  4.7.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Phonon::ObjectDescriptionData Class Reference
Inheritance diagram for Phonon::ObjectDescriptionData:

Public Member Functions

bool operator== (const ObjectDescriptionData &otherDescription) const
 
QString name () const
 
QString description () const
 
QVariant property (const char *name) const
 
QList< QByteArray > propertyNames () const
 
bool isValid () const
 
int index () const
 
 ObjectDescriptionData (ObjectDescriptionPrivate *=0)
 
 ObjectDescriptionData (int index, const QHash< QByteArray, QVariant > &properties)
 

Static Public Member Functions

static ObjectDescriptionDatafromIndex (ObjectDescriptionType type, int index)
 

Protected Attributes

ObjectDescriptionPrivate *const d
 

Member Function Documentation

QString Phonon::ObjectDescriptionData::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.

Returns
A string describing the capture source.
int Phonon::ObjectDescriptionData::index ( ) const

A unique identifier for this device/. Used internally to distinguish between the devices/.

Returns
An integer that uniquely identifies every device/
bool Phonon::ObjectDescriptionData::isValid ( ) const

Returns true if the Tuple is valid (index != -1); otherwise returns false.

QString Phonon::ObjectDescriptionData::name ( ) const

Returns the name of the capture source.

Returns
A string that should be presented to the user to choose the capture source.
bool Phonon::ObjectDescriptionData::operator== ( const ObjectDescriptionData otherDescription) const

Returns true if this ObjectDescription describes the same as otherDescription; otherwise returns false.

QVariant Phonon::ObjectDescriptionData::property ( const char *  name) const

Returns a named property.

If the property is not set an invalid value is returned.

See Also
propertyNames()
QList< QByteArray > Phonon::ObjectDescriptionData::propertyNames ( ) const

Returns all names that return valid data when property() is called.

See Also
property()

The documentation for this class was generated from the following files: