Added QMediaRecorder::actualLocation property

To report the actual location file was written.

Change-Id: Ibb56a720a258a1e5cedceaf0f9bcea73fb93bc96
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
Dmytro Poplavskiy
2012-01-31 13:20:17 +10:00
committed by Qt by Nokia
parent a26bf6c8b6
commit ba37f73d44
7 changed files with 76 additions and 1 deletions

View File

@@ -111,7 +111,9 @@ QMediaRecorderControl::~QMediaRecorderControl()
The \a location can be relative or empty;
in this case the service should use the system specific place and file naming scheme.
After recording has stated, QMediaRecorderControl::outputLocation() should return the actual output location.
After recording has started, the backend should report the actual file location
with actualLocationChanged() signal.
*/
/*!
@@ -184,6 +186,13 @@ QMediaRecorderControl::~QMediaRecorderControl()
Signals that the \a muted state of a media recorder has changed.
*/
/*!
\fn void QMediaRecorderControl::actualLocationChanged(const QUrl &location)
Signals that the actual media \a location has changed.
This signal should be emitted at start of recording.
*/
/*!
\fn void QMediaRecorderControl::error(int error, const QString &errorString)

View File

@@ -78,6 +78,7 @@ Q_SIGNALS:
void stateChanged(QMediaRecorder::State state);
void durationChanged(qint64 position);
void mutedChanged(bool muted);
void actualLocationChanged(const QUrl &location);
void error(int error, const QString &errorString);
public Q_SLOTS: