summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/tool_perspectivegrid
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:02:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:02:43 -0600
commitaea627236e4de24599c3e30617cf264c3c1b7d40 (patch)
tree467e13ca5a7eb0ab292259289ecc3572f53c5eae /chalk/plugins/tools/tool_perspectivegrid
parent786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff)
downloadkoffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz
koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'chalk/plugins/tools/tool_perspectivegrid')
-rw-r--r--chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cc6
-rw-r--r--chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cc b/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cc
index 623cb848..97660392 100644
--- a/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cc
+++ b/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.cc
@@ -465,12 +465,12 @@ void KisToolPerspectiveGrid::drawGrid()
}
-void KisToolPerspectiveGrid::setup(KActionCollection *collection)
+void KisToolPerspectiveGrid::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 Grid"),
+ m_action = new TDERadioAction(i18n("&Perspective Grid"),
"tool_perspectivegrid" ,
0,
this,
diff --git a/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.h b/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.h
index b10fc308..bd250637 100644
--- a/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.h
+++ b/chalk/plugins/tools/tool_perspectivegrid/kis_tool_perspectivegrid.h
@@ -49,7 +49,7 @@ public:
// KisToolPaint interface
//
- virtual void setup(KActionCollection *collection);
+ virtual void setup(TDEActionCollection *collection);
virtual TQ_UINT32 priority() { return 3; }
virtual enumToolType toolType() { return TOOL_VIEW; }
virtual void buttonPress(KisButtonPressEvent *event);
@@ -97,7 +97,7 @@ public:
KisToolPerspectiveGridFactory() : super() {};
virtual ~KisToolPerspectiveGridFactory(){};
- virtual KisTool * createTool(KActionCollection * ac) {
+ virtual KisTool * createTool(TDEActionCollection * ac) {
KisTool * t = new KisToolPerspectiveGrid();
TQ_CHECK_PTR(t);
t->setup(ac);