summaryrefslogtreecommitdiffstats
path: root/quanta/scripts/TemplateMagic.pl
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
commite985f7e545f4739493965aad69bbecb136dc9346 (patch)
tree54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /quanta/scripts/TemplateMagic.pl
parentf7670c198945adc3b95ad69a959fe5f8ae55b493 (diff)
downloadtdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz
tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/scripts/TemplateMagic.pl')
-rw-r--r--quanta/scripts/TemplateMagic.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/quanta/scripts/TemplateMagic.pl b/quanta/scripts/TemplateMagic.pl
index 40b3b2d1..261cd791 100644
--- a/quanta/scripts/TemplateMagic.pl
+++ b/quanta/scripts/TemplateMagic.pl
@@ -217,7 +217,7 @@ print OFH <<E
</property>
</widget>
</widget>
- <layoutdefaults spacing="6" margin="11"/>
+ <tqlayoutdefaults spacing="6" margin="11"/>
</UI>
E
@@ -228,7 +228,7 @@ sub createUI() {
=pod
Structure for label widget: height is 20
- <widget class="QLabel">
+ <widget class=TQLABEL_OBJECT_NAME_STRING>
<property name="name">
<cstring>TextLabel2_2</cstring>
</property>
@@ -292,7 +292,7 @@ Structure for a text widget: height is 30
for $k (0..$#OrderedVars) {
$Layouts{$OrderedVars[$k][0]}{y}=$y_loc;
print OFH <<E
- <widget class="QLabel">
+ <widget class=TQLABEL_OBJECT_NAME_STRING>
<property name="name">
<cstring>LBL_$OrderedVars[$k][0]</cstring>
</property>