summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/qtopia4app
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /languages/cpp/app_templates/qtopia4app
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/cpp/app_templates/qtopia4app')
-rw-r--r--languages/cpp/app_templates/qtopia4app/example.cpp10
-rw-r--r--languages/cpp/app_templates/qtopia4app/example.h6
2 files changed, 8 insertions, 8 deletions
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 <qpushbutton.h>
+#include <tqpushbutton.h>
-%{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()));
}
/*
diff --git a/languages/cpp/app_templates/qtopia4app/example.h b/languages/cpp/app_templates/qtopia4app/example.h
index 7d58c7d8..5bfc69ba 100644
--- a/languages/cpp/app_templates/qtopia4app/example.h
+++ b/languages/cpp/app_templates/qtopia4app/example.h
@@ -3,10 +3,10 @@
#define %{APPNAMEUC}_H
#include "ui_%{APPNAMELC}base.h"
-class %{APPNAME}Base : public QWidget, public Ui_%{APPNAME}Base
+class %{APPNAME}Base : public TQWidget, public Ui_%{APPNAME}Base
{
public:
- %{APPNAME}Base( QWidget *parent = 0, Qt::WFlags f = 0 );
+ %{APPNAME}Base( TQWidget *parent = 0, Qt::WFlags f = 0 );
virtual ~%{APPNAME}Base();
};
@@ -14,7 +14,7 @@ class %{APPNAME} : public %{APPNAME}Base
{
Q_OBJECT
public:
- %{APPNAME}( QWidget *parent = 0, Qt::WFlags f = 0 );
+ %{APPNAME}( TQWidget *parent = 0, Qt::WFlags f = 0 );
virtual ~%{APPNAME}();
private slots: