diff options
Diffstat (limited to 'languages/cpp/app_templates/qtopiaapp')
-rw-r--r-- | languages/cpp/app_templates/qtopiaapp/example.cpp | 6 | ||||
-rw-r--r-- | languages/cpp/app_templates/qtopiaapp/example.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/languages/cpp/app_templates/qtopiaapp/example.cpp b/languages/cpp/app_templates/qtopiaapp/example.cpp index 939f708e..a849977d 100644 --- a/languages/cpp/app_templates/qtopiaapp/example.cpp +++ b/languages/cpp/app_templates/qtopiaapp/example.cpp @@ -1,15 +1,15 @@ #include "%{APPNAMELC}.h" -#include <qpushbutton.h> +#include <tqpushbutton.h> /* * Constructs a %{APPNAME} which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -%{APPNAME}::%{APPNAME}( QWidget* parent, const char* name, WFlags fl ) +%{APPNAME}::%{APPNAME}( TQWidget* parent, const char* name, WFlags fl ) : %{APPNAME}Base( parent, name, fl ) { - connect(quit, SIGNAL(clicked()), this, SLOT(goodBye())); + connect(quit, TQT_SIGNAL(clicked()), this, TQT_SLOT(goodBye())); } /* diff --git a/languages/cpp/app_templates/qtopiaapp/example.h b/languages/cpp/app_templates/qtopiaapp/example.h index 883cb27d..42dfc2dd 100644 --- a/languages/cpp/app_templates/qtopiaapp/example.h +++ b/languages/cpp/app_templates/qtopiaapp/example.h @@ -8,7 +8,7 @@ class %{APPNAME} : public %{APPNAME}Base Q_OBJECT public: - %{APPNAME}( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + %{APPNAME}( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~%{APPNAME}(); private slots: |