summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kmake
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/kmake')
-rw-r--r--languages/cpp/app_templates/kmake/mainview.ui14
-rw-r--r--languages/cpp/app_templates/kmake/mainviewimp.cpp4
-rw-r--r--languages/cpp/app_templates/kmake/mainviewimp.h3
3 files changed, 11 insertions, 10 deletions
diff --git a/languages/cpp/app_templates/kmake/mainview.ui b/languages/cpp/app_templates/kmake/mainview.ui
index fea02def..2aefef82 100644
--- a/languages/cpp/app_templates/kmake/mainview.ui
+++ b/languages/cpp/app_templates/kmake/mainview.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>MainView</class>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>Form1</cstring>
</property>
@@ -16,7 +16,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>groupBox1</cstring>
</property>
@@ -35,7 +35,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>helloLabel</cstring>
</property>
@@ -45,7 +45,7 @@
<property name="scaledContents">
<bool>true</bool>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignCenter</set>
</property>
</widget>
@@ -69,8 +69,8 @@
<slot>slotHelloButtonClicked()</slot>
</connection>
</connections>
-<slots>
+<Q_SLOTS>
<slot>slotHelloButtonClicked()</slot>
-</slots>
-<layoutdefaults spacing="6" margin="11"/>
+</Q_SLOTS>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/languages/cpp/app_templates/kmake/mainviewimp.cpp b/languages/cpp/app_templates/kmake/mainviewimp.cpp
index 8a0de706..5e953b0d 100644
--- a/languages/cpp/app_templates/kmake/mainviewimp.cpp
+++ b/languages/cpp/app_templates/kmake/mainviewimp.cpp
@@ -3,8 +3,8 @@
#include <tqlabel.h>
#include <klocale.h>
-MainViewImp::MainViewImp(TQWidget* parent, const char* name, WFlags fl)
-: MainView(parent,name,fl)
+MainViewImp::MainViewImp(TQWidget* tqparent, const char* name, WFlags fl)
+: MainView(tqparent,name,fl)
{
}
diff --git a/languages/cpp/app_templates/kmake/mainviewimp.h b/languages/cpp/app_templates/kmake/mainviewimp.h
index 190a26e3..1a8af0b8 100644
--- a/languages/cpp/app_templates/kmake/mainviewimp.h
+++ b/languages/cpp/app_templates/kmake/mainviewimp.h
@@ -6,9 +6,10 @@
class MainViewImp : public MainView
{
Q_OBJECT
+ TQ_OBJECT
public:
- MainViewImp(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
+ MainViewImp(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
~MainViewImp();
public slots: