Phonon
Phonon::BackendCapabilities Namespace Reference
[Information about the backend]
Detailed Description
Collection of functions describing the capabilities of the Backend.
Classes | |
| class | Notifier |
| Notifications about backend capabilities. More... | |
Functions | |
| Notifier * | notifier () |
| QStringList | availableMimeTypes () |
| bool | isMimeTypeAvailable (const QString &mimeType) |
| QList< AudioOutputDevice > | availableAudioOutputDevices () |
| QList< EffectDescription > | availableAudioEffects () |
Function Documentation
| QList<EffectDescription> Phonon::BackendCapabilities::availableAudioEffects | ( | ) |
Returns the audio capture devices the backend supports.
- Returns:
- A list of AudioCaptureDevice objects that give a name and description for every supported audio capture device. Returns the video output devices the backend supports.
A list of VideoOutputDevice objects that give a name and description for every supported video output device. Returns the video capture devices the backend supports.
A list of VideoCaptureDevice objects that give a name and description for every supported video capture device. Returns the visualization effects the backend supports.
A list of VisualizationEffect objects that give a name and description for every supported visualization effect. Returns descriptions for the audio effects the backend supports.
A list of AudioEffectDescription objects that give a name and description for every supported audio effect.
| QList<AudioOutputDevice> Phonon::BackendCapabilities::availableAudioOutputDevices | ( | ) |
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.
| QStringList Phonon::BackendCapabilities::availableMimeTypes | ( | ) |
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.
- See also:
- availableMimeTypes();
| Notifier* Phonon::BackendCapabilities::notifier | ( | ) |
Use this function to get a QObject pointer to connect to the capabilitiesChanged signal.
- Returns:
- a pointer to a QObject.
To connect to this signal do the following:
QObject::connect(BackendCapabilities::notifier(), SIGNAL(capabilitiesChanged()), ...
- See also:
- Notifier::capabilitiesChanged()
KDE 4.0 API Reference