Fix some typos
Change-Id: Iaf8f50741d3103480668b4a654a202d8a363bc45 Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
This commit is contained in:
committed by
Yoann Lopes
parent
13b24ab18b
commit
4ce9d89d7a
@@ -114,7 +114,7 @@ QUrl QDeclarativeAudioSample::source() const
|
|||||||
void QDeclarativeAudioSample::setSource(const QUrl& url)
|
void QDeclarativeAudioSample::setSource(const QUrl& url)
|
||||||
{
|
{
|
||||||
if (m_complete) {
|
if (m_complete) {
|
||||||
qWarning("AudioSample: source not changable after initialization.");
|
qWarning("AudioSample: source not changeable after initialization.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_url = url;
|
m_url = url;
|
||||||
@@ -170,7 +170,7 @@ void QDeclarativeAudioSample::load()
|
|||||||
void QDeclarativeAudioSample::setPreloaded(bool preloaded)
|
void QDeclarativeAudioSample::setPreloaded(bool preloaded)
|
||||||
{
|
{
|
||||||
if (m_complete) {
|
if (m_complete) {
|
||||||
qWarning("AudioSample: preloaded not changable after initialization.");
|
qWarning("AudioSample: preloaded not changeable after initialization.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_preloaded = preloaded;
|
m_preloaded = preloaded;
|
||||||
@@ -179,7 +179,7 @@ void QDeclarativeAudioSample::setPreloaded(bool preloaded)
|
|||||||
void QDeclarativeAudioSample::setStreaming(bool streaming)
|
void QDeclarativeAudioSample::setStreaming(bool streaming)
|
||||||
{
|
{
|
||||||
if (m_complete) {
|
if (m_complete) {
|
||||||
qWarning("AudioSample: streaming not changable after initialization.");
|
qWarning("AudioSample: streaming not changeable after initialization.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_streaming = streaming;
|
m_streaming = streaming;
|
||||||
@@ -199,7 +199,7 @@ QString QDeclarativeAudioSample::name() const
|
|||||||
void QDeclarativeAudioSample::setName(const QString& name)
|
void QDeclarativeAudioSample::setName(const QString& name)
|
||||||
{
|
{
|
||||||
if (m_complete) {
|
if (m_complete) {
|
||||||
qWarning("AudioSample: name not changable after initialization.");
|
qWarning("AudioSample: name not changeable after initialization.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_name = name;
|
m_name = name;
|
||||||
|
|||||||
@@ -239,7 +239,7 @@ QDeclarativeSound::PlayType QDeclarativeSound::playType() const
|
|||||||
void QDeclarativeSound::setPlayType(PlayType playType)
|
void QDeclarativeSound::setPlayType(PlayType playType)
|
||||||
{
|
{
|
||||||
if (m_complete) {
|
if (m_complete) {
|
||||||
qWarning("Sound: playType not changable after initialization.");
|
qWarning("Sound: playType not changeable after initialization.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_playType = playType;
|
m_playType = playType;
|
||||||
@@ -258,7 +258,7 @@ QString QDeclarativeSound::category() const
|
|||||||
void QDeclarativeSound::setCategory(const QString& category)
|
void QDeclarativeSound::setCategory(const QString& category)
|
||||||
{
|
{
|
||||||
if (m_complete) {
|
if (m_complete) {
|
||||||
qWarning("Sound: category not changable after initialization.");
|
qWarning("Sound: category not changeable after initialization.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_category = category;
|
m_category = category;
|
||||||
@@ -278,7 +278,7 @@ QString QDeclarativeSound::name() const
|
|||||||
void QDeclarativeSound::setName(const QString& name)
|
void QDeclarativeSound::setName(const QString& name)
|
||||||
{
|
{
|
||||||
if (m_complete) {
|
if (m_complete) {
|
||||||
qWarning("Sound: category not changable after initialization.");
|
qWarning("Sound: category not changeable after initialization.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_name = name;
|
m_name = name;
|
||||||
@@ -322,7 +322,7 @@ QDeclarativePlayVariation* QDeclarativeSound::getVariation(int index)
|
|||||||
void QDeclarativeSound::setAttenuationModel(QString attenuationModel)
|
void QDeclarativeSound::setAttenuationModel(QString attenuationModel)
|
||||||
{
|
{
|
||||||
if (m_complete) {
|
if (m_complete) {
|
||||||
qWarning("Sound: attenuationModel not changable after initialization.");
|
qWarning("Sound: attenuationModel not changeable after initialization.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_attenuationModel = attenuationModel;
|
m_attenuationModel = attenuationModel;
|
||||||
|
|||||||
@@ -925,7 +925,7 @@ void QDeclarativeCamera::setDigitalZoom(qreal value)
|
|||||||
\qmlproperty variant QtMultimedia::Camera::metaData.gpsLongitude
|
\qmlproperty variant QtMultimedia::Camera::metaData.gpsLongitude
|
||||||
\qmlproperty variant QtMultimedia::Camera::metaData.gpsAltitude
|
\qmlproperty variant QtMultimedia::Camera::metaData.gpsAltitude
|
||||||
|
|
||||||
These properties hold the the geographic position in decimal degrees of the
|
These properties hold the geographic position in decimal degrees of the
|
||||||
camera at time of capture.
|
camera at time of capture.
|
||||||
|
|
||||||
\sa {QMediaMetaData}
|
\sa {QMediaMetaData}
|
||||||
|
|||||||
@@ -153,7 +153,7 @@ bool QDeclarativeCameraCapture::isReadyForCapture() const
|
|||||||
for video.
|
for video.
|
||||||
|
|
||||||
Camera saves all the capture parameters like exposure settings or
|
Camera saves all the capture parameters like exposure settings or
|
||||||
image processing parameters, so changes to camera paramaters after
|
image processing parameters, so changes to camera parameters after
|
||||||
capture() is called do not affect previous capture requests.
|
capture() is called do not affect previous capture requests.
|
||||||
|
|
||||||
capture() returns the capture requestId parameter, used with
|
capture() returns the capture requestId parameter, used with
|
||||||
|
|||||||
@@ -520,7 +520,7 @@ bool QCameraImageCapture::isReadyForCapture() const
|
|||||||
the default directory, with a full path reported with imageCaptured() and imageSaved() signals.
|
the default directory, with a full path reported with imageCaptured() and imageSaved() signals.
|
||||||
|
|
||||||
QCamera saves all the capture parameters like exposure settings or
|
QCamera saves all the capture parameters like exposure settings or
|
||||||
image processing parameters, so changes to camera paramaters after
|
image processing parameters, so changes to camera parameters after
|
||||||
capture() is called do not affect previous capture requests.
|
capture() is called do not affect previous capture requests.
|
||||||
|
|
||||||
QCameraImageCapture::capture returns the capture Id parameter, used with
|
QCameraImageCapture::capture returns the capture Id parameter, used with
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ QCameraImageCaptureControl::~QCameraImageCaptureControl()
|
|||||||
|
|
||||||
The Camera service should save all the capture parameters
|
The Camera service should save all the capture parameters
|
||||||
like exposure settings or image processing parameters,
|
like exposure settings or image processing parameters,
|
||||||
so changes to camera paramaters after capture() is called
|
so changes to camera parameters after capture() is called
|
||||||
do not affect previous capture requests.
|
do not affect previous capture requests.
|
||||||
|
|
||||||
Returns the capture request id number, which is used later
|
Returns the capture request id number, which is used later
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
\brief Platform notes for the BlackBerry Platform
|
\brief Platform notes for the BlackBerry Platform
|
||||||
|
|
||||||
Qt Multimedia supports BlackBerry devices that run the BB10 operating system.
|
Qt Multimedia supports BlackBerry devices that run the BB10 operating system.
|
||||||
This page covers the availibility of different features on BB10.
|
This page covers the availability of different features on BB10.
|
||||||
|
|
||||||
\section1 Implementation
|
\section1 Implementation
|
||||||
|
|
||||||
|
|||||||
@@ -335,7 +335,7 @@ void QMediaPlayerPrivate::setPlaylistMedia()
|
|||||||
return;
|
return;
|
||||||
} else if (control != 0) {
|
} else if (control != 0) {
|
||||||
// If we've just switched to a new playlist,
|
// If we've just switched to a new playlist,
|
||||||
// then last emited currentMediaChanged was a playlist.
|
// then last emitted currentMediaChanged was a playlist.
|
||||||
// Make sure we emit currentMediaChanged if new playlist has
|
// Make sure we emit currentMediaChanged if new playlist has
|
||||||
// the same media as the previous one:
|
// the same media as the previous one:
|
||||||
// sample.m3u
|
// sample.m3u
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
|
|
||||||
player->setVideoOutput(myVideoSurface);
|
player->setVideoOutput(myVideoSurface);
|
||||||
player->setMedia(QUrl::fromLocalFile("observation.mp4"));
|
player->setMedia(QUrl::fromLocalFile("observation.mp4"));
|
||||||
player->play(); // Start receving frames as they get presented to myVideoSurface
|
player->play(); // Start receiving frames as they get presented to myVideoSurface
|
||||||
\endcode
|
\endcode
|
||||||
|
|
||||||
This same approach works with the QCamera object as well, to receive viewfinder or video
|
This same approach works with the QCamera object as well, to receive viewfinder or video
|
||||||
|
|||||||
@@ -428,7 +428,7 @@ void QWindowsAudioInput::initMixer()
|
|||||||
return;
|
return;
|
||||||
mixerID = (HMIXEROBJ)mixerIntID;
|
mixerID = (HMIXEROBJ)mixerIntID;
|
||||||
|
|
||||||
// Get the Destination (Recording) Line Infomation
|
// Get the Destination (Recording) Line Information
|
||||||
MIXERLINE mixerLine;
|
MIXERLINE mixerLine;
|
||||||
mixerLine.cbStruct = sizeof(MIXERLINE);
|
mixerLine.cbStruct = sizeof(MIXERLINE);
|
||||||
mixerLine.dwComponentType = MIXERLINE_COMPONENTTYPE_DST_WAVEIN;
|
mixerLine.dwComponentType = MIXERLINE_COMPONENTTYPE_DST_WAVEIN;
|
||||||
|
|||||||
@@ -1296,7 +1296,7 @@ void MFPlayerSession::commitRateChange(qreal rate, BOOL isThin)
|
|||||||
// (which might be earlier than the last decoded key frame)
|
// (which might be earlier than the last decoded key frame)
|
||||||
resetPosition = true;
|
resetPosition = true;
|
||||||
} else if (cmdNow == CmdPause) {
|
} else if (cmdNow == CmdPause) {
|
||||||
// If paused, dont reset the position until we resume, otherwise
|
// If paused, don't reset the position until we resume, otherwise
|
||||||
// a new frame will be rendered
|
// a new frame will be rendered
|
||||||
m_presentationClock->GetCorrelatedTime(0, &hnsClockTime, &hnsSystemTime);
|
m_presentationClock->GetCorrelatedTime(0, &hnsClockTime, &hnsSystemTime);
|
||||||
m_request.setCommand(CmdSeekResume);
|
m_request.setCommand(CmdSeekResume);
|
||||||
|
|||||||
Reference in New Issue
Block a user