summaryrefslogtreecommitdiffstats
path: root/kivio/plugins/kiviozoomtool/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/plugins/kiviozoomtool/plugin.cpp')
-rw-r--r--kivio/plugins/kiviozoomtool/plugin.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kivio/plugins/kiviozoomtool/plugin.cpp b/kivio/plugins/kiviozoomtool/plugin.cpp
index af26c8da..6248e432 100644
--- a/kivio/plugins/kiviozoomtool/plugin.cpp
+++ b/kivio/plugins/kiviozoomtool/plugin.cpp
@@ -31,8 +31,8 @@ K_EXPORT_COMPONENT_FACTORY( libkiviozoomtool, ZoomToolFactory )
KInstance* ZoomToolFactory::s_global = 0;
-ZoomToolFactory::ZoomToolFactory( QObject* parent, const char* name )
-: KLibFactory( parent, name )
+ZoomToolFactory::ZoomToolFactory( TQObject* tqparent, const char* name )
+: KLibFactory( tqparent, name )
{
s_global = new KInstance("kivio");
}
@@ -42,12 +42,12 @@ ZoomToolFactory::~ZoomToolFactory()
delete s_global;
}
-QObject* ZoomToolFactory::createObject( QObject* parent, const char*, const char*, const QStringList& )
+TQObject* ZoomToolFactory::createObject( TQObject* tqparent, const char*, const char*, const TQStringList& )
{
- if ( !parent->inherits("KivioView") )
+ if ( !tqparent->inherits("KivioView") )
return 0;
- QObject* obj = new ZoomTool( (KivioView*)parent );
+ TQObject* obj = new ZoomTool( (KivioView*)tqparent );
return obj;
}