summaryrefslogtreecommitdiffstats
path: root/examples/overload.cpp
blob: 7aeb1cb8a9c4637500e1c028c1021628abd6ef48 (plain)
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
class Overload_Test 
{
  public:
    void drawRect(int,int,int,int);
    void drawRect(const Rect &r);
};

void Overload_Test::drawRect(int x,int y,int w,int h) {}
void Overload_Test::drawRect(const Rect &r) {}

/*! \class Overload_Test
 *  \brief A short description.
 *   
 *  More text.
 */

/*! \fn void Overload_Test::drawRect(int x,int y,int w,int h)
 * This command draws a rectangle with a left upper corner at ( \a x , \a y ),
 * width \a w and height \a h. 
 */

/*!
 * \overload void Overload_Test::drawRect(const Rect &r)
 */