Rename QtMultimediaKit to QtMultimedia.

There are a few legacy bits left in place so it passes CI, and
then qt5.git etc can be updated.

Change-Id: I6b082e50e6958c72fdabc2974992e16d90dafa3a
Reviewed-on: http://codereview.qt-project.org/5368
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
This commit is contained in:
Michael Goddard
2011-10-06 14:31:58 +10:00
committed by Qt by Nokia
parent 55bc4f2b46
commit 03f22bcdaf
395 changed files with 1393 additions and 3088 deletions

View File

@@ -36,7 +36,7 @@ or video.
The Camera Example demonstrates how you can use the QtMultimediaKit to implement
The Camera Example demonstrates how you can use QtMultimedia to implement
some basic Camera functionality to take still images and record video clips
with audio.

View File

@@ -42,7 +42,7 @@ collection of media content.
Multimedia provides a set of APIs that allow the developer to play, record
and manage a collection of media content. It is dependent on the
QtMultimediaKit module. QtMultimediaKit is the recommended API to build multimedia
QtMultimedia module. QtMultimedia is the recommended API to build multimedia
applications using Qt. The Phonon API is no longer recommended.
\tableofcontents
@@ -67,7 +67,7 @@ from a remote location and identified by a URL. Finally, many different
codecs are supported 'out
of the box'.
The supplied \l {qtmultimediakit examples}{examples} give a good idea at the ease of use of the API. When
The supplied \l {qtmultimedia examples}{examples} give a good idea at the ease of use of the API. When
the supporting user interface code is ignored we can see that functionality
is immediately available with minimal effort.
@@ -304,7 +304,7 @@ the operation can be cancelled by calling
cancellation can be done by calling \l {QCamera::unlock()}{unlock}(QCamera::LockFocus).
\target qtmultimediakit examples
\target qtmultimedia examples
\section1 Examples
\section2 Record a Sound Source
@@ -326,7 +326,7 @@ QVideoWidget classes.
\section2 Camera Example
The \l{Camera Example} shows how use the QtMultimediaKit API to quickly
The \l{Camera Example} shows how use the QtMultimedia API to quickly
write a camera application in C++.
\section2 QML Camera Example

View File

@@ -55,7 +55,7 @@
\qml
import Qt 4.7
import QtMultimediaKit 1.1
import QtMultimedia 4.0
// ...
Audio {
@@ -238,7 +238,7 @@
\qml
import Qt 4.7
import QtMultimediaKit 1.1
import QtMultimedia 4.0
SoundEffect {
@@ -265,7 +265,7 @@
\qml
import Qt 4.7
import QtMultimediaKit 1.1
import QtMultimedia 4.0
Camera {
focus : visible // to receive focus and capture key events when visible

View File

@@ -45,7 +45,7 @@
#include <qmediarecorder.h>
#include <qmediaservice.h>
#include <QtMultimediaKit/qaudioformat.h>
#include <QtMultimedia/qaudioformat.h>
#include "audiorecorder.h"

View File

@@ -210,7 +210,7 @@ void MediaExample::MediaRecorder()
QAudioEncoderSettings audioSettings;
audioSettings.setCodec("audio/vorbis");
audioSettings.setQuality(QtMultimediaKit::HighQuality);
audioSettings.setQuality(QtMultimedia::HighQuality);
recorder->setEncodingSettings(audioSettings);

View File

@@ -4,14 +4,14 @@ TEMPLATE = lib
TARGET = qtmmksnippets
INCLUDEPATH += ../../../../src/global \
../../../../src/multimediakit \
../../../../src/multimediakit/audio \
../../../../src/multimediakit/video \
../../../../src/multimediakit/effects
../../../../src/multimedia \
../../../../src/multimedia/audio \
../../../../src/multimedia/video \
../../../../src/multimedia/effects
CONFIG += console
qtAddLibrary(QtMultimediaKit)
QT += multimedia
SOURCES += \
audio.cpp \

View File

@@ -177,14 +177,14 @@ void Player::positionChanged(qint64 progress)
void Player::metaDataChanged()
{
//qDebug() << "update metadata" << player->metaData(QtMultimediaKit::Title).toString();
//qDebug() << "update metadata" << player->metaData(QtMultimedia::Title).toString();
if (player->isMetaDataAvailable()) {
setTrackInfo(QString("%1 - %2")
.arg(player->metaData(QtMultimediaKit::AlbumArtist).toString())
.arg(player->metaData(QtMultimediaKit::Title).toString()));
.arg(player->metaData(QtMultimedia::AlbumArtist).toString())
.arg(player->metaData(QtMultimedia::Title).toString()));
if (coverLabel) {
QUrl url = player->metaData(QtMultimediaKit::CoverArtUrlLarge).value<QUrl>();
QUrl url = player->metaData(QtMultimedia::CoverArtUrlLarge).value<QUrl>();
coverLabel->setPixmap(!url.isEmpty()
? QPixmap(url.toString())

View File

@@ -41,7 +41,7 @@
//! [complete snippet]
import Qt 4.7
import QtMultimediaKit 1.1
import QtMultimedia 4.0
Text {
text: "Click Me!";