You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
%{CPP_TEMPLATE}
|
|
|
|
|
|
|
|
#include <tqlabel.h>
|
|
|
|
|
|
|
|
#include "%{APPNAMELC}widget.h"
|
|
|
|
|
|
|
|
%{APPNAME}Widget::%{APPNAME}Widget(TQWidget* parent, const char* name, WFlags fl)
|
|
|
|
: %{APPNAME}WidgetBase(parent,name,fl)
|
|
|
|
{}
|
|
|
|
|
|
|
|
%{APPNAME}Widget::~%{APPNAME}Widget()
|
|
|
|
{}
|
|
|
|
|
|
|
|
/*$SPECIALIZATION$*/
|
|
|
|
void %{APPNAME}Widget::button_clicked()
|
|
|
|
{
|
|
|
|
if ( label->text().isEmpty() )
|
|
|
|
{
|
|
|
|
label->setText( "Hello World!" );
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
label->clear();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "%{APPNAMELC}widget.moc"
|
|
|
|
|