summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/qt4makeapp/qt4makeapp.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /languages/cpp/app_templates/qt4makeapp/qt4makeapp.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/cpp/app_templates/qt4makeapp/qt4makeapp.h')
-rw-r--r--languages/cpp/app_templates/qt4makeapp/qt4makeapp.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.h b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.h
index cd470d00..8140766b 100644
--- a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.h
+++ b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.h
@@ -3,8 +3,8 @@
#ifndef %{APPNAMEUC}_H
#define %{APPNAMEUC}_H
-#include <QMainWindow>
-#include <QCloseEvent>
+#include <TQMainWindow>
+#include <TQCloseEvent>
class QAction;
class QMenu;
@@ -19,7 +19,7 @@ public:
~%{APPNAME}();
protected:
- void closeEvent(QCloseEvent *event);
+ void closeEvent(TQCloseEvent *event);
private slots:
void newFile();
@@ -37,29 +37,29 @@ private:
void readSettings();
void writeSettings();
bool maybeSave();
- void loadFile(const QString &fileName);
- bool saveFile(const QString &fileName);
- void setCurrentFile(const QString &fileName);
- QString strippedName(const QString &fullFileName);
+ void loadFile(const TQString &fileName);
+ bool saveFile(const TQString &fileName);
+ void setCurrentFile(const TQString &fileName);
+ TQString strippedName(const TQString &fullFileName);
- QTextEdit *textEdit;
- QString curFile;
+ TQTextEdit *textEdit;
+ TQString curFile;
QMenu *fileMenu;
QMenu *editMenu;
QMenu *helpMenu;
- QToolBar *fileToolBar;
- QToolBar *editToolBar;
- QAction *newAct;
- QAction *openAct;
- QAction *saveAct;
- QAction *saveAsAct;
- QAction *exitAct;
- QAction *cutAct;
- QAction *copyAct;
- QAction *pasteAct;
- QAction *aboutAct;
- QAction *aboutQtAct;
+ TQToolBar *fileToolBar;
+ TQToolBar *editToolBar;
+ TQAction *newAct;
+ TQAction *openAct;
+ TQAction *saveAct;
+ TQAction *saveAsAct;
+ TQAction *exitAct;
+ TQAction *cutAct;
+ TQAction *copyAct;
+ TQAction *pasteAct;
+ TQAction *aboutAct;
+ TQAction *aboutQtAct;
};
#endif