summaryrefslogtreecommitdiffstats
path: root/karbon/tools/vpenciltool.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 /karbon/tools/vpenciltool.cc
parent786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff)
downloadkoffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz
koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'karbon/tools/vpenciltool.cc')
-rw-r--r--karbon/tools/vpenciltool.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/karbon/tools/vpenciltool.cc b/karbon/tools/vpenciltool.cc
index 9f2759b3..a15dbf2d 100644
--- a/karbon/tools/vpenciltool.cc
+++ b/karbon/tools/vpenciltool.cc
@@ -396,13 +396,13 @@ VPencilTool::showDialog() const
}
void
-VPencilTool::setup( KActionCollection *collection )
+VPencilTool::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( "Pencil Tool" ), "14_pencil", TQt::SHIFT+TQt::Key_P, this, TQT_SLOT( activate() ), collection, name() );
+ m_action = new TDERadioAction( i18n( "Pencil Tool" ), "14_pencil", TQt::SHIFT+TQt::Key_P, this, TQT_SLOT( activate() ), collection, name() );
m_action->setToolTip( i18n( "Pencil" ) );
m_action->setExclusiveGroup( "freehand" );
//m_ownAction = true;