diff options
Diffstat (limited to 'chalk/plugins/tools/tool_polygon')
-rw-r--r-- | chalk/plugins/tools/tool_polygon/kis_tool_polygon.cc | 10 | ||||
-rw-r--r-- | chalk/plugins/tools/tool_polygon/kis_tool_polygon.h | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/chalk/plugins/tools/tool_polygon/kis_tool_polygon.cc b/chalk/plugins/tools/tool_polygon/kis_tool_polygon.cc index 56eeb5ab..1cf41f9a 100644 --- a/chalk/plugins/tools/tool_polygon/kis_tool_polygon.cc +++ b/chalk/plugins/tools/tool_polygon/kis_tool_polygon.cc @@ -216,14 +216,14 @@ void KisToolPolygon::draw(KisCanvasPainter& gc) -void KisToolPolygon::setup(KActionCollection *collection) +void KisToolPolygon::setup(TDEActionCollection *collection) { - m_action = static_cast<KRadioAction *>(collection->action(name())); + m_action = static_cast<TDERadioAction *>(collection->action(name())); if (m_action == 0) { - KShortcut shortcut(TQt::Key_Plus); - shortcut.append(KShortcut(TQt::Key_F9)); - m_action = new KRadioAction(i18n("&Polygon"), + TDEShortcut shortcut(TQt::Key_Plus); + shortcut.append(TDEShortcut(TQt::Key_F9)); + m_action = new TDERadioAction(i18n("&Polygon"), "tool_polygon", shortcut, this, diff --git a/chalk/plugins/tools/tool_polygon/kis_tool_polygon.h b/chalk/plugins/tools/tool_polygon/kis_tool_polygon.h index 30b13373..dcbf5c37 100644 --- a/chalk/plugins/tools/tool_polygon/kis_tool_polygon.h +++ b/chalk/plugins/tools/tool_polygon/kis_tool_polygon.h @@ -51,7 +51,7 @@ public: // KisToolPaint interface // - virtual void setup(KActionCollection *collection); + virtual void setup(TDEActionCollection *collection); virtual enumToolType toolType() { return TOOL_SHAPE; } virtual TQ_UINT32 priority() { return 4; } virtual void buttonPress(KisButtonPressEvent *event); @@ -89,7 +89,7 @@ public: KisToolPolygonFactory() : super() {}; virtual ~KisToolPolygonFactory(){}; - virtual KisTool * createTool(KActionCollection * ac) { + virtual KisTool * createTool(TDEActionCollection * ac) { KisTool * t = new KisToolPolygon(); TQ_CHECK_PTR(t); t->setup(ac); |