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/widgetgenerator.kmdr | 32 ++++++++++++++--------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'kommander/examples/old/widgetgenerator.kmdr') 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 - + -- cgit v1.2.1