summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/qtopia4app/example.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/qtopia4app/example.h')
-rw-r--r--languages/cpp/app_templates/qtopia4app/example.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/languages/cpp/app_templates/qtopia4app/example.h b/languages/cpp/app_templates/qtopia4app/example.h
index 5bfc69ba..e4c44a8f 100644
--- a/languages/cpp/app_templates/qtopia4app/example.h
+++ b/languages/cpp/app_templates/qtopia4app/example.h
@@ -6,15 +6,16 @@
class %{APPNAME}Base : public TQWidget, public Ui_%{APPNAME}Base
{
public:
- %{APPNAME}Base( TQWidget *parent = 0, Qt::WFlags f = 0 );
+ %{APPNAME}Base( TQWidget *tqparent = 0, TQt::WFlags f = 0 );
virtual ~%{APPNAME}Base();
};
class %{APPNAME} : public %{APPNAME}Base
{
Q_OBJECT
+ TQ_OBJECT
public:
- %{APPNAME}( TQWidget *parent = 0, Qt::WFlags f = 0 );
+ %{APPNAME}( TQWidget *tqparent = 0, TQt::WFlags f = 0 );
virtual ~%{APPNAME}();
private slots: