1 2 3 4 5 6 7
#include "hello.h" MyPushButton::MyPushButton( const QString& text ) : QPushButton( text, 0, "mypushbutton" ) { qDebug( "My PushButton has been constructed" ); }