File: InlineComments.qml.cpp

package info (click to toggle)
doxyqml 0.5.3-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 412 kB
  • sloc: python: 1,349; cpp: 165; makefile: 9; sh: 8
file content (42 lines) | stat: -rw-r--r-- 1,478 bytes parent folder | download
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
using namespace QtQuick;
/*
 * Header bla
 */
///< What happens here?
/**
 * A very simple item   ///< How about here?
 */
class InlineComments : public QtQuick.Item {
public:
Q_PROPERTY(int foo READ dummyGetter_foo_ignore) ///< The 'foo' property
Q_SIGNALS: void clicked(int x, int y); /**< The `clicked` signal */
public:
Q_SIGNALS: void activated(); //!< Another signal
public:
void doSomething(string arg1, int arg2); /*!< @param arg1 first argument @param arg2 second argument */
/**
 * A weirdly documented function.... the inline comment will be stripped. Doxygen would ignore the inline comment anyway.
 * @param foo first argument
 * @param bar this argument does exist
 */
void weirdlyDocumented(string foo, int bar);
Q_PROPERTY(string escaped READ dummyGetter_escaped_ignore) ///< and an inline comment
Q_PROPERTY(string block READ dummyGetter_block_ignore) /**< and an inline comment! ***<  //!<  */
int square(arg); ///< Compute the arg^2. @return the result
void refresh(); ///< Inline comment out of place (should be moved inline in the output)
// Just some regular comment
void reload(); ///< Inline comment for a keyword following a regular comment.
/*!  Just for fun...
  ///< Inline comment
  //!< Inline comment
  @param arg1 first argument
  @param arg2 second argument
  /*!< Inline comment
*/
void update(string arg1, int arg2);

Q_PROPERTY(int weirdProperty READ dummyGetter_weirdProperty_ignore)
/* baz */
/* foo */
///< and a useless inline comment
};