Blame testing/041_overload.cpp
|
Packit Service |
50c9f2 |
// objective: test the \overload command
|
|
Packit Service |
50c9f2 |
// check: class_test.xml
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
class Test
|
|
Packit Service |
50c9f2 |
{
|
|
Packit Service |
50c9f2 |
public:
|
|
Packit Service |
50c9f2 |
void drawRect(int,int,int,int);
|
|
Packit Service |
50c9f2 |
void drawRect(const Rect &r);
|
|
Packit Service |
50c9f2 |
void drawRect(const Point &topLeft,const Point &bottomRight);
|
|
Packit Service |
50c9f2 |
};
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
void Test::drawRect(int x,int y,int w,int h) {}
|
|
Packit Service |
50c9f2 |
void Test::drawRect(const Rect &r) {}
|
|
Packit Service |
50c9f2 |
/*! \overload
|
|
Packit Service |
50c9f2 |
*
|
|
Packit Service |
50c9f2 |
* More text.
|
|
Packit Service |
50c9f2 |
*/
|
|
Packit Service |
50c9f2 |
void Test::drawRect(const Point &topLeft,const Point &bottomRight) {}
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
/*! \class Test
|
|
Packit Service |
50c9f2 |
* \brief A short description.
|
|
Packit Service |
50c9f2 |
*
|
|
Packit Service |
50c9f2 |
* More text.
|
|
Packit Service |
50c9f2 |
*/
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
/*! \fn void Test::drawRect(int x,int y,int w,int h)
|
|
Packit Service |
50c9f2 |
* This command draws a rectangle with a left upper corner at ( \a x , \a y ),
|
|
Packit Service |
50c9f2 |
* width \a w and height \a h.
|
|
Packit Service |
50c9f2 |
*/
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
/*!
|
|
Packit Service |
50c9f2 |
* \overload void Test::drawRect(const Rect &r)
|
|
Packit Service |
50c9f2 |
*/
|