summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/tool_perspectivetransform
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/plugins/tools/tool_perspectivetransform')
-rw-r--r--chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cc6
-rw-r--r--chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cc b/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cc
index 16a2ad54..ddd70364 100644
--- a/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cc
+++ b/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.cc
@@ -720,12 +720,12 @@ TQWidget* KisToolPerspectiveTransform::optionWidget()
return 0;
}
-void KisToolPerspectiveTransform::setup(KActionCollection *collection)
+void KisToolPerspectiveTransform::setup(TDEActionCollection *collection)
{
- m_action = static_cast<KRadioAction *>(collection->action(name()));
+ m_action = static_cast<TDERadioAction *>(collection->action(name()));
if (m_action == 0) {
- m_action = new KRadioAction(i18n("&Perspective Transform"),
+ m_action = new TDERadioAction(i18n("&Perspective Transform"),
"tool_perspectivetransform",
0,
this,
diff --git a/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.h b/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.h
index 7f278955..0f0d3e7d 100644
--- a/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.h
+++ b/chalk/plugins/tools/tool_perspectivetransform/kis_tool_perspectivetransform.h
@@ -56,7 +56,7 @@ public:
virtual TQWidget* createOptionWidget(TQWidget* parent);
virtual TQWidget* optionWidget();
- virtual void setup(KActionCollection *collection);
+ virtual void setup(TDEActionCollection *collection);
virtual enumToolType toolType() { return TOOL_TRANSFORM; }
virtual TQ_UINT32 priority() { return 4; }
virtual void paint(KisCanvasPainter& gc);
@@ -117,7 +117,7 @@ public:
KisToolPerspectiveTransformFactory() : super() {};
virtual ~KisToolPerspectiveTransformFactory(){};
- virtual KisTool * createTool(KActionCollection * ac) {
+ virtual KisTool * createTool(TDEActionCollection * ac) {
KisTool * t = new KisToolPerspectiveTransform();
TQ_CHECK_PTR(t);
t->setup(ac); return t;