• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

Phonon

  • Phonon
  • BackendCapabilities
Classes | Functions

Phonon::BackendCapabilities Namespace Reference
[Information about the backend]

Collection of functions describing the capabilities of the Backend. More...

Classes

class  Notifier
 Notifications about backend capabilities. More...

Functions

Notifier * notifier ()
QStringList availableMimeTypes ()
bool isMimeTypeAvailable (const QString &mimeType)
QList< AudioOutputDevice > availableAudioOutputDevices ()
QList< EffectDescription > availableAudioEffects ()

Detailed Description

Collection of functions describing the capabilities of the Backend.

Author:
Matthias Kretz <kretz@kde.org>

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 (  ) 

Returns a list of mime types that the Backend can decode.

See also:
isMimeTypeAvailable()
bool Phonon::BackendCapabilities::isMimeTypeAvailable ( const QString &  mimeType  ) 

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.

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()

Phonon

Skip menu "Phonon"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  • KJSEmbed
  •   WTF
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  •   core
  • Phonon
  •   Backend
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal