summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/defaulttools/kis_tool_text.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:02:43 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:02:43 -0600
commitaea627236e4de24599c3e30617cf264c3c1b7d40 (patch)
tree467e13ca5a7eb0ab292259289ecc3572f53c5eae /chalk/plugins/tools/defaulttools/kis_tool_text.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_text.cc')
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_text.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_text.cc b/chalk/plugins/tools/defaulttools/kis_tool_text.cc
index 392fa212..02626efe 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_text.cc
+++ b/chalk/plugins/tools/defaulttools/kis_tool_text.cc
@@ -155,7 +155,7 @@ void KisToolText::buttonRelease(KisButtonReleaseEvent *e)
}
void KisToolText::setFont() {
- KFontDialog::getFont( m_font, false/*, TQWidget* parent! */ );
+ TDEFontDialog::getFont( m_font, false/*, TQWidget* parent! */ );
m_lbFontName->setText(TQString(m_font.family() + ", %1").arg(m_font.pointSize()));
}
@@ -177,12 +177,12 @@ TQWidget* KisToolText::createOptionWidget(TQWidget* parent)
return widget;
}
-void KisToolText::setup(KActionCollection *collection)
+void KisToolText::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("T&ext"),
+ m_action = new TDERadioAction(i18n("T&ext"),
"tool_text",
TQt::SHIFT+TQt::Key_T,
this,