summaryrefslogtreecommitdiffstats
path: root/karbon/tools/vpolygontool.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/vpolygontool.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/vpolygontool.cc')
-rw-r--r--karbon/tools/vpolygontool.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/karbon/tools/vpolygontool.cc b/karbon/tools/vpolygontool.cc
index fdd02299..18895cea 100644
--- a/karbon/tools/vpolygontool.cc
+++ b/karbon/tools/vpolygontool.cc
@@ -148,15 +148,15 @@ VPolygonTool::showDialog() const
}
void
-VPolygonTool::setup( KActionCollection *collection )
+VPolygonTool::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( "Polygon Tool" ), "14_polygon", shortcut, this, TQT_SLOT( activate() ), collection, name() );
+ TDEShortcut shortcut( TQt::Key_Plus );
+ shortcut.append(TDEShortcut( TQt::Key_F9 ) );
+ m_action = new TDERadioAction( i18n( "Polygon Tool" ), "14_polygon", shortcut, this, TQT_SLOT( activate() ), collection, name() );
m_action->setToolTip( i18n( "Polygon" ) );
m_action->setExclusiveGroup( "shapes" );
//m_ownAction = true;