From e985f7e545f4739493965aad69bbecb136dc9346 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 16 Jun 2011 19:02:47 +0000 Subject: 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 --- kommander/examples/old/checkmail.kmdr | 2 +- kommander/examples/old/ex1.kmdr | 2 +- kommander/examples/old/execprogram.kmdr | 8 +++---- kommander/examples/old/firstform.kmdr.kmdr | 4 ++-- kommander/examples/old/form1.kmdr | 2 +- kommander/examples/old/form2.kmdr | 6 ++--- kommander/examples/old/form3.kmdr | 2 +- kommander/examples/old/form4.kmdr | 4 ++-- kommander/examples/old/form5.kmdr | 6 ++--- kommander/examples/old/newfile.kmdr | 6 ++--- kommander/examples/old/populate.kmdr | 6 ++--- kommander/examples/old/resize.kmdr | 20 ++++++++-------- kommander/examples/old/selectedwidgettext.kmdr | 6 ++--- kommander/examples/old/settings.kmdr | 16 ++++++------- kommander/examples/old/simplelist.kmdr | 4 ++-- kommander/examples/old/tar.kmdr | 24 +++++++++---------- kommander/examples/old/tidy.kmdr | 26 ++++++++++----------- kommander/examples/old/widgetgenerator.kmdr | 32 +++++++++++++------------- kommander/examples/old/wizard.kmdr | 10 ++++---- 19 files changed, 93 insertions(+), 93 deletions(-) (limited to 'kommander/examples/old') diff --git a/kommander/examples/old/checkmail.kmdr b/kommander/examples/old/checkmail.kmdr index d4fda432..75aff6d0 100644 --- a/kommander/examples/old/checkmail.kmdr +++ b/kommander/examples/old/checkmail.kmdr @@ -40,5 +40,5 @@ - + diff --git a/kommander/examples/old/ex1.kmdr b/kommander/examples/old/ex1.kmdr index a916ee22..f2c53005 100644 --- a/kommander/examples/old/ex1.kmdr +++ b/kommander/examples/old/ex1.kmdr @@ -101,5 +101,5 @@ - + diff --git a/kommander/examples/old/execprogram.kmdr b/kommander/examples/old/execprogram.kmdr index 1149a3e2..7dc9a07b 100644 --- a/kommander/examples/old/execprogram.kmdr +++ b/kommander/examples/old/execprogram.kmdr @@ -35,7 +35,7 @@ - + Layout2 @@ -59,7 +59,7 @@ Expanding - + 30 0 @@ -89,7 +89,7 @@ Expanding - + 30 0 @@ -100,5 +100,5 @@ - + diff --git a/kommander/examples/old/firstform.kmdr.kmdr b/kommander/examples/old/firstform.kmdr.kmdr index 68993392..e01c228e 100644 --- a/kommander/examples/old/firstform.kmdr.kmdr +++ b/kommander/examples/old/firstform.kmdr.kmdr @@ -35,7 +35,7 @@ - + Layout1 @@ -84,5 +84,5 @@ - + diff --git a/kommander/examples/old/form1.kmdr b/kommander/examples/old/form1.kmdr index e44b1e14..1d75334d 100644 --- a/kommander/examples/old/form1.kmdr +++ b/kommander/examples/old/form1.kmdr @@ -92,5 +92,5 @@ - + diff --git a/kommander/examples/old/form2.kmdr b/kommander/examples/old/form2.kmdr index 060fda56..fa488f56 100644 --- a/kommander/examples/old/form2.kmdr +++ b/kommander/examples/old/form2.kmdr @@ -25,7 +25,7 @@ 6 - + Layout3 @@ -73,7 +73,7 @@ - + Layout1 @@ -114,5 +114,5 @@ - + diff --git a/kommander/examples/old/form3.kmdr b/kommander/examples/old/form3.kmdr index 2b1ffbb2..18eb8bae 100644 --- a/kommander/examples/old/form3.kmdr +++ b/kommander/examples/old/form3.kmdr @@ -58,5 +58,5 @@ - + diff --git a/kommander/examples/old/form4.kmdr b/kommander/examples/old/form4.kmdr index 831c2878..672dbb51 100644 --- a/kommander/examples/old/form4.kmdr +++ b/kommander/examples/old/form4.kmdr @@ -25,7 +25,7 @@ 6 - + Layout1 @@ -84,5 +84,5 @@ setWidgetText(const QString&) - + diff --git a/kommander/examples/old/form5.kmdr b/kommander/examples/old/form5.kmdr index 7efeafda..fd71919e 100644 --- a/kommander/examples/old/form5.kmdr +++ b/kommander/examples/old/form5.kmdr @@ -64,7 +64,7 @@ true - + TextLabel1 @@ -152,7 +152,7 @@ true - + TextLabel1_2 @@ -342,5 +342,5 @@ Ha ha. We got it all with Kommander! setText(const QString&) - + diff --git a/kommander/examples/old/newfile.kmdr b/kommander/examples/old/newfile.kmdr index f02ca8e8..e753c6c0 100644 --- a/kommander/examples/old/newfile.kmdr +++ b/kommander/examples/old/newfile.kmdr @@ -15,7 +15,7 @@ Quick Start - + TextLabel2 @@ -31,7 +31,7 @@ Title: - + TextLabel1 @@ -930,5 +930,5 @@ setEnabled(bool) - + diff --git a/kommander/examples/old/populate.kmdr b/kommander/examples/old/populate.kmdr index a5c5090d..71b9cd3d 100644 --- a/kommander/examples/old/populate.kmdr +++ b/kommander/examples/old/populate.kmdr @@ -25,7 +25,7 @@ 6 - + Layout2 @@ -39,7 +39,7 @@ 6 - + Layout1 @@ -107,5 +107,5 @@ populate() - + diff --git a/kommander/examples/old/resize.kmdr b/kommander/examples/old/resize.kmdr index 27ff5309..869cce3b 100644 --- a/kommander/examples/old/resize.kmdr +++ b/kommander/examples/old/resize.kmdr @@ -25,7 +25,7 @@ 6 - + Layout2 @@ -65,7 +65,7 @@ Directory - + TextLabel1 @@ -73,7 +73,7 @@ Source directory: - + TextLabel2 @@ -83,7 +83,7 @@ - + Layout3 @@ -97,7 +97,7 @@ 6 - + TextLabel3 @@ -115,7 +115,7 @@ - + TextLabel4 @@ -143,7 +143,7 @@ Expanding - + 141 0 @@ -152,7 +152,7 @@ - + Layout4 @@ -176,7 +176,7 @@ Expanding - + 251 0 @@ -213,5 +213,5 @@ done - + diff --git a/kommander/examples/old/selectedwidgettext.kmdr b/kommander/examples/old/selectedwidgettext.kmdr index 058b6d86..60711066 100644 --- a/kommander/examples/old/selectedwidgettext.kmdr +++ b/kommander/examples/old/selectedwidgettext.kmdr @@ -50,7 +50,7 @@ - + Layout1 @@ -90,7 +90,7 @@ Expanding - + 0 30 @@ -101,5 +101,5 @@ - + diff --git a/kommander/examples/old/settings.kmdr b/kommander/examples/old/settings.kmdr index 1e028434..f336d645 100644 --- a/kommander/examples/old/settings.kmdr +++ b/kommander/examples/old/settings.kmdr @@ -35,7 +35,7 @@ 6 - + Layout7 @@ -49,7 +49,7 @@ 6 - + TextLabel1 @@ -83,7 +83,7 @@ - + Layout6 @@ -97,7 +97,7 @@ 6 - + Layout5 @@ -158,7 +158,7 @@ Items") - + Layout2 @@ -182,7 +182,7 @@ Items") Expanding - + 30 0 @@ -215,7 +215,7 @@ Items") Expanding - + 30 0 @@ -260,5 +260,5 @@ Items") populate() - + diff --git a/kommander/examples/old/simplelist.kmdr b/kommander/examples/old/simplelist.kmdr index 42a32323..2bb27af7 100644 --- a/kommander/examples/old/simplelist.kmdr +++ b/kommander/examples/old/simplelist.kmdr @@ -15,7 +15,7 @@ Form1 - + TextLabel1 @@ -210,5 +210,5 @@ - + diff --git a/kommander/examples/old/tar.kmdr b/kommander/examples/old/tar.kmdr index 37fcd10d..35922292 100644 --- a/kommander/examples/old/tar.kmdr +++ b/kommander/examples/old/tar.kmdr @@ -131,7 +131,7 @@ - + Layout9 @@ -281,14 +281,14 @@ Fixed - + 30 16 - + Layout7 @@ -329,7 +329,7 @@ - + Layout5 @@ -343,7 +343,7 @@ 6 - + TextLabel1 @@ -358,7 +358,7 @@ - + Layout6 @@ -372,7 +372,7 @@ 6 - + TextLabel2 @@ -390,7 +390,7 @@ - + Layout7 @@ -414,7 +414,7 @@ Expanding - + 103 0 @@ -439,7 +439,7 @@ Expanding - + 104 0 @@ -464,7 +464,7 @@ Expanding - + 103 0 @@ -475,5 +475,5 @@ - + diff --git a/kommander/examples/old/tidy.kmdr b/kommander/examples/old/tidy.kmdr index 096dec40..a96f5119 100644 --- a/kommander/examples/old/tidy.kmdr +++ b/kommander/examples/old/tidy.kmdr @@ -29,7 +29,7 @@ TabWidget1 - + tab @@ -51,7 +51,7 @@ Non Tidy Option - + TextLabel4 @@ -119,7 +119,7 @@ instances of Quanta running. - + TextLabel1 @@ -356,7 +356,7 @@ instances of Quanta running. - + tab @@ -373,7 +373,7 @@ instances of Quanta running. 6 - + Layout1 @@ -477,7 +477,7 @@ instances of Quanta running. - + TextLabel1_2 @@ -541,7 +541,7 @@ instances of Quanta running. - + TextLabel2 @@ -613,7 +613,7 @@ instances of Quanta running. - + tab @@ -889,7 +889,7 @@ instances of Quanta running. - + tab @@ -1012,7 +1012,7 @@ escape-cdata Boolean y/n, yes/no, t/f, true/false, 1/0 language String - ncr Boolean y/n, yes/no, t/f, true/false, 1/0 output-bom AutoBool auto, y/n, yes/no, t/f, true/false, 1/0 -replace-color Boolean y/n, yes/no, t/f, true/false, 1/0 +tqreplace-color Boolean y/n, yes/no, t/f, true/false, 1/0 css-prefix Name CSS1 selector new-inline-tags Tag names tagX, tagY, ... new-blocklevel-tags Tag names tagX, tagY, ... @@ -1091,7 +1091,7 @@ fi Expanding - + 131 0 @@ -1108,7 +1108,7 @@ fi Expanding - + 121 0 @@ -1155,5 +1155,5 @@ fi setWidgetText(const QString&) - + 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 @@ 6 - + Layout12 @@ -49,7 +49,7 @@ Expanding - + 30 0 @@ -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 Expanding - + 30 0 @@ -274,7 +274,7 @@ echo "$cppContent" > @directory/$classNameLower.cpp - + Layout37 @@ -288,7 +288,7 @@ echo "$cppContent" > @directory/$classNameLower.cpp 6 - + TextLabel1 @@ -296,7 +296,7 @@ echo "$cppContent" > @directory/$classNameLower.cpp Author: - + TextLabel6 @@ -304,7 +304,7 @@ echo "$cppContent" > @directory/$classNameLower.cpp Email: - + TextLabel2 @@ -312,7 +312,7 @@ echo "$cppContent" > @directory/$classNameLower.cpp Description: - + TextLabel3 @@ -320,7 +320,7 @@ echo "$cppContent" > @directory/$classNameLower.cpp Date started: - + TextLabel4 @@ -328,7 +328,7 @@ echo "$cppContent" > @directory/$classNameLower.cpp Class name: - + TextLabel7 @@ -336,7 +336,7 @@ echo "$cppContent" > @directory/$classNameLower.cpp Base class name: - + TextLabel5 @@ -346,7 +346,7 @@ echo "$cppContent" > @directory/$classNameLower.cpp - + Layout36 @@ -434,5 +434,5 @@ echo "$cppContent" > @directory/$classNameLower.cpp - + diff --git a/kommander/examples/old/wizard.kmdr b/kommander/examples/old/wizard.kmdr index 87f50c38..052cfc3a 100755 --- a/kommander/examples/old/wizard.kmdr +++ b/kommander/examples/old/wizard.kmdr @@ -1,6 +1,6 @@ Wizard1 - + Wizard1 @@ -15,7 +15,7 @@ Demo Wizard - + page @@ -132,7 +132,7 @@ - + page @@ -189,7 +189,7 @@ - + page @@ -297,5 +297,5 @@ execute() - + -- cgit v1.2.3