From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- languages/cpp/app_templates/qtopia4app/example.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'languages/cpp/app_templates/qtopia4app/example.cpp') diff --git a/languages/cpp/app_templates/qtopia4app/example.cpp b/languages/cpp/app_templates/qtopia4app/example.cpp index a35d57cb..45331649 100644 --- a/languages/cpp/app_templates/qtopia4app/example.cpp +++ b/languages/cpp/app_templates/qtopia4app/example.cpp @@ -1,9 +1,9 @@ #include "%{APPNAMELC}.h" -#include +#include -%{APPNAME}Base::%{APPNAME}Base( QWidget *parent, Qt::WFlags f ) - : QWidget( parent, f ) +%{APPNAME}Base::%{APPNAME}Base( TQWidget *parent, Qt::WFlags f ) + : TQWidget( parent, f ) { setupUi( this ); } @@ -16,10 +16,10 @@ * Constructs a %{APPNAME} which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -%{APPNAME}::%{APPNAME}( QWidget *parent, Qt::WFlags f ) +%{APPNAME}::%{APPNAME}( TQWidget *parent, Qt::WFlags f ) : %{APPNAME}Base( parent, f ) { - connect(quit, SIGNAL(clicked()), this, SLOT(goodBye())); + connect(quit, TQT_SIGNAL(clicked()), this, TQT_SLOT(goodBye())); } /* -- cgit v1.2.1