summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/qt4makeapp/qt4makeapp.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/qt4makeapp/qt4makeapp.h')
-rw-r--r--languages/cpp/app_templates/qt4makeapp/qt4makeapp.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.h b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.h
index 14a40d99..65402c85 100644
--- a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.h
+++ b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.h
@@ -7,12 +7,13 @@
#include <TQCloseEvent>
class TQAction;
-class QMenu;
+class TQMenu;
class TQTextEdit;
-class %{APPNAME}:public QMainWindow
+class %{APPNAME}:public TQMainWindow
{
Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}();
@@ -45,9 +46,9 @@ private:
TQTextEdit *textEdit;
TQString curFile;
- QMenu *fileMenu;
- QMenu *editMenu;
- QMenu *helpMenu;
+ TQMenu *fileMenu;
+ TQMenu *editMenu;
+ TQMenu *helpMenu;
TQToolBar *fileToolBar;
TQToolBar *editToolBar;
TQAction *newAct;
@@ -59,7 +60,7 @@ private:
TQAction *copyAct;
TQAction *pasteAct;
TQAction *aboutAct;
- TQAction *aboutQtAct;
+ TQAction *aboutTQtAct;
};
#endif