Files
harbour-core/harbour/contrib/hbqt/qtgui/qth/QButtonGroup.qth
Pritpal Bedi fef080b8a0 2012-05-13 00:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/*.qth
  * contrib/hbqt/qtgui/qth/*.qth
  * contrib/hbqt/qtnetwork/qth/*.qth
    ! Copyright year bump.
    + Formatting.
    - Long coptyright notice to short one.
2012-05-13 07:29:44 +00:00

72 lines
1.4 KiB
Plaintext

/*
* $Id$
*/
/*
* Harbour Qt wrapper generator control file
*
* Copyright 2009-2012 Pritpal Bedi <bedipritpal@hotmail.com>
* www - http://www.harbour-project.org
*
* See COPYING for licensing terms.
*/
<CLASS>
Inherit = QObject
Type = Core
New =
</CLASS>
<CODE>
#include <QtGui/QButtonGroup>
/*
* QButtonGroup ( QObject * parent = 0 )
* ~QButtonGroup ()
*/
HB_FUNC( QT_QBUTTONGROUP )
{
if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QOBJECT" ) )
{
__HB_RETPTRGC__( new QButtonGroup( hbqt_par_QObject( 1 ) ) );
}
else
{
__HB_RETPTRGC__( new QButtonGroup() );
}
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
void addButton ( QAbstractButton * button )
void addButton ( QAbstractButton * button, int id )
QAbstractButton * button ( int id ) const
QList<QAbstractButton *> buttons () const
QAbstractButton * checkedButton () const
int checkedId () const
bool exclusive () const
int id ( QAbstractButton * button ) const
void removeButton ( QAbstractButton * button )
void setExclusive ( bool )
void setId ( QAbstractButton * button, int id )
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
void buttonClicked ( QAbstractButton * button )
void buttonClicked ( int id )
void buttonPressed ( QAbstractButton * button )
void buttonPressed ( int id )
void buttonReleased ( QAbstractButton * button )
void buttonReleased ( int id )
</SIGNALS>
<VARIABLES>
</VARIABLES>