summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/tool_polygon
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/plugins/tools/tool_polygon')
-rw-r--r--chalk/plugins/tools/tool_polygon/tool_polygon.cc8
-rw-r--r--chalk/plugins/tools/tool_polygon/tool_polygon.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/chalk/plugins/tools/tool_polygon/tool_polygon.cc b/chalk/plugins/tools/tool_polygon/tool_polygon.cc
index 3dbd15d62..5ace60794 100644
--- a/chalk/plugins/tools/tool_polygon/tool_polygon.cc
+++ b/chalk/plugins/tools/tool_polygon/tool_polygon.cc
@@ -42,14 +42,14 @@ typedef KGenericFactory<ToolPolygon> ToolPolygonFactory;
K_EXPORT_COMPONENT_FACTORY( chalktoolpolygon, ToolPolygonFactory( "chalk" ) )
-ToolPolygon::ToolPolygon(TQObject *tqparent, const char *name, const TQStringList &)
- : KParts::Plugin(tqparent, name)
+ToolPolygon::ToolPolygon(TQObject *parent, const char *name, const TQStringList &)
+ : KParts::Plugin(parent, name)
{
setInstance(ToolPolygonFactory::instance());
- if ( tqparent->inherits("KisToolRegistry") )
+ if ( parent->inherits("KisToolRegistry") )
{
- KisToolRegistry * r = dynamic_cast<KisToolRegistry*>( tqparent );
+ KisToolRegistry * r = dynamic_cast<KisToolRegistry*>( parent );
r->add(new KisToolPolygonFactory());
}
diff --git a/chalk/plugins/tools/tool_polygon/tool_polygon.h b/chalk/plugins/tools/tool_polygon/tool_polygon.h
index ec816736c..b6f35bc66 100644
--- a/chalk/plugins/tools/tool_polygon/tool_polygon.h
+++ b/chalk/plugins/tools/tool_polygon/tool_polygon.h
@@ -31,7 +31,7 @@ class ToolPolygon : public KParts::Plugin
public:
- ToolPolygon(TQObject *tqparent, const char *name, const TQStringList &);
+ ToolPolygon(TQObject *parent, const char *name, const TQStringList &);
virtual ~ToolPolygon();
};