summaryrefslogtreecommitdiffstats
path: root/parts/filecreate/file-templates
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /parts/filecreate/file-templates
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/filecreate/file-templates')
-rw-r--r--parts/filecreate/file-templates/ui4
-rw-r--r--parts/filecreate/file-templates/ui-confdialog22
-rw-r--r--parts/filecreate/file-templates/ui-dialog4
-rw-r--r--parts/filecreate/file-templates/ui-dialog-qt42
-rw-r--r--parts/filecreate/file-templates/ui-dialogb14
-rw-r--r--parts/filecreate/file-templates/ui-dialogb-qt414
-rw-r--r--parts/filecreate/file-templates/ui-dialogr14
-rw-r--r--parts/filecreate/file-templates/ui-dialogr-qt414
-rw-r--r--parts/filecreate/file-templates/ui-mainwin8
-rw-r--r--parts/filecreate/file-templates/ui-mainwin-qt46
-rw-r--r--parts/filecreate/file-templates/ui-tabdialog20
-rw-r--r--parts/filecreate/file-templates/ui-widget4
-rw-r--r--parts/filecreate/file-templates/ui-widget-qt42
-rw-r--r--parts/filecreate/file-templates/ui-wizard6
14 files changed, 67 insertions, 67 deletions
diff --git a/parts/filecreate/file-templates/ui b/parts/filecreate/file-templates/ui
index 858b4678..0a453896 100644
--- a/parts/filecreate/file-templates/ui
+++ b/parts/filecreate/file-templates/ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>Form1</class>
-<widget class="QWidget">
+<widget class=TQWIDGET_OBJECT_NAME_STRING>
<property name="name">
<cstring>Form1</cstring>
</property>
@@ -16,5 +16,5 @@
<string>Form1</string>
</property>
</widget>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/parts/filecreate/file-templates/ui-confdialog b/parts/filecreate/file-templates/ui-confdialog
index 975ba4d4..60a0004d 100644
--- a/parts/filecreate/file-templates/ui-confdialog
+++ b/parts/filecreate/file-templates/ui-confdialog
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>MyDialog1</class>
-<widget class="QDialog">
+<widget class=TQDIALOG_OBJECT_NAME_STRING>
<property name="name">
<cstring>MyDialog1</cstring>
</property>
@@ -28,7 +28,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class="QListBox" row="0" column="0">
+ <widget class=TQLISTBOX_OBJECT_NAME_STRING row="0" column="0">
<item>
<property name="text">
<string>New Item</string>
@@ -46,11 +46,11 @@
</sizepolicy>
</property>
</widget>
- <widget class="QTabWidget" row="0" column="1">
+ <widget class=TQTABWIDGET_OBJECT_NAME_STRING row="0" column="1">
<property name="name">
<cstring>tabWidget</cstring>
</property>
- <widget class="QWidget">
+ <widget class=TQWIDGET_OBJECT_NAME_STRING>
<property name="name">
<cstring>Widget2</cstring>
</property>
@@ -58,7 +58,7 @@
<string>Tab</string>
</attribute>
</widget>
- <widget class="QWidget">
+ <widget class=TQWIDGET_OBJECT_NAME_STRING>
<property name="name">
<cstring>Widget3</cstring>
</property>
@@ -67,7 +67,7 @@
</attribute>
</widget>
</widget>
- <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
+ <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>Layout1</cstring>
</property>
@@ -81,7 +81,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class="QPushButton">
+ <widget class=TQPUSHBUTTON_OBJECT_NAME_STRING>
<property name="name">
<cstring>buttonHelp</cstring>
</property>
@@ -105,14 +105,14 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
- <widget class="QPushButton">
+ <widget class=TQPUSHBUTTON_OBJECT_NAME_STRING>
<property name="name">
<cstring>buttonOk</cstring>
</property>
@@ -129,7 +129,7 @@
<bool>true</bool>
</property>
</widget>
- <widget class="QPushButton">
+ <widget class=TQPUSHBUTTON_OBJECT_NAME_STRING>
<property name="name">
<cstring>buttonCancel</cstring>
</property>
@@ -161,5 +161,5 @@
<slot>reject()</slot>
</connection>
</connections>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/parts/filecreate/file-templates/ui-dialog b/parts/filecreate/file-templates/ui-dialog
index fc2aefce..4b0c8bb2 100644
--- a/parts/filecreate/file-templates/ui-dialog
+++ b/parts/filecreate/file-templates/ui-dialog
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>Form1</class>
-<widget class="QDialog">
+<widget class=TQDIALOG_OBJECT_NAME_STRING>
<property name="name">
<cstring>Form1</cstring>
</property>
@@ -16,5 +16,5 @@
<string>Form1</string>
</property>
</widget>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/parts/filecreate/file-templates/ui-dialog-qt4 b/parts/filecreate/file-templates/ui-dialog-qt4
index d35cb285..b2096e86 100644
--- a/parts/filecreate/file-templates/ui-dialog-qt4
+++ b/parts/filecreate/file-templates/ui-dialog-qt4
@@ -3,7 +3,7 @@
<comment></comment>
<exportmacro></exportmacro>
<class>Dialog</class>
- <widget class="QDialog" name="Dialog" >
+ <widget class=TQDIALOG_OBJECT_NAME_STRING name="Dialog" >
<property name="geometry" >
<rect>
<x>0</x>
diff --git a/parts/filecreate/file-templates/ui-dialogb b/parts/filecreate/file-templates/ui-dialogb
index 7ccbfb94..2929f9e3 100644
--- a/parts/filecreate/file-templates/ui-dialogb
+++ b/parts/filecreate/file-templates/ui-dialogb
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>MyDialog1</class>
-<widget class="QDialog">
+<widget class=TQDIALOG_OBJECT_NAME_STRING>
<property name="name">
<cstring>MyDialog1</cstring>
</property>
@@ -18,7 +18,7 @@
<property name="sizeGripEnabled">
<bool>true</bool>
</property>
- <widget class="QLayoutWidget">
+ <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
<property name="name">
<cstring>Layout1</cstring>
</property>
@@ -40,7 +40,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class="QPushButton">
+ <widget class=TQPUSHBUTTON_OBJECT_NAME_STRING>
<property name="name">
<cstring>buttonHelp</cstring>
</property>
@@ -64,14 +64,14 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
- <widget class="QPushButton">
+ <widget class=TQPUSHBUTTON_OBJECT_NAME_STRING>
<property name="name">
<cstring>buttonOk</cstring>
</property>
@@ -88,7 +88,7 @@
<bool>true</bool>
</property>
</widget>
- <widget class="QPushButton">
+ <widget class=TQPUSHBUTTON_OBJECT_NAME_STRING>
<property name="name">
<cstring>buttonCancel</cstring>
</property>
@@ -119,5 +119,5 @@
<slot>reject()</slot>
</connection>
</connections>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/parts/filecreate/file-templates/ui-dialogb-qt4 b/parts/filecreate/file-templates/ui-dialogb-qt4
index 2413393e..e1b84f42 100644
--- a/parts/filecreate/file-templates/ui-dialogb-qt4
+++ b/parts/filecreate/file-templates/ui-dialogb-qt4
@@ -3,7 +3,7 @@
<comment></comment>
<exportmacro></exportmacro>
<class>Dialog</class>
- <widget class="QDialog" name="Dialog" >
+ <widget class=TQDIALOG_OBJECT_NAME_STRING name="Dialog" >
<property name="geometry" >
<rect>
<x>0</x>
@@ -15,7 +15,7 @@
<property name="windowTitle" >
<string>Dialog</string>
</property>
- <widget class="QWidget" name="layoutWidget" >
+ <widget class=TQWIDGET_OBJECT_NAME_STRING name="tqlayoutWidget" >
<property name="geometry" >
<rect>
<x>20</x>
@@ -24,7 +24,7 @@
<height>33</height>
</rect>
</property>
- <layout class="QHBoxLayout" >
+ <tqlayout class=TQHBOXLAYOUT_OBJECT_NAME_STRING >
<property name="margin" >
<number>0</number>
</property>
@@ -36,7 +36,7 @@
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
- <property name="sizeHint" >
+ <property name="tqsizeHint" >
<size>
<width>131</width>
<height>31</height>
@@ -45,20 +45,20 @@
</spacer>
</item>
<item>
- <widget class="QPushButton" name="okButton" >
+ <widget class=TQPUSHBUTTON_OBJECT_NAME_STRING name="okButton" >
<property name="text" >
<string>OK</string>
</property>
</widget>
</item>
<item>
- <widget class="QPushButton" name="cancelButton" >
+ <widget class=TQPUSHBUTTON_OBJECT_NAME_STRING name="cancelButton" >
<property name="text" >
<string>Cancel</string>
</property>
</widget>
</item>
- </layout>
+ </tqlayout>
</widget>
</widget>
<pixmapfunction></pixmapfunction>
diff --git a/parts/filecreate/file-templates/ui-dialogr b/parts/filecreate/file-templates/ui-dialogr
index 8cf208ec..0b7dde40 100644
--- a/parts/filecreate/file-templates/ui-dialogr
+++ b/parts/filecreate/file-templates/ui-dialogr
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>MyDialog1</class>
-<widget class="QDialog">
+<widget class=TQDIALOG_OBJECT_NAME_STRING>
<property name="name">
<cstring>MyDialog1</cstring>
</property>
@@ -18,7 +18,7 @@
<property name="sizeGripEnabled">
<bool>true</bool>
</property>
- <widget class="QLayoutWidget">
+ <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
<property name="name">
<cstring>Layout5</cstring>
</property>
@@ -40,7 +40,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class="QPushButton">
+ <widget class=TQPUSHBUTTON_OBJECT_NAME_STRING>
<property name="name">
<cstring>buttonOk</cstring>
</property>
@@ -57,7 +57,7 @@
<bool>true</bool>
</property>
</widget>
- <widget class="QPushButton">
+ <widget class=TQPUSHBUTTON_OBJECT_NAME_STRING>
<property name="name">
<cstring>buttonCancel</cstring>
</property>
@@ -71,7 +71,7 @@
<bool>true</bool>
</property>
</widget>
- <widget class="QPushButton">
+ <widget class=TQPUSHBUTTON_OBJECT_NAME_STRING>
<property name="name">
<cstring>buttonHelp</cstring>
</property>
@@ -95,7 +95,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -119,5 +119,5 @@
<slot>reject()</slot>
</connection>
</connections>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/parts/filecreate/file-templates/ui-dialogr-qt4 b/parts/filecreate/file-templates/ui-dialogr-qt4
index 57d81913..8e2d0608 100644
--- a/parts/filecreate/file-templates/ui-dialogr-qt4
+++ b/parts/filecreate/file-templates/ui-dialogr-qt4
@@ -3,7 +3,7 @@
<comment></comment>
<exportmacro></exportmacro>
<class>Dialog</class>
- <widget class="QDialog" name="Dialog" >
+ <widget class=TQDIALOG_OBJECT_NAME_STRING name="Dialog" >
<property name="geometry" >
<rect>
<x>0</x>
@@ -15,7 +15,7 @@
<property name="windowTitle" >
<string>Dialog</string>
</property>
- <widget class="QWidget" name="layoutWidget" >
+ <widget class=TQWIDGET_OBJECT_NAME_STRING name="tqlayoutWidget" >
<property name="geometry" >
<rect>
<x>300</x>
@@ -24,7 +24,7 @@
<height>106</height>
</rect>
</property>
- <layout class="QVBoxLayout" >
+ <tqlayout class=TQVBOXLAYOUT_OBJECT_NAME_STRING >
<property name="margin" >
<number>0</number>
</property>
@@ -32,14 +32,14 @@
<number>6</number>
</property>
<item>
- <widget class="QPushButton" name="okButton" >
+ <widget class=TQPUSHBUTTON_OBJECT_NAME_STRING name="okButton" >
<property name="text" >
<string>OK</string>
</property>
</widget>
</item>
<item>
- <widget class="QPushButton" name="cancelButton" >
+ <widget class=TQPUSHBUTTON_OBJECT_NAME_STRING name="cancelButton" >
<property name="text" >
<string>Cancel</string>
</property>
@@ -50,7 +50,7 @@
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
- <property name="sizeHint" >
+ <property name="tqsizeHint" >
<size>
<width>20</width>
<height>40</height>
@@ -58,7 +58,7 @@
</property>
</spacer>
</item>
- </layout>
+ </tqlayout>
</widget>
</widget>
<pixmapfunction></pixmapfunction>
diff --git a/parts/filecreate/file-templates/ui-mainwin b/parts/filecreate/file-templates/ui-mainwin
index 854da009..4e0a093b 100644
--- a/parts/filecreate/file-templates/ui-mainwin
+++ b/parts/filecreate/file-templates/ui-mainwin
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>Form1</class>
-<widget class="QMainWindow">
+<widget class=TQMAINWINDOW_OBJECT_NAME_STRING>
<property name="name">
<cstring>Form1</cstring>
</property>
@@ -415,7 +415,7 @@
<slot>helpAbout()</slot>
</connection>
</connections>
-<slots>
+<Q_SLOTS>
<slot>fileNew()</slot>
<slot>fileOpen()</slot>
<slot>fileSave()</slot>
@@ -431,6 +431,6 @@
<slot>helpIndex()</slot>
<slot>helpContents()</slot>
<slot>helpAbout()</slot>
-</slots>
-<layoutdefaults spacing="6" margin="11"/>
+</Q_SLOTS>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/parts/filecreate/file-templates/ui-mainwin-qt4 b/parts/filecreate/file-templates/ui-mainwin-qt4
index 814096cc..a444cfa3 100644
--- a/parts/filecreate/file-templates/ui-mainwin-qt4
+++ b/parts/filecreate/file-templates/ui-mainwin-qt4
@@ -3,7 +3,7 @@
<comment></comment>
<exportmacro></exportmacro>
<class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow" >
+ <widget class=TQMAINWINDOW_OBJECT_NAME_STRING name="MainWindow" >
<property name="geometry" >
<rect>
<x>0</x>
@@ -15,8 +15,8 @@
<property name="windowTitle" >
<string>MainWindow</string>
</property>
- <widget class="QWidget" name="centralwidget" />
- <widget class="QMenuBar" name="menubar" >
+ <widget class=TQWIDGET_OBJECT_NAME_STRING name="centralwidget" />
+ <widget class=TQMENUBAR_OBJECT_NAME_STRING name="menubar" >
<property name="geometry" >
<rect>
<x>0</x>
diff --git a/parts/filecreate/file-templates/ui-tabdialog b/parts/filecreate/file-templates/ui-tabdialog
index a28ae7c7..3c45b07b 100644
--- a/parts/filecreate/file-templates/ui-tabdialog
+++ b/parts/filecreate/file-templates/ui-tabdialog
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>MyDialog1</class>
-<widget class="QDialog">
+<widget class=TQDIALOG_OBJECT_NAME_STRING>
<property name="name">
<cstring>MyDialog1</cstring>
</property>
@@ -28,11 +28,11 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class="QTabWidget">
+ <widget class=TQTABWIDGET_OBJECT_NAME_STRING>
<property name="name">
<cstring>tabWidget</cstring>
</property>
- <widget class="QWidget">
+ <widget class=TQWIDGET_OBJECT_NAME_STRING>
<property name="name">
<cstring>Widget8</cstring>
</property>
@@ -40,7 +40,7 @@
<string>Tab</string>
</attribute>
</widget>
- <widget class="QWidget">
+ <widget class=TQWIDGET_OBJECT_NAME_STRING>
<property name="name">
<cstring>Widget9</cstring>
</property>
@@ -49,7 +49,7 @@
</attribute>
</widget>
</widget>
- <widget class="QLayoutWidget">
+ <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING>
<property name="name">
<cstring>Layout1</cstring>
</property>
@@ -63,7 +63,7 @@
<property name="spacing">
<number>6</number>
</property>
- <widget class="QPushButton">
+ <widget class=TQPUSHBUTTON_OBJECT_NAME_STRING>
<property name="name">
<cstring>buttonHelp</cstring>
</property>
@@ -87,14 +87,14 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
- <widget class="QPushButton">
+ <widget class=TQPUSHBUTTON_OBJECT_NAME_STRING>
<property name="name">
<cstring>buttonOk</cstring>
</property>
@@ -111,7 +111,7 @@
<bool>true</bool>
</property>
</widget>
- <widget class="QPushButton">
+ <widget class=TQPUSHBUTTON_OBJECT_NAME_STRING>
<property name="name">
<cstring>buttonCancel</cstring>
</property>
@@ -143,5 +143,5 @@
<slot>reject()</slot>
</connection>
</connections>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/parts/filecreate/file-templates/ui-widget b/parts/filecreate/file-templates/ui-widget
index 858b4678..0a453896 100644
--- a/parts/filecreate/file-templates/ui-widget
+++ b/parts/filecreate/file-templates/ui-widget
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>Form1</class>
-<widget class="QWidget">
+<widget class=TQWIDGET_OBJECT_NAME_STRING>
<property name="name">
<cstring>Form1</cstring>
</property>
@@ -16,5 +16,5 @@
<string>Form1</string>
</property>
</widget>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/parts/filecreate/file-templates/ui-widget-qt4 b/parts/filecreate/file-templates/ui-widget-qt4
index 2aecd3c9..d8b6e63c 100644
--- a/parts/filecreate/file-templates/ui-widget-qt4
+++ b/parts/filecreate/file-templates/ui-widget-qt4
@@ -3,7 +3,7 @@
<comment></comment>
<exportmacro></exportmacro>
<class>Form</class>
- <widget class="QWidget" name="Form" >
+ <widget class=TQWIDGET_OBJECT_NAME_STRING name="Form" >
<property name="geometry" >
<rect>
<x>0</x>
diff --git a/parts/filecreate/file-templates/ui-wizard b/parts/filecreate/file-templates/ui-wizard
index 7c68689b..01338af0 100644
--- a/parts/filecreate/file-templates/ui-wizard
+++ b/parts/filecreate/file-templates/ui-wizard
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>Form1</class>
-<widget class="QWizard">
+<widget class=TQWIZARD_OBJECT_NAME_STRING>
<property name="name">
<cstring>Form1</cstring>
</property>
@@ -15,7 +15,7 @@
<property name="caption">
<string>Form1</string>
</property>
- <widget class="QWidget">
+ <widget class=TQWIDGET_OBJECT_NAME_STRING>
<property name="name">
<cstring>page</cstring>
</property>
@@ -24,5 +24,5 @@
</attribute>
</widget>
</widget>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>