diff options
Diffstat (limited to 'languages/cpp/app_templates/opieapp/example.cpp')
-rw-r--r-- | languages/cpp/app_templates/opieapp/example.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/languages/cpp/app_templates/opieapp/example.cpp b/languages/cpp/app_templates/opieapp/example.cpp index 84f3f9d5..ebb4233c 100644 --- a/languages/cpp/app_templates/opieapp/example.cpp +++ b/languages/cpp/app_templates/opieapp/example.cpp @@ -1,5 +1,5 @@ #include "%{APPNAMELC}.h" -#include <qpushbutton.h> +#include <tqpushbutton.h> #include <opie/oapplicationfactory.h> typedef OApplicationFactory<%{APPNAME}> %{APPNAME}Factory; @@ -9,10 +9,10 @@ OPIE_EXPORT_APP( %{APPNAME}Factory ) * 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())); } /* |