From 4c119b985aca8faae7e7fadf48c70619f29a17e5 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Thu, 20 Nov 2014 14:56:25 +0100 Subject: [PATCH] Doc: update accelbubble example source file To reflect changes in the template. Hide license header from the docs. Change-Id: Ib703f5a8c17ef210a14c684caa8ba9ecf8936839 Reviewed-by: Alessandro Portale --- doc/examples/accelbubble/main.qml | 4 ++++ doc/src/qtquick/creator-mobile-app-tutorial.qdoc | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/examples/accelbubble/main.qml b/doc/examples/accelbubble/main.qml index 0f3d1989413..253695732d3 100644 --- a/doc/examples/accelbubble/main.qml +++ b/doc/examples/accelbubble/main.qml @@ -109,6 +109,10 @@ ApplicationWindow { menuBar: MenuBar { Menu { title: qsTr("File") + MenuItem { + text: qsTr("&Open") + onTriggered: console.log("Open action triggered"); + } MenuItem { text: qsTr("Exit") onTriggered: Qt.quit(); diff --git a/doc/src/qtquick/creator-mobile-app-tutorial.qdoc b/doc/src/qtquick/creator-mobile-app-tutorial.qdoc index 6c7e7018c81..592597e483e 100644 --- a/doc/src/qtquick/creator-mobile-app-tutorial.qdoc +++ b/doc/src/qtquick/creator-mobile-app-tutorial.qdoc @@ -284,6 +284,8 @@ When you have completed the steps, the main.qml file should look as follows: - \quotefile accelbubble/main.qml + \quotefromfile accelbubble/main.qml + \skipto import + \printuntil /^\}/ */