summaryrefslogtreecommitdiffstats
path: root/kaddressbook/extensionmanager.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
commitfd5d099065a748cac49e20a13481f85666c53c71 (patch)
treea0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /kaddressbook/extensionmanager.cpp
parentb440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff)
downloadtdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz
tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kaddressbook/extensionmanager.cpp')
-rw-r--r--kaddressbook/extensionmanager.cpp8
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 );
}