summaryrefslogtreecommitdiffstats
path: root/kivio/plugins/kivioselecttool
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/plugins/kivioselecttool')
-rw-r--r--kivio/plugins/kivioselecttool/plugin.cpp10
-rw-r--r--kivio/plugins/kivioselecttool/plugin.h4
-rw-r--r--kivio/plugins/kivioselecttool/tool_select.cpp2
-rw-r--r--kivio/plugins/kivioselecttool/tool_select.h2
4 files changed, 9 insertions, 9 deletions
diff --git a/kivio/plugins/kivioselecttool/plugin.cpp b/kivio/plugins/kivioselecttool/plugin.cpp
index c6d22e64..fba217c6 100644
--- a/kivio/plugins/kivioselecttool/plugin.cpp
+++ b/kivio/plugins/kivioselecttool/plugin.cpp
@@ -31,8 +31,8 @@ K_EXPORT_COMPONENT_FACTORY( libkivioselecttool, SelectToolFactory )
KInstance* SelectToolFactory::s_global = 0;
-SelectToolFactory::SelectToolFactory( TQObject* tqparent, const char* name )
-: KLibFactory( tqparent, name )
+SelectToolFactory::SelectToolFactory( TQObject* parent, const char* name )
+: KLibFactory( parent, name )
{
s_global = new KInstance("kivio");
}
@@ -42,12 +42,12 @@ SelectToolFactory::~SelectToolFactory()
delete s_global;
}
-TQObject* SelectToolFactory::createObject( TQObject* tqparent, const char*, const char*, const TQStringList& )
+TQObject* SelectToolFactory::createObject( TQObject* parent, const char*, const char*, const TQStringList& )
{
- if ( !tqparent->inherits("KivioView") )
+ if ( !parent->inherits("KivioView") )
return 0;
- TQObject *obj = new SelectTool( (KivioView*)tqparent );
+ TQObject *obj = new SelectTool( (KivioView*)parent );
return obj;
}
diff --git a/kivio/plugins/kivioselecttool/plugin.h b/kivio/plugins/kivioselecttool/plugin.h
index dffe4161..5564327f 100644
--- a/kivio/plugins/kivioselecttool/plugin.h
+++ b/kivio/plugins/kivioselecttool/plugin.h
@@ -30,10 +30,10 @@ class SelectToolFactory : public KLibFactory
{ Q_OBJECT
TQ_OBJECT
public:
- SelectToolFactory( TQObject* tqparent = 0, const char* name = 0 );
+ SelectToolFactory( TQObject* parent = 0, const char* name = 0 );
~SelectToolFactory();
- virtual TQObject* createObject( TQObject* tqparent = 0, const char* name = 0,
+ virtual TQObject* createObject( TQObject* parent = 0, const char* name = 0,
const char* classname = TQOBJECT_OBJECT_NAME_STRING, const TQStringList &args = TQStringList() );
static KInstance* global();
diff --git a/kivio/plugins/kivioselecttool/tool_select.cpp b/kivio/plugins/kivioselecttool/tool_select.cpp
index b201f4d4..b6c24c57 100644
--- a/kivio/plugins/kivioselecttool/tool_select.cpp
+++ b/kivio/plugins/kivioselecttool/tool_select.cpp
@@ -48,7 +48,7 @@
#include "kivio_pluginmanager.h"
-SelectTool::SelectTool( KivioView* tqparent ) : Kivio::MouseTool(tqparent, "Selection Mouse Tool")
+SelectTool::SelectTool( KivioView* parent ) : Kivio::MouseTool(parent, "Selection Mouse Tool")
{
view()->pluginManager()->setDefaultTool(this);
diff --git a/kivio/plugins/kivioselecttool/tool_select.h b/kivio/plugins/kivioselecttool/tool_select.h
index 6e476b99..7a71dabf 100644
--- a/kivio/plugins/kivioselecttool/tool_select.h
+++ b/kivio/plugins/kivioselecttool/tool_select.h
@@ -56,7 +56,7 @@ class SelectTool : public Kivio::MouseTool
Q_OBJECT
TQ_OBJECT
public:
- SelectTool( KivioView* tqparent );
+ SelectTool( KivioView* parent );
~SelectTool();
virtual bool processEvent(TQEvent* e);