summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.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/selectiontools/kis_tool_select_eraser.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/selectiontools/kis_tool_select_eraser.cc')
-rw-r--r--chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cc b/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cc
index 7054f69c..87dc038a 100644
--- a/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cc
+++ b/chalk/plugins/tools/selectiontools/kis_tool_select_eraser.cc
@@ -114,12 +114,12 @@ void KisToolSelectEraser::endPaint() {
if (m_currentImage && m_currentImage->activeDevice())
m_currentImage->activeDevice()->emitSelectionChanged();
}
-void KisToolSelectEraser::setup(KActionCollection *collection)
+void KisToolSelectEraser::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("Selection &Eraser"),
+ m_action = new TDERadioAction(i18n("Selection &Eraser"),
"tool_eraser_selection", "Ctrl+Shift+E", this,
TQT_SLOT(activate()), collection,
name());