summaryrefslogtreecommitdiffstats
path: root/src/imports/audioengine
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2012-10-24 10:48:22 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-24 10:53:07 +0200
commit31d3de9a9c02a0317cc388ccc2e55bcc0cf1b65e (patch)
treefb769eaf130c4e2b2ae962ffb128a90d0c7333dc /src/imports/audioengine
parent371292f28837f244747819545e8d92aea30b9c0b (diff)
Fix the QML list interface
The QML list interface was changed, so that there is now a read only constructor and the default properties are removed. This is because the original interface was very runtime centric, like other parts in QML. The new interface was changed for the needs of the QML designer and debugger. Task-number: QTBUG-9390 Change-Id: Ia61a2457432b4fc5c0cf440eeebd9d3a6c4c6463 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Diffstat (limited to 'src/imports/audioengine')
-rw-r--r--src/imports/audioengine/qdeclarative_audioengine_p.cpp2
-rw-r--r--src/imports/audioengine/qdeclarative_sound_p.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/audioengine/qdeclarative_audioengine_p.cpp b/src/imports/audioengine/qdeclarative_audioengine_p.cpp
index c47a711df..5c6848fd2 100644
--- a/src/imports/audioengine/qdeclarative_audioengine_p.cpp
+++ b/src/imports/audioengine/qdeclarative_audioengine_p.cpp
@@ -404,7 +404,7 @@ void QDeclarativeAudioEngine::appendFunction(QQmlListProperty<QObject> *property
QQmlListProperty<QObject> QDeclarativeAudioEngine::bank()
{
- return QQmlListProperty<QObject>(this, 0, appendFunction);
+ return QQmlListProperty<QObject>(this, 0, appendFunction, 0, 0, 0);
}
/*!
diff --git a/src/imports/audioengine/qdeclarative_sound_p.cpp b/src/imports/audioengine/qdeclarative_sound_p.cpp
index 441453fc7..87a0ccce2 100644
--- a/src/imports/audioengine/qdeclarative_sound_p.cpp
+++ b/src/imports/audioengine/qdeclarative_sound_p.cpp
@@ -363,7 +363,7 @@ void QDeclarativeSound::setCategoryObject(QDeclarativeAudioCategory *categoryObj
QQmlListProperty<QDeclarativePlayVariation> QDeclarativeSound::playVariationlist()
{
- return QQmlListProperty<QDeclarativePlayVariation>(this, 0, appendFunction);
+ return QQmlListProperty<QDeclarativePlayVariation>(this, 0, appendFunction, 0, 0, 0);
}
QList<QDeclarativePlayVariation*>& QDeclarativeSound::playlist()