File indexing completed on 2025-01-26 05:13:02
0001 using namespace QtQuick; 0002 /* 0003 * Header bla 0004 */ 0005 ///< What happens here? 0006 /** 0007 * A very simple item ///< How about here? 0008 */ 0009 class InlineComments : public QtQuick.Item { 0010 public: 0011 Q_PROPERTY(int foo READ dummyGetter_foo_ignore) ///< The 'foo' property 0012 Q_SIGNALS: void clicked(int x, int y); /**< The `clicked` signal */ 0013 public: 0014 Q_SIGNALS: void activated(); //!< Another signal 0015 public: 0016 void doSomething(string arg1, int arg2); /*!< @param arg1 first argument @param arg2 second argument */ 0017 /** 0018 * A weirdly documented function.... the inline comment will be stripped. Doxygen would ignore the inline comment anyway. 0019 * @param foo first argument 0020 * @param bar this argument does exist 0021 */ 0022 void weirdlyDocumented(string foo, int bar); 0023 Q_PROPERTY(string escaped READ dummyGetter_escaped_ignore) ///< and an inline comment 0024 Q_PROPERTY(string block READ dummyGetter_block_ignore) /**< and an inline comment! ***< //!< */ 0025 int square(arg); ///< Compute the arg^2. @return the result 0026 void refresh(); ///< Inline comment out of place (should be moved inline in the output) 0027 // Just some regular comment 0028 void reload(); ///< Inline comment for a keyword following a regular comment. 0029 /*! Just for fun... 0030 ///< Inline comment 0031 //!< Inline comment 0032 @param arg1 first argument 0033 @param arg2 second argument 0034 /*!< Inline comment 0035 */ 0036 void update(string arg1, int arg2); 0037 0038 Q_PROPERTY(int weirdProperty READ dummyGetter_weirdProperty_ignore) 0039 /* baz */ 0040 /* foo */ 0041 ///< and a useless inline comment 0042 };