From e69e8b1d09fb579316595b4e6a850e717358a8b1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 19 Jun 2011 19:03:33 +0000 Subject: TQt4 port kdegraphics This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksvg/plugin/ksvg_factory.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ksvg/plugin/ksvg_factory.h') diff --git a/ksvg/plugin/ksvg_factory.h b/ksvg/plugin/ksvg_factory.h index c931e503..04b351be 100644 --- a/ksvg/plugin/ksvg_factory.h +++ b/ksvg/plugin/ksvg_factory.h @@ -30,11 +30,12 @@ class KInstance; class KSVGPluginFactory : public KParts::Factory { Q_OBJECT + TQ_OBJECT public: - KSVGPluginFactory(TQObject *parent = 0, const char *name = 0); + KSVGPluginFactory(TQObject *tqparent = 0, const char *name = 0); virtual ~KSVGPluginFactory(); - virtual KParts::Part *createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, TQObject *parent = 0, const char *name = 0, const char *classname = "KParts::Part", const TQStringList &args = TQStringList()); + virtual KParts::Part *createPartObject(TQWidget *tqparentWidget = 0, const char *widgetName = 0, TQObject *tqparent = 0, const char *name = 0, const char *classname = "KParts::Part", const TQStringList &args = TQStringList()); static KInstance *instance(); @@ -46,10 +47,11 @@ private: class KSVGPluginBrowserExtension : public KParts::BrowserExtension { Q_OBJECT + TQ_OBJECT friend class KSVGPlugin; public: - KSVGPluginBrowserExtension(KSVGPlugin *parent); + KSVGPluginBrowserExtension(KSVGPlugin *tqparent); virtual ~KSVGPluginBrowserExtension(); }; -- cgit v1.2.1