Fix a number of doc errors and warnings.
* Document a few missing classes/functions/methods * Fix a number of QML snippets that wouldn't work as standalone snippets * Add files to .pro so they show up in Creator.. Still the mysterious lack of controls dir documentation persists :/ Change-Id: I57162371a4d966e4db5bdb1b71d1baf9c0ca57c3 Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
9b162f9844
commit
8484b0ff9c
@@ -51,6 +51,7 @@ import QtAudioEngine 1.0
|
||||
|
||||
AudioEngine {
|
||||
//...
|
||||
}
|
||||
\endqml
|
||||
|
||||
\section1 Examples
|
||||
|
||||
@@ -58,15 +58,20 @@
|
||||
import QtMultimedia 5.0
|
||||
// ...
|
||||
|
||||
Audio {
|
||||
id: playMusic
|
||||
source: "music.wav"
|
||||
}
|
||||
Item {
|
||||
width: 640
|
||||
height: 360
|
||||
|
||||
MouseArea {
|
||||
id: playArea
|
||||
anchors.fill: parent
|
||||
onPressed: { playMusic.play() }
|
||||
Audio {
|
||||
id: playMusic
|
||||
source: "music.wav"
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
id: playArea
|
||||
anchors.fill: parent
|
||||
onPressed: { playMusic.play() }
|
||||
}
|
||||
}
|
||||
|
||||
\endqml
|
||||
@@ -194,6 +199,9 @@
|
||||
import QtQuick 2.0
|
||||
import QtMultimedia 5.0
|
||||
|
||||
Item {
|
||||
width: 640
|
||||
height: 360
|
||||
|
||||
SoundEffect {
|
||||
id: effect
|
||||
@@ -204,6 +212,7 @@
|
||||
anchors.fill: parent
|
||||
onPressed: { effect.play() }
|
||||
}
|
||||
}
|
||||
|
||||
\endqml
|
||||
|
||||
|
||||
Reference in New Issue
Block a user