/* * $Id$ */ /* * Harbour Qt wrapper generator control file * * Copyright 2009-2012 Pritpal Bedi * www - http://www.harbour-project.org * * See COPYING for licensing terms. */ Inherit = QPushButton New = pParent Calls = QT_QCommandLinkButton #include /* * QCommandLinkButton ( QWidget * parent = 0 ) * QCommandLinkButton ( const QString & text, QWidget * parent = 0 ) * QCommandLinkButton ( const QString & text, const QString & description, QWidget * parent = 0 ) */ HB_FUNC( QT_QCOMMANDLINKBUTTON ) { if( hb_pcount() == 1 && HB_ISCHAR( 1 ) ) { void * pText01 = NULL; __HB_RETPTRGC__( new QCommandLinkButton( hb_parstr_utf8( 1, &pText01, NULL ) ) ); hb_strfree( pText01 ); } else if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QWIDGET" ) ) { __HB_RETPTRGC__( new QCommandLinkButton( hbqt_par_QWidget( 1 ) ) ); } else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && hbqt_par_isDerivedFrom( 2, "QWIDGET" ) ) { void * pText01 = NULL; __HB_RETPTRGC__( new QCommandLinkButton( hb_parstr_utf8( 1, &pText01, NULL ), hbqt_par_QWidget( 2 ) ) ); hb_strfree( pText01 ); } else if( hb_pcount() == 2 && HB_ISCHAR( 1 ) && HB_ISCHAR( 2 ) ) { void * pText01 = NULL; void * pText02 = NULL; __HB_RETPTRGC__( new QCommandLinkButton( hb_parstr_utf8( 1, &pText01, NULL ), hb_parstr_utf8( 2, &pText02, NULL ) ) ); hb_strfree( pText02 ); hb_strfree( pText01 ); } else if( hb_pcount() == 3 && HB_ISCHAR( 1 ) && HB_ISCHAR( 2 ) && hbqt_par_isDerivedFrom( 3, "QWIDGET" ) ) { void * pText01 = NULL; void * pText02 = NULL; __HB_RETPTRGC__( new QCommandLinkButton( hb_parstr_utf8( 1, &pText01, NULL ), hb_parstr_utf8( 2, &pText02, NULL ), hbqt_par_QWidget( 3 ) ) ); hb_strfree( pText02 ); hb_strfree( pText01 ); } else { __HB_RETPTRGC__( new QCommandLinkButton() ); } } QString description () const void setDescription ( const QString & description )