Warning, /sdk/doxyqml/tests/functional/no-nested-components/input/Nesting.qml is written in an unsupported language. File is not indexed.

0001 /*
0002  * Header bla
0003  */
0004 import QtQuick 1.1
0005 import QtQuick.Controls 1.4 as QtQuick1
0006 
0007 /**
0008  * Parent item.
0009  */
0010 Item {
0011 
0012     /// @page page1 A page describing the content of the QML file
0013     ///
0014     /// Some Description Here
0015     Item {
0016 
0017         id: childItem
0018 
0019         /** An attribute that is is ignored */
0020         componentAttribute: value
0021 
0022         /**
0023          * A function in a component. Even this is ignored
0024          * @param type:string str The string to append 'a' to.
0025          * @return type:string The new string.
0026          */
0027         function itemFunction(str) {
0028             return str + "a";
0029         }
0030     }
0031 
0032     /// Another block that gets added to the page which could describe why
0033     /// childItem2 is here
0034     Item {
0035       id: childItem2
0036     }
0037 }