Orb/Doxygen/examples/overload.cpp
changeset 0 42188c7ea2d9
equal deleted inserted replaced
-1:000000000000 0:42188c7ea2d9
       
     1 class Test 
       
     2 {
       
     3   public:
       
     4     void drawRect(int,int,int,int);
       
     5     void drawRect(const Rect &r);
       
     6 };
       
     7 
       
     8 void Test::drawRect(int x,int y,int w,int h) {}
       
     9 void Test::drawRect(const Rect &r) {}
       
    10 
       
    11 /*! \class Test
       
    12  *  \brief A short description.
       
    13  *   
       
    14  *  More text.
       
    15  */
       
    16 
       
    17 /*! \fn void Test::drawRect(int x,int y,int w,int h)
       
    18  * This command draws a rectangle with a left upper corner at ( \a x , \a y ),
       
    19  * width \a w and height \a h. 
       
    20  */
       
    21 
       
    22 /*!
       
    23  * \overload void Test::drawRect(const Rect &r)
       
    24  */
       
    25