The BackendCapabilities namespace contains functions to describe the capabilities of the multimedia backend. More...
#include <Phonon>
This namespace was introduced in Qt 4.4.
class | Notifier |
QList<EffectDescription> | availableAudioEffects () |
QList<AudioOutputDevice> | availableAudioOutputDevices () |
QStringList | availableMimeTypes () |
bool | isMimeTypeAvailable ( const QString & mimeType ) |
Notifier * | notifier () |
The BackendCapabilities namespace contains functions to describe the capabilities of the multimedia backend.
Returns descriptions for the audio effects the backend supports.
Returns A list of AudioEffectDescription objects that give a name and description for every supported audio effect.
Returns the audio output devices the backend supports.
Returns A list of AudioOutputDevice objects that give a name and description for every supported audio output device.
Returns a list of mime types that the Backend can decode.
See also isMimeTypeAvailable().
Often all you want to know is whether one given MIME type can be decoded by the backend. Use this method in favor of availableMimeTypes() as it can give you a negative answer without having a backend loaded.
Returns true if the given mimeType is supported by the backend; otherwise, returns false.
See also availableMimeTypes().
Use this function to get a QObject pointer to connect to the capabilitiesChanged signal.
Returns a pointer to a QObject.
The capabilitiesChanged signal is emitted if the capabilities have changed. This can happen if the user has requested a backend change.
To connect to this signal do the following:
QObject::connect(BackendCapabilities::notifier(), SIGNAL(capabilitiesChanged()), ...
See also Notifier::capabilitiesChanged().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.