File: FunctionArgs.qml.cpp

package info (click to toggle)
doxyqml 0.3.0-1.2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 216 kB
  • sloc: python: 780; cpp: 54; makefile: 6
file content (46 lines) | stat: -rw-r--r-- 884 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
using namespace QtQuick;
/*
 * Header bla
 */
/**
 * A very simple item
 */
class FunctionArgs : public Item {
public:
/**
     * The 'foo' property
     */
Q_PROPERTY(int foo)

Q_SIGNALS: void clicked(int x, int y); public:

Q_SIGNALS: void activated(); public:
/**
     * Do something with arg1 and arg2
     * @param arg1 first argument
     * @param arg2 second argument
     */
void doSomething(string arg1, int arg2);
/**
     * A badly documented function. Missing one argument and documenting a
     * non-existing document
     * @param foo first argument
     * @param baz this argument does not exist
     */
void badlyDocumented(string foo, bar);

Q_PROPERTY(string escaped)

Q_PROPERTY(string block)
/**
     * Compute the arg^2
     * @return the result
     */
int square(arg);
/// One-line comment
void refresh();

Q_PROPERTY(int weirdProperty)
/* baz */
/* foo */
};