summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/tool_perspectivegrid/tool_perspectivegrid.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/plugins/tools/tool_perspectivegrid/tool_perspectivegrid.cc')
-rw-r--r--chalk/plugins/tools/tool_perspectivegrid/tool_perspectivegrid.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chalk/plugins/tools/tool_perspectivegrid/tool_perspectivegrid.cc b/chalk/plugins/tools/tool_perspectivegrid/tool_perspectivegrid.cc
index 69158e21f..12615387f 100644
--- a/chalk/plugins/tools/tool_perspectivegrid/tool_perspectivegrid.cc
+++ b/chalk/plugins/tools/tool_perspectivegrid/tool_perspectivegrid.cc
@@ -42,14 +42,14 @@ typedef KGenericFactory<ToolPerspectiveGrid> ToolPerspectiveGridFactory;
K_EXPORT_COMPONENT_FACTORY( chalktoolperspectivegrid, ToolPerspectiveGridFactory( "chalk" ) )
-ToolPerspectiveGrid::ToolPerspectiveGrid(TQObject *tqparent, const char *name, const TQStringList &)
- : KParts::Plugin(tqparent, name)
+ToolPerspectiveGrid::ToolPerspectiveGrid(TQObject *parent, const char *name, const TQStringList &)
+ : KParts::Plugin(parent, name)
{
setInstance(ToolPerspectiveGridFactory::instance());
- if ( tqparent->inherits("KisToolRegistry") )
+ if ( parent->inherits("KisToolRegistry") )
{
- KisToolRegistry * r = dynamic_cast<KisToolRegistry*>(tqparent);
+ KisToolRegistry * r = dynamic_cast<KisToolRegistry*>(parent);
r->add(new KisToolPerspectiveGridFactory());
}