Fix version availability for VideoOutput's autoOrientation property.
This new property is available since 5.2, not 5.1. Change-Id: Ie3b5cd3c5d909f6d4ba662a2eaf03f1e6bb8b21b Reviewed-by: Tobias Koenig <tobias.koenig.qnx@kdab.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
This commit is contained in:
committed by
The Qt Project
parent
fd3efc0163
commit
e4654ca5ee
@@ -76,7 +76,7 @@ public:
|
|||||||
qmlRegisterType<QDeclarativeAudio>(uri, 5, 0, "Audio");
|
qmlRegisterType<QDeclarativeAudio>(uri, 5, 0, "Audio");
|
||||||
qmlRegisterType<QDeclarativeAudio>(uri, 5, 0, "MediaPlayer");
|
qmlRegisterType<QDeclarativeAudio>(uri, 5, 0, "MediaPlayer");
|
||||||
qmlRegisterType<QDeclarativeVideoOutput>(uri, 5, 0, "VideoOutput");
|
qmlRegisterType<QDeclarativeVideoOutput>(uri, 5, 0, "VideoOutput");
|
||||||
qmlRegisterType<QDeclarativeVideoOutput, 1>(uri, 5, 1, "VideoOutput");
|
qmlRegisterType<QDeclarativeVideoOutput, 2>(uri, 5, 2, "VideoOutput");
|
||||||
qmlRegisterType<QDeclarativeRadio>(uri, 5, 0, "Radio");
|
qmlRegisterType<QDeclarativeRadio>(uri, 5, 0, "Radio");
|
||||||
qmlRegisterType<QDeclarativeRadioData>(uri, 5, 0, "RadioData");
|
qmlRegisterType<QDeclarativeRadioData>(uri, 5, 0, "RadioData");
|
||||||
qmlRegisterType<QDeclarativeCamera>(uri, 5, 0, "Camera");
|
qmlRegisterType<QDeclarativeCamera>(uri, 5, 0, "Camera");
|
||||||
|
|||||||
@@ -429,7 +429,7 @@ void QDeclarativeVideoOutput::setOrientation(int orientation)
|
|||||||
|
|
||||||
By default \c autoOrientation is disabled.
|
By default \c autoOrientation is disabled.
|
||||||
|
|
||||||
\since QtMultimedia 5.1
|
\since QtMultimedia 5.2
|
||||||
*/
|
*/
|
||||||
bool QDeclarativeVideoOutput::autoOrientation() const
|
bool QDeclarativeVideoOutput::autoOrientation() const
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ class QDeclarativeVideoOutput : public QQuickItem
|
|||||||
Q_PROPERTY(QObject* source READ source WRITE setSource NOTIFY sourceChanged)
|
Q_PROPERTY(QObject* source READ source WRITE setSource NOTIFY sourceChanged)
|
||||||
Q_PROPERTY(FillMode fillMode READ fillMode WRITE setFillMode NOTIFY fillModeChanged)
|
Q_PROPERTY(FillMode fillMode READ fillMode WRITE setFillMode NOTIFY fillModeChanged)
|
||||||
Q_PROPERTY(int orientation READ orientation WRITE setOrientation NOTIFY orientationChanged)
|
Q_PROPERTY(int orientation READ orientation WRITE setOrientation NOTIFY orientationChanged)
|
||||||
Q_PROPERTY(bool autoOrientation READ autoOrientation WRITE setAutoOrientation NOTIFY autoOrientationChanged REVISION 1)
|
Q_PROPERTY(bool autoOrientation READ autoOrientation WRITE setAutoOrientation NOTIFY autoOrientationChanged REVISION 2)
|
||||||
Q_PROPERTY(QRectF sourceRect READ sourceRect NOTIFY sourceRectChanged)
|
Q_PROPERTY(QRectF sourceRect READ sourceRect NOTIFY sourceRectChanged)
|
||||||
Q_PROPERTY(QRectF contentRect READ contentRect NOTIFY contentRectChanged)
|
Q_PROPERTY(QRectF contentRect READ contentRect NOTIFY contentRectChanged)
|
||||||
Q_ENUMS(FillMode)
|
Q_ENUMS(FillMode)
|
||||||
|
|||||||
Reference in New Issue
Block a user