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 --- quanta/utility/newstuff.h | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) (limited to 'quanta/utility/newstuff.h') diff --git a/quanta/utility/newstuff.h b/quanta/utility/newstuff.h index bdd49a50..e25639a0 100644 --- a/quanta/utility/newstuff.h +++ b/quanta/utility/newstuff.h @@ -29,14 +29,15 @@ Makes possible downloading and installing a DTEP resource files from a server. class KURL; -class QNewDTEPStuff: public KNewStuffSecure +class TQNewDTEPStuff: public KNewStuffSecure { Q_OBJECT + TQ_OBJECT public: - QNewDTEPStuff(const TQString &type, TQWidget *parentWidget=0) - :KNewStuffSecure(type, parentWidget){}; - ~QNewDTEPStuff() {}; + TQNewDTEPStuff(const TQString &type, TQWidget *tqparentWidget=0) + :KNewStuffSecure(type, tqparentWidget){}; + ~TQNewDTEPStuff() {}; private: virtual void installResource(); @@ -47,13 +48,14 @@ Makes possible downloading and installing a Toolbar resource files from a server @author Andras Mantia */ -class QNewToolbarStuff: public KNewStuffSecure +class TQNewToolbarStuff: public KNewStuffSecure { Q_OBJECT + TQ_OBJECT public: - QNewToolbarStuff(const TQString &type, TQWidget *parentWidget=0); - ~QNewToolbarStuff() {}; + TQNewToolbarStuff(const TQString &type, TQWidget *tqparentWidget=0); + ~TQNewToolbarStuff() {}; signals: void loadToolbarFile(const KURL&); @@ -67,13 +69,14 @@ Makes possible downloading and installing a template resource files from a serve @author Andras Mantia */ -class QNewTemplateStuff: public KNewStuffSecure +class TQNewTemplateStuff: public KNewStuffSecure { Q_OBJECT + TQ_OBJECT public: - QNewTemplateStuff(const TQString &type, TQWidget *parentWidget=0); - ~QNewTemplateStuff() {}; + TQNewTemplateStuff(const TQString &type, TQWidget *tqparentWidget=0); + ~TQNewTemplateStuff() {}; signals: void openFile(const KURL&); @@ -87,14 +90,15 @@ Makes possible downloading and installing a script resource files from a server. @author Andras Mantia */ -class QNewScriptStuff: public KNewStuffSecure +class TQNewScriptStuff: public KNewStuffSecure { Q_OBJECT + TQ_OBJECT public: - QNewScriptStuff(const TQString &type, TQWidget *parentWidget=0) - :KNewStuffSecure(type, parentWidget){}; - ~QNewScriptStuff() {}; + TQNewScriptStuff(const TQString &type, TQWidget *tqparentWidget=0) + :KNewStuffSecure(type, tqparentWidget){}; + ~TQNewScriptStuff() {}; private: virtual void installResource(); @@ -105,14 +109,15 @@ Makes possible downloading and installing a documentation resource files from a @author Andras Mantia */ -class QNewDocStuff: public KNewStuffSecure +class TQNewDocStuff: public KNewStuffSecure { Q_OBJECT + TQ_OBJECT public: - QNewDocStuff(const TQString &type, TQWidget *parentWidget=0) - :KNewStuffSecure(type, parentWidget){}; - ~QNewDocStuff() {}; + TQNewDocStuff(const TQString &type, TQWidget *tqparentWidget=0) + :KNewStuffSecure(type, tqparentWidget){}; + ~TQNewDocStuff() {}; private: virtual void installResource(); -- cgit v1.2.1