diff options
Diffstat (limited to 'kaddressbook/extensionmanager.cpp')
-rw-r--r-- | kaddressbook/extensionmanager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kaddressbook/extensionmanager.cpp b/kaddressbook/extensionmanager.cpp index bd565a846..c184adf07 100644 --- a/kaddressbook/extensionmanager.cpp +++ b/kaddressbook/extensionmanager.cpp @@ -57,7 +57,7 @@ ExtensionManager::ExtensionManager( TQWidget* extensionBar, TQWidgetStack* detai createExtensionWidgets(); - mActionCollection = new KActionCollection( this, "ActionCollection" ); + mActionCollection = new TDEActionCollection( this, "ActionCollection" ); extensionBar->setShown( false ); TQTimer::singleShot( 0, this, TQT_SLOT( createActions() ) ); @@ -75,7 +75,7 @@ void ExtensionManager::restoreSettings() typedef TQMap<TQString, ExtensionData>::ConstIterator ConstIterator; for ( ConstIterator it = mExtensionMap.begin(), end = mExtensionMap.end(); it != end; ++it ) { if ( activeExtensions.contains( it.data().identifier ) ) { - KToggleAction *action = static_cast<KToggleAction*>( it.data().action ); + TDEToggleAction *action = static_cast<TDEToggleAction*>( it.data().action ); if ( action ) action->setChecked( true ); setExtensionActive( it.data().identifier, true ); @@ -168,7 +168,7 @@ void ExtensionManager::createActions() ExtensionData::List::ConstIterator it; for ( TQMap<TQString, ExtensionData>::Iterator it = mExtensionMap.begin(), end = mExtensionMap.end(); it != end; ++it ) { ExtensionData& data = it.data(); - data.action = new KToggleAction( data.title, 0, mMapper, TQT_SLOT( map() ), + data.action = new TDEToggleAction( data.title, 0, mMapper, TQT_SLOT( map() ), mActionCollection, TQString( data.identifier + "_extension" ).latin1() ); mMapper->setMapping( data.action, data.identifier ); @@ -178,7 +178,7 @@ void ExtensionManager::createActions() data.action->setChecked( true ); } - mActionList.append( new KActionSeparator( mActionCollection ) ); + mActionList.append( new TDEActionSeparator( mActionCollection ) ); mCore->guiClient()->plugActionList( "extensions_list", mActionList ); } |