Warning, /sdk/doxyqml/tests/manual/Backslash.qml is written in an unsupported language. File is not indexed.
0001 /*
0002 * Header bla
0003 */
0004 import QtQuick 1.1
0005
0006 /**
0007 * A very simple item
0008 */
0009 Item {
0010 /**
0011 * The 'foo' property
0012 */
0013 property int foo
0014
0015 signal clicked(int x, int y)
0016
0017 signal activated
0018
0019 /**
0020 * Do something with arg1 and arg2
0021 * \param type:string arg1 first argument
0022 * \param type:int arg2 second argument
0023 */
0024 function doSomething(arg1, arg2) {
0025 console.log("arg1=" + arg1);
0026 }
0027
0028 property string escaped: "a string \n \" \t with escaped chars"
0029 property string block: "a string with some block {({ ] } chars"
0030
0031 /**
0032 * Compute the arg^2
0033 * \return type:int the result
0034 */
0035 function square(arg) {
0036 return arg * arg;
0037 }
0038
0039 /// One-line comment
0040 function refresh() {
0041 }
0042
0043 Item {
0044 }
0045
0046 property /* foo */ int /* bar */ weirdProperty /* baz */ : /* foo */ 12
0047 }