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