Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QAudioSourceSelectorDialog class allows the user to select an audio document from a variety of sources. More...
#include <QAudioSourceSelectorDialog>
Inherits QDialog.
The QAudioSourceSelectorDialog class allows the user to select an audio document from a variety of sources.
QAudioSourceSelectorDialog allows the user to select an audio document from the documents system or from any QDS service on the device that allows an audio document to be retrieved, such as a microphone recording. It returns the user's selection to the client code as a QContent object.
The dialog will allow the user to invoke any QDS service that returns data in "audio/x-qstring" form and has the "get" attribute, or to select an existing audio document.
The following code uses QAudioSourceSelectorDialog to allow the user to select an audio document from any source:
QAudioSourceSelectorDialog dialog( this ); if( QtopiaApplication::execDialog( &dialog ) ) { // Accept QContent audio = dialog.content(); } else { // Reject }
See also QDSServiceInfo and QDocumentSelectorDialog.
Constructs a QAudioSourceSelectorDialog as a child of parent.
Destroys the QAudioSourceSelectorDialog object.
Returns the audio document selected by the user.
See also setContent().
Sets the dialog to show audio as the selected audio document.
See also content().
Sets the audio parameters to use if the user chooses to acquire new audio data.
The new audio data is requested to be of MIME type type, formatted as subFormat with the supplied frequency and number of channels.
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |