summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/qmakeapp/qmakeapp.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/qmakeapp/qmakeapp.h')
-rw-r--r--languages/cpp/app_templates/qmakeapp/qmakeapp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/languages/cpp/app_templates/qmakeapp/qmakeapp.h b/languages/cpp/app_templates/qmakeapp/qmakeapp.h
index af12e1eb..bc8a2b93 100644
--- a/languages/cpp/app_templates/qmakeapp/qmakeapp.h
+++ b/languages/cpp/app_templates/qmakeapp/qmakeapp.h
@@ -7,9 +7,10 @@
class TQTextEdit;
-class %{APPNAME}: public QMainWindow
+class %{APPNAME}: public TQMainWindow
{
Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}();
@@ -27,7 +28,7 @@ private slots:
void print();
void about();
- void aboutQt();
+ void aboutTQt();
private:
TQPrinter *printer;