Enable building the documentation snippets.
Change-Id: Ib7ef5a564408092ecd72be5d855b2defaddf9c4e Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
b48009ce9e
commit
39e6da8f8e
@@ -38,12 +38,17 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
//! [0]
|
||||
QSound::play("mysounds/bells.wav");
|
||||
//! [0]
|
||||
|
||||
#include "qsound.h"
|
||||
|
||||
void qsoundsnippet() {
|
||||
//! [0]
|
||||
QSound::play("mysounds/bells.wav");
|
||||
//! [0]
|
||||
|
||||
|
||||
//! [1]
|
||||
QSound bells("mysounds/bells.wav");
|
||||
bells.play();
|
||||
//! [1]
|
||||
//! [1]
|
||||
QSound bells("mysounds/bells.wav");
|
||||
bells.play();
|
||||
//! [1]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user