diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-16 19:02:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-16 19:02:47 +0000 |
commit | e985f7e545f4739493965aad69bbecb136dc9346 (patch) | |
tree | 54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /kommander/examples/old/widgetgenerator.kmdr | |
parent | f7670c198945adc3b95ad69a959fe5f8ae55b493 (diff) | |
download | tdewebdev-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 'kommander/examples/old/widgetgenerator.kmdr')
-rw-r--r-- | kommander/examples/old/widgetgenerator.kmdr | 32 |
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 &); virtual void populate(); -signals: +Q_SIGNALS: void widgetOpened(); void widgetTextChanged(const QString &); protected: @@ -236,7 +236,7 @@ void @className::showEvent( QShowEvent *e ) emit widgetOpened(); } -#include \"$classNameLower.moc\" +#include \"$classNameLower.tqmoc\" " echo "$headerContent" > @directory/$classNameLower.h @@ -265,7 +265,7 @@ echo "$cppContent" > @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" > @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" > @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" > @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" > @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" > @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" > @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" > @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" > @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" > @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" > @directory/$classNameLower.cpp</string> </widget> </grid> </widget> -<layoutdefaults spacing="6" margin="11"/> +<tqlayoutdefaults spacing="6" margin="11"/> </UI> |