summaryrefslogtreecommitdiffstats
path: root/kommander/examples/old/widgetgenerator.kmdr
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/examples/old/widgetgenerator.kmdr')
-rw-r--r--kommander/examples/old/widgetgenerator.kmdr32
1 files changed, 16 insertions, 16 deletions
diff --git a/kommander/examples/old/widgetgenerator.kmdr b/kommander/examples/old/widgetgenerator.kmdr
index 00ef6262..0c8da2e6 100644
--- a/kommander/examples/old/widgetgenerator.kmdr
+++ b/kommander/examples/old/widgetgenerator.kmdr
@@ -25,7 +25,7 @@
<property name="spacing">
<number>6</number>
</property>
- <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>Layout12</cstring>
</property>
@@ -49,7 +49,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>30</width>
<height>0</height>
@@ -125,10 +125,10 @@ public:
virtual QString populationText() const;
virtual void setPopulationText(QString);
-public slots:
+public Q_SLOTS:
virtual void setWidgetText(const QString &amp;);
virtual void populate();
-signals:
+Q_SIGNALS:
void widgetOpened();
void widgetTextChanged(const QString &amp;);
protected:
@@ -236,7 +236,7 @@ void @className::showEvent( QShowEvent *e )
emit widgetOpened();
}
-#include \"$classNameLower.moc\"
+#include \"$classNameLower.tqmoc\"
"
echo "$headerContent" &gt; @directory/$classNameLower.h
@@ -265,7 +265,7 @@ echo "$cppContent" &gt; @directory/$classNameLower.cpp</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>30</width>
<height>0</height>
@@ -274,7 +274,7 @@ echo "$cppContent" &gt; @directory/$classNameLower.cpp</string>
</spacer>
</hbox>
</widget>
- <widget class="QLayoutWidget" row="0" column="0">
+ <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="0">
<property name="name">
<cstring>Layout37</cstring>
</property>
@@ -288,7 +288,7 @@ echo "$cppContent" &gt; @directory/$classNameLower.cpp</string>
<property name="spacing">
<number>6</number>
</property>
- <widget class="QLabel">
+ <widget class=TQLABEL_OBJECT_NAME_STRING>
<property name="name">
<cstring>TextLabel1</cstring>
</property>
@@ -296,7 +296,7 @@ echo "$cppContent" &gt; @directory/$classNameLower.cpp</string>
<string>Author:</string>
</property>
</widget>
- <widget class="QLabel">
+ <widget class=TQLABEL_OBJECT_NAME_STRING>
<property name="name">
<cstring>TextLabel6</cstring>
</property>
@@ -304,7 +304,7 @@ echo "$cppContent" &gt; @directory/$classNameLower.cpp</string>
<string>Email:</string>
</property>
</widget>
- <widget class="QLabel">
+ <widget class=TQLABEL_OBJECT_NAME_STRING>
<property name="name">
<cstring>TextLabel2</cstring>
</property>
@@ -312,7 +312,7 @@ echo "$cppContent" &gt; @directory/$classNameLower.cpp</string>
<string>Description:</string>
</property>
</widget>
- <widget class="QLabel">
+ <widget class=TQLABEL_OBJECT_NAME_STRING>
<property name="name">
<cstring>TextLabel3</cstring>
</property>
@@ -320,7 +320,7 @@ echo "$cppContent" &gt; @directory/$classNameLower.cpp</string>
<string>Date started:</string>
</property>
</widget>
- <widget class="QLabel">
+ <widget class=TQLABEL_OBJECT_NAME_STRING>
<property name="name">
<cstring>TextLabel4</cstring>
</property>
@@ -328,7 +328,7 @@ echo "$cppContent" &gt; @directory/$classNameLower.cpp</string>
<string>Class name:</string>
</property>
</widget>
- <widget class="QLabel">
+ <widget class=TQLABEL_OBJECT_NAME_STRING>
<property name="name">
<cstring>TextLabel7</cstring>
</property>
@@ -336,7 +336,7 @@ echo "$cppContent" &gt; @directory/$classNameLower.cpp</string>
<string>Base class name:</string>
</property>
</widget>
- <widget class="QLabel">
+ <widget class=TQLABEL_OBJECT_NAME_STRING>
<property name="name">
<cstring>TextLabel5</cstring>
</property>
@@ -346,7 +346,7 @@ echo "$cppContent" &gt; @directory/$classNameLower.cpp</string>
</widget>
</vbox>
</widget>
- <widget class="QLayoutWidget" row="0" column="1">
+ <widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="0" column="1">
<property name="name">
<cstring>Layout36</cstring>
</property>
@@ -434,5 +434,5 @@ echo "$cppContent" &gt; @directory/$classNameLower.cpp</string>
</widget>
</grid>
</widget>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>