diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
commit | e69e8b1d09fb579316595b4e6a850e717358a8b1 (patch) | |
tree | a24fc20865f65772f530d16177520190594ffdd2 /ksvg/plugin/ksvg_factory.cpp | |
parent | eecec9afb81fdebb0f22e9da22635874c403f854 (diff) | |
download | tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip |
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
Diffstat (limited to 'ksvg/plugin/ksvg_factory.cpp')
-rw-r--r-- | ksvg/plugin/ksvg_factory.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ksvg/plugin/ksvg_factory.cpp b/ksvg/plugin/ksvg_factory.cpp index d5e5e1dc..41392c55 100644 --- a/ksvg/plugin/ksvg_factory.cpp +++ b/ksvg/plugin/ksvg_factory.cpp @@ -43,7 +43,7 @@ extern "C" KInstance *KSVGPluginFactory::s_instance = 0; KAboutData *KSVGPluginFactory::s_about = 0; -KSVGPluginFactory::KSVGPluginFactory(TQObject *parent, const char *name) : KParts::Factory(parent, name) +KSVGPluginFactory::KSVGPluginFactory(TQObject *tqparent, const char *name) : KParts::Factory(tqparent, name) { } @@ -56,7 +56,7 @@ KSVGPluginFactory::~KSVGPluginFactory() s_about = 0; } -KParts::Part *KSVGPluginFactory::createPartObject(TQWidget *parentWidget, const char *wname, TQObject *parent, const char *name, const char *, const TQStringList &args) +KParts::Part *KSVGPluginFactory::createPartObject(TQWidget *tqparentWidget, const char *wname, TQObject *tqparent, const char *name, const char *, const TQStringList &args) { // Get the width and height of the <embed> // TODO : <object> @@ -72,7 +72,7 @@ KParts::Part *KSVGPluginFactory::createPartObject(TQWidget *parentWidget, const height = r2.cap(3).toUInt(&dummy); } - return new KSVGPlugin(parentWidget, wname, parent, name, width, height); + return new KSVGPlugin(tqparentWidget, wname, tqparent, name, width, height); } KInstance *KSVGPluginFactory::instance() @@ -90,8 +90,8 @@ KInstance *KSVGPluginFactory::instance() return s_instance; } -KSVGPluginBrowserExtension::KSVGPluginBrowserExtension(KSVGPlugin *parent) -: KParts::BrowserExtension(parent, "KSVGPlugin BrowserExtension") +KSVGPluginBrowserExtension::KSVGPluginBrowserExtension(KSVGPlugin *tqparent) +: KParts::BrowserExtension(tqparent, "KSVGPlugin BrowserExtension") { } |