diff options
Diffstat (limited to 'languages/cpp/app_templates/qtopia4app')
-rw-r--r-- | languages/cpp/app_templates/qtopia4app/example.cpp | 10 | ||||
-rw-r--r-- | languages/cpp/app_templates/qtopia4app/example.h | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/languages/cpp/app_templates/qtopia4app/example.cpp b/languages/cpp/app_templates/qtopia4app/example.cpp index 12c3f634..735f7e03 100644 --- a/languages/cpp/app_templates/qtopia4app/example.cpp +++ b/languages/cpp/app_templates/qtopia4app/example.cpp @@ -2,8 +2,8 @@ #include "%{APPNAMELC}.h" #include <tqpushbutton.h> -%{APPNAME}Base::%{APPNAME}Base( TQWidget *tqparent, TQt::WFlags f ) - : TQWidget( tqparent, f ) +%{APPNAME}Base::%{APPNAME}Base( TQWidget *parent, TQt::WFlags f ) + : TQWidget( parent, f ) { setupUi( this ); } @@ -13,11 +13,11 @@ } /* - * Constructs a %{APPNAME} which is a child of 'tqparent', with the + * Constructs a %{APPNAME} which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -%{APPNAME}::%{APPNAME}( TQWidget *tqparent, TQt::WFlags f ) - : %{APPNAME}Base( tqparent, f ) +%{APPNAME}::%{APPNAME}( TQWidget *parent, TQt::WFlags f ) + : %{APPNAME}Base( parent, f ) { 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 e4c44a8f..0b174641 100644 --- a/languages/cpp/app_templates/qtopia4app/example.h +++ b/languages/cpp/app_templates/qtopia4app/example.h @@ -6,7 +6,7 @@ class %{APPNAME}Base : public TQWidget, public Ui_%{APPNAME}Base { public: - %{APPNAME}Base( TQWidget *tqparent = 0, TQt::WFlags f = 0 ); + %{APPNAME}Base( TQWidget *parent = 0, TQt::WFlags f = 0 ); virtual ~%{APPNAME}Base(); }; @@ -15,7 +15,7 @@ class %{APPNAME} : public %{APPNAME}Base Q_OBJECT TQ_OBJECT public: - %{APPNAME}( TQWidget *tqparent = 0, TQt::WFlags f = 0 ); + %{APPNAME}( TQWidget *parent = 0, TQt::WFlags f = 0 ); virtual ~%{APPNAME}(); private slots: |