summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/defaulttools/kis_tool_line.cc
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/defaulttools/kis_tool_line.cc
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/defaulttools/kis_tool_line.cc')
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_line.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_line.cc b/chalk/plugins/tools/defaulttools/kis_tool_line.cc
index 960d19f6..5a024bf0 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_line.cc
+++ b/chalk/plugins/tools/defaulttools/kis_tool_line.cc
@@ -231,12 +231,12 @@ void KisToolLine::paintLine(KisCanvasPainter& gc, const TQRect&)
}
}
-void KisToolLine::setup(KActionCollection *collection)
+void KisToolLine::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("&Line"),
+ m_action = new TDERadioAction(i18n("&Line"),
"tool_line", TQt::Key_L, this,
TQT_SLOT(activate()), collection,
name());