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