summaryrefslogtreecommitdiffstats
path: root/karbon/tools/vpolylinetool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/tools/vpolylinetool.cc')
-rw-r--r--karbon/tools/vpolylinetool.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/karbon/tools/vpolylinetool.cc b/karbon/tools/vpolylinetool.cc
index 083ee1ea..e1689419 100644
--- a/karbon/tools/vpolylinetool.cc
+++ b/karbon/tools/vpolylinetool.cc
@@ -480,15 +480,15 @@ VPolylineTool::accept()
}
void
-VPolylineTool::setup( KActionCollection *collection )
+VPolylineTool::setup( TDEActionCollection *collection )
{
- m_action = static_cast<KRadioAction *>(collection -> action( name() ) );
+ m_action = static_cast<TDERadioAction *>(collection -> action( name() ) );
if( m_action == 0 )
{
- KShortcut shortcut( TQt::Key_Plus );
- shortcut.append( KShortcut( TQt::Key_F9 ) );
- m_action = new KRadioAction( i18n( "Polyline Tool" ), "14_polyline", shortcut, this, TQT_SLOT( activate() ), collection, name() );
+ TDEShortcut shortcut( TQt::Key_Plus );
+ shortcut.append( TDEShortcut( TQt::Key_F9 ) );
+ m_action = new TDERadioAction( i18n( "Polyline Tool" ), "14_polyline", shortcut, this, TQT_SLOT( activate() ), collection, name() );
m_action->setToolTip( i18n( "Polyline" ) );
m_action->setExclusiveGroup( "freehand" );
//m_ownAction = true;