<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <!-- phonon-api.qdoc --> <head> <title>Qt 4.6: BackendCapabilities Namespace Reference</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> <body> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td> <td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="functions.html"><font color="#004faf">All Functions</font></a> · <a href="overviews.html"><font color="#004faf">Overviews</font></a></td></tr></table><h1 class="title">BackendCapabilities Namespace Reference<br /><span class="small-subtitle">(Phonon::BackendCapabilities)<br />[<a href="phonon.html">Phonon</a> module]</span> </h1> <p>The BackendCapabilities namespace contains functions to describe the capabilities of the multimedia backend. <a href="#details">More...</a></p> <pre> #include <<a href="phonon.html">Phonon</a>></pre><p>This namespace was introduced in Qt 4.4.</p> <ul> </ul> <hr /> <a name="classes"></a> <h2>Classes</h2> <table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><b><a href="phonon-backendcapabilities-notifier.html">Notifier</a></b></td></tr> </table> <hr /> <a name="functions"></a> <h2>Functions</h2> <table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr><td class="memItemLeft" align="right" valign="top">QList<EffectDescription> </td><td class="memItemRight" valign="bottom"><b><a href="phonon-backendcapabilities.html#availableAudioEffects">availableAudioEffects</a></b> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">QList<AudioOutputDevice> </td><td class="memItemRight" valign="bottom"><b><a href="phonon-backendcapabilities.html#availableAudioOutputDevices">availableAudioOutputDevices</a></b> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">QStringList </td><td class="memItemRight" valign="bottom"><b><a href="phonon-backendcapabilities.html#availableMimeTypes">availableMimeTypes</a></b> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="phonon-backendcapabilities.html#isMimeTypeAvailable">isMimeTypeAvailable</a></b> ( const QString & <i>mimeType</i> )</td></tr> <tr><td class="memItemLeft" align="right" valign="top">Notifier * </td><td class="memItemRight" valign="bottom"><b><a href="phonon-backendcapabilities.html#notifier">notifier</a></b> ()</td></tr> </table> <a name="details"></a> <hr /> <h2>Detailed Description</h2> <p>The BackendCapabilities namespace contains functions to describe the capabilities of the multimedia backend.</p> <hr /> <h2>Classes</h2> <h3> class <a href="phonon-backendcapabilities-notifier.html">Notifier</a></h3><hr /> <h2>Function Documentation</h2> <a name="//apple_ref/cpp/instm/Phonon::BackendCapabilities/availableAudioEffects"></a> <h3 class="fn"><a name="availableAudioEffects"></a><a href="qlist.html">QList</a><<a href="phonon-objectdescription.html#EffectDescription-typedef">EffectDescription</a>> BackendCapabilities::availableAudioEffects ()</h3> <p>Returns descriptions for the audio effects the backend supports.</p> <p>Returns A list of AudioEffectDescription objects that give a name and description for every supported audio effect.</p> <a name="//apple_ref/cpp/instm/Phonon::BackendCapabilities/availableAudioOutputDevices"></a> <h3 class="fn"><a name="availableAudioOutputDevices"></a><a href="qlist.html">QList</a><<a href="phonon-objectdescription.html#AudioOutputDevice-typedef">AudioOutputDevice</a>> BackendCapabilities::availableAudioOutputDevices ()</h3> <p>Returns the audio output devices the backend supports.</p> <p>Returns A list of <a href="phonon-objectdescription.html#AudioOutputDevice-typedef">AudioOutputDevice</a> objects that give a name and description for every supported audio output device.</p> <a name="//apple_ref/cpp/instm/Phonon::BackendCapabilities/availableMimeTypes"></a> <h3 class="fn"><a name="availableMimeTypes"></a><a href="qstringlist.html">QStringList</a> BackendCapabilities::availableMimeTypes ()</h3> <p>Returns a list of mime types that the Backend can decode.</p> <p>See also <a href="phonon-backendcapabilities.html#isMimeTypeAvailable">isMimeTypeAvailable</a>().</p> <a name="//apple_ref/cpp/instm/Phonon::BackendCapabilities/isMimeTypeAvailable"></a> <h3 class="fn"><a name="isMimeTypeAvailable"></a>bool BackendCapabilities::isMimeTypeAvailable ( const <a href="qstring.html">QString</a> & <i>mimeType</i> )</h3> <p>Often all you want to know is whether one given MIME type can be decoded by the backend. Use this method in favor of <a href="phonon-backendcapabilities.html#availableMimeTypes">availableMimeTypes</a>() as it can give you a negative answer without having a backend loaded.</p> <p>Returns true if the given <i>mimeType</i> is supported by the backend; otherwise, returns false.</p> <p>See also <a href="phonon-backendcapabilities.html#availableMimeTypes">availableMimeTypes</a>().</p> <a name="//apple_ref/cpp/instm/Phonon::BackendCapabilities/notifier"></a> <h3 class="fn"><a name="notifier"></a><a href="phonon-backendcapabilities-notifier.html">Notifier</a> * BackendCapabilities::notifier ()</h3> <p>Use this function to get a <a href="qobject.html">QObject</a> pointer to connect to the capabilitiesChanged signal.</p> <p>Returns a pointer to a <a href="qobject.html">QObject</a>.</p> <p>The capabilitiesChanged signal is emitted if the capabilities have changed. This can happen if the user has requested a backend change.</p> <p>To connect to this signal do the following:</p> <pre> QObject::connect(BackendCapabilities::notifier(), SIGNAL(capabilitiesChanged()), ...</pre> <p>See also <a href="phonon-backendcapabilities-notifier.html#capabilitiesChanged">Notifier::capabilitiesChanged</a>().</p> <p /><address><hr /><div align="center"> <table width="100%" cellspacing="0" border="0"><tr class="address"> <td width="40%" align="left">Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)</td> <td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td> <td width="40%" align="right"><div align="right">Qt 4.6.3</div></td> </tr></table></div></address></body> </html>