summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/tool_crop
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/plugins/tools/tool_crop')
-rw-r--r--chalk/plugins/tools/tool_crop/kis_tool_crop.cc4
-rw-r--r--chalk/plugins/tools/tool_crop/kis_tool_crop.h2
-rw-r--r--chalk/plugins/tools/tool_crop/tool_crop.cc8
-rw-r--r--chalk/plugins/tools/tool_crop/tool_crop.h2
4 files changed, 8 insertions, 8 deletions
diff --git a/chalk/plugins/tools/tool_crop/kis_tool_crop.cc b/chalk/plugins/tools/tool_crop/kis_tool_crop.cc
index 0d7d9728..8f5c9e5f 100644
--- a/chalk/plugins/tools/tool_crop/kis_tool_crop.cc
+++ b/chalk/plugins/tools/tool_crop/kis_tool_crop.cc
@@ -698,9 +698,9 @@ void KisToolCrop::setOptionWidgetRatio(double ratio)
}
-TQWidget* KisToolCrop::createOptionWidget(TQWidget* tqparent)
+TQWidget* KisToolCrop::createOptionWidget(TQWidget* parent)
{
- m_optWidget = new WdgToolCrop(tqparent);
+ m_optWidget = new WdgToolCrop(parent);
Q_CHECK_PTR(m_optWidget);
connect(m_optWidget->bnCrop, TQT_SIGNAL(clicked()), this, TQT_SLOT(crop()));
diff --git a/chalk/plugins/tools/tool_crop/kis_tool_crop.h b/chalk/plugins/tools/tool_crop/kis_tool_crop.h
index 7ad7c9fd..0f4f677a 100644
--- a/chalk/plugins/tools/tool_crop/kis_tool_crop.h
+++ b/chalk/plugins/tools/tool_crop/kis_tool_crop.h
@@ -50,7 +50,7 @@ public:
virtual void update(KisCanvasSubject *subject);
- virtual TQWidget* createOptionWidget(TQWidget* tqparent);
+ virtual TQWidget* createOptionWidget(TQWidget* parent);
virtual TQWidget* optionWidget();
virtual void setup(KActionCollection *collection);
diff --git a/chalk/plugins/tools/tool_crop/tool_crop.cc b/chalk/plugins/tools/tool_crop/tool_crop.cc
index 599c7562..c624d62f 100644
--- a/chalk/plugins/tools/tool_crop/tool_crop.cc
+++ b/chalk/plugins/tools/tool_crop/tool_crop.cc
@@ -42,14 +42,14 @@ typedef KGenericFactory<ToolCrop> ToolCropFactory;
K_EXPORT_COMPONENT_FACTORY( chalktoolcrop, ToolCropFactory( "chalk" ) )
-ToolCrop::ToolCrop(TQObject *tqparent, const char *name, const TQStringList &)
- : KParts::Plugin(tqparent, name)
+ToolCrop::ToolCrop(TQObject *parent, const char *name, const TQStringList &)
+ : KParts::Plugin(parent, name)
{
setInstance(ToolCropFactory::instance());
- if ( tqparent->inherits("KisToolRegistry") )
+ if ( parent->inherits("KisToolRegistry") )
{
- KisToolRegistry * r = dynamic_cast<KisToolRegistry*>(tqparent);
+ KisToolRegistry * r = dynamic_cast<KisToolRegistry*>(parent);
r->add(new KisToolCropFactory());
}
diff --git a/chalk/plugins/tools/tool_crop/tool_crop.h b/chalk/plugins/tools/tool_crop/tool_crop.h
index df5d7c28..263fb1c2 100644
--- a/chalk/plugins/tools/tool_crop/tool_crop.h
+++ b/chalk/plugins/tools/tool_crop/tool_crop.h
@@ -31,7 +31,7 @@ class ToolCrop : public KParts::Plugin
Q_OBJECT
TQ_OBJECT
public:
- ToolCrop(TQObject *tqparent, const char *name, const TQStringList &);
+ ToolCrop(TQObject *parent, const char *name, const TQStringList &);
virtual ~ToolCrop();
private: