qtstyle.cpp
Go to the documentation of this file.
1 //! A test class.
2 /*!
3  A more elaborate class description.
4 */
5 
7 {
8  public:
9 
10  //! An enum.
11  /*! More detailed enum description. */
12  enum TEnum {
13  TVal1, /*!< Enum value TVal1. */
14  TVal2, /*!< Enum value TVal2. */
15  TVal3 /*!< Enum value TVal3. */
16  }
17  //! Enum pointer.
18  /*! Details. */
19  *enumPtr,
20  //! Enum variable.
21  /*! Details. */
22  enumVar;
23 
24  //! A constructor.
25  /*!
26  A more elaborate description of the constructor.
27  */
28  QTstyle_Test();
29 
30  //! A destructor.
31  /*!
32  A more elaborate description of the destructor.
33  */
34  ~QTstyle_Test();
35 
36  //! A normal member taking two arguments and returning an integer value.
37  /*!
38  \param a an integer argument.
39  \param s a constant character pointer.
40  \return The test results
41  \sa QTstyle_Test(), ~QTstyle_Test(), testMeToo() and publicVar()
42  */
43  int testMe(int a,const char *s);
44 
45  //! A pure virtual member.
46  /*!
47  \sa testMe()
48  \param c1 the first argument.
49  \param c2 the second argument.
50  */
51  virtual void testMeToo(char c1,char c2) = 0;
52 
53  //! A public variable.
54  /*!
55  Details.
56  */
57  int publicVar;
58 
59  //! A function variable.
60  /*!
61  Details.
62  */
63  int (*handler)(int a,int b);
64 };
65 
int publicVar
A public variable.
Definition: qtstyle.cpp:57
enum QTstyle_Test::TEnum enumVar
Enum variable.
A test class.
Definition: qtstyle.cpp:6
~QTstyle_Test()
A destructor.
QTstyle_Test()
A constructor.
TEnum
An enum.
Definition: qtstyle.cpp:12
const double a
enum QTstyle_Test::TEnum * enumPtr
Enum pointer.
int(* handler)(int a, int b)
A function variable.
Definition: qtstyle.cpp:63
int testMe(int a, const char *s)
A normal member taking two arguments and returning an integer value.
static bool * b
Definition: config.cpp:1043
virtual void testMeToo(char c1, char c2)=0
A pure virtual member.
static QCString * s
Definition: config.cpp:1042