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.
tdevelop/languages/cpp/app_templates/kdedcop/app.cpp

22 lines
321 B

%{CPP_TEMPLATE}
#include "%{APPNAMELC}.h"
#include <tqlabel.h>
#include <tdemainwindow.h>
#include <tdelocale.h>
%{APPNAME}::%{APPNAME}()
: TDEMainWindow( 0, "%{APPNAME}" )
{
m_mainClass = new MainClass();
}
%{APPNAME}::~%{APPNAME}()
{
if (m_mainClass) delete m_mainClass;
}
#include "%{APPNAMELC}.moc"