summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h')
-rw-r--r--languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h
index af12e1eb..bc8a2b93 100644
--- a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h
+++ b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.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;