Blame examples/qtstyle.cpp

Packit Service 50c9f2
//!  A test class. 
Packit Service 50c9f2
/*!
Packit Service 50c9f2
  A more elaborate class description.
Packit Service 50c9f2
*/
Packit Service 50c9f2
Packit Service 50c9f2
class QTstyle_Test
Packit Service 50c9f2
{
Packit Service 50c9f2
  public:
Packit Service 50c9f2
Packit Service 50c9f2
    //! An enum.
Packit Service 50c9f2
    /*! More detailed enum description. */
Packit Service 50c9f2
    enum TEnum { 
Packit Service 50c9f2
                 TVal1, /*!< Enum value TVal1. */  
Packit Service 50c9f2
                 TVal2, /*!< Enum value TVal2. */  
Packit Service 50c9f2
                 TVal3  /*!< Enum value TVal3. */  
Packit Service 50c9f2
               } 
Packit Service 50c9f2
         //! Enum pointer.
Packit Service 50c9f2
         /*! Details. */
Packit Service 50c9f2
         *enumPtr, 
Packit Service 50c9f2
         //! Enum variable.
Packit Service 50c9f2
         /*! Details. */
Packit Service 50c9f2
         enumVar;  
Packit Service 50c9f2
    
Packit Service 50c9f2
    //! A constructor.
Packit Service 50c9f2
    /*!
Packit Service 50c9f2
      A more elaborate description of the constructor.
Packit Service 50c9f2
    */
Packit Service 50c9f2
    QTstyle_Test();
Packit Service 50c9f2
Packit Service 50c9f2
    //! A destructor.
Packit Service 50c9f2
    /*!
Packit Service 50c9f2
      A more elaborate description of the destructor.
Packit Service 50c9f2
    */
Packit Service 50c9f2
   ~QTstyle_Test();
Packit Service 50c9f2
    
Packit Service 50c9f2
    //! A normal member taking two arguments and returning an integer value.
Packit Service 50c9f2
    /*!
Packit Service 50c9f2
      \param a an integer argument.
Packit Service 50c9f2
      \param s a constant character pointer.
Packit Service 50c9f2
      \return The test results
Packit Service 50c9f2
      \sa QTstyle_Test(), ~QTstyle_Test(), testMeToo() and publicVar()
Packit Service 50c9f2
    */
Packit Service 50c9f2
    int testMe(int a,const char *s);
Packit Service 50c9f2
       
Packit Service 50c9f2
    //! A pure virtual member.
Packit Service 50c9f2
    /*!
Packit Service 50c9f2
      \sa testMe()
Packit Service 50c9f2
      \param c1 the first argument.
Packit Service 50c9f2
      \param c2 the second argument.
Packit Service 50c9f2
    */
Packit Service 50c9f2
    virtual void testMeToo(char c1,char c2) = 0;
Packit Service 50c9f2
   
Packit Service 50c9f2
    //! A public variable.
Packit Service 50c9f2
    /*!
Packit Service 50c9f2
      Details.
Packit Service 50c9f2
    */
Packit Service 50c9f2
    int publicVar;
Packit Service 50c9f2
       
Packit Service 50c9f2
    //! A function variable.
Packit Service 50c9f2
    /*!
Packit Service 50c9f2
      Details.
Packit Service 50c9f2
    */
Packit Service 50c9f2
    int (*handler)(int a,int b);
Packit Service 50c9f2
};
Packit Service 50c9f2