summaryrefslogtreecommitdiffstats
path: root/languages/cpp/subclassing_template
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/subclassing_template
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/subclassing_template')
-rw-r--r--languages/cpp/subclassing_template/subclass_qt4_template.cpp2
-rw-r--r--languages/cpp/subclassing_template/subclass_qt4_template.h2
-rw-r--r--languages/cpp/subclassing_template/subclass_template.cpp2
-rw-r--r--languages/cpp/subclassing_template/subclass_template.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/languages/cpp/subclassing_template/subclass_qt4_template.cpp b/languages/cpp/subclassing_template/subclass_qt4_template.cpp
index 6c008d43..c7b3e1f1 100644
--- a/languages/cpp/subclassing_template/subclass_qt4_template.cpp
+++ b/languages/cpp/subclassing_template/subclass_qt4_template.cpp
@@ -2,7 +2,7 @@
#include "$NEWFILENAMELC$.h"
-$NEWCLASS$::$NEWCLASS$(QWidget* parent, Qt::WFlags fl)
+$NEWCLASS$::$NEWCLASS$(TQWidget* parent, Qt::WFlags fl)
: $QTBASECLASS$( parent, fl ), Ui::$BASECLASS$()
{
setupUi(this);
diff --git a/languages/cpp/subclassing_template/subclass_qt4_template.h b/languages/cpp/subclassing_template/subclass_qt4_template.h
index a8a02303..a84cf0d0 100644
--- a/languages/cpp/subclassing_template/subclass_qt4_template.h
+++ b/languages/cpp/subclassing_template/subclass_qt4_template.h
@@ -10,7 +10,7 @@ class $NEWCLASS$ : public $QTBASECLASS$, private Ui::$BASECLASS$
Q_OBJECT
public:
- $NEWCLASS$(QWidget* parent = 0, Qt::WFlags fl = 0 );
+ $NEWCLASS$(TQWidget* parent = 0, Qt::WFlags fl = 0 );
~$NEWCLASS$();
/*$PUBLIC_FUNCTIONS$*/
diff --git a/languages/cpp/subclassing_template/subclass_template.cpp b/languages/cpp/subclassing_template/subclass_template.cpp
index 19269531..adc89082 100644
--- a/languages/cpp/subclassing_template/subclass_template.cpp
+++ b/languages/cpp/subclassing_template/subclass_template.cpp
@@ -2,7 +2,7 @@
#include "$NEWFILENAMELC$.h"
-$NEWCLASS$::$NEWCLASS$(QWidget* parent, const char* name$CAN_BE_MODAL_CPP1$, WFlags fl)
+$NEWCLASS$::$NEWCLASS$(TQWidget* parent, const char* name$CAN_BE_MODAL_CPP1$, WFlags fl)
: $BASECLASS$(parent,name$CAN_BE_MODAL_CPP2$,fl)
{
}
diff --git a/languages/cpp/subclassing_template/subclass_template.h b/languages/cpp/subclassing_template/subclass_template.h
index 18846cc6..8e238bae 100644
--- a/languages/cpp/subclassing_template/subclass_template.h
+++ b/languages/cpp/subclassing_template/subclass_template.h
@@ -9,7 +9,7 @@ class $NEWCLASS$ : public $BASECLASS$
Q_OBJECT
public:
- $NEWCLASS$(QWidget* parent = 0, const char* name = 0$CAN_BE_MODAL_H$, WFlags fl = 0 );
+ $NEWCLASS$(TQWidget* parent = 0, const char* name = 0$CAN_BE_MODAL_H$, WFlags fl = 0 );
~$NEWCLASS$();
/*$PUBLIC_FUNCTIONS$*/