summaryrefslogtreecommitdiffstats
path: root/kaddressbook/extensionmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/extensionmanager.cpp')
-rw-r--r--kaddressbook/extensionmanager.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kaddressbook/extensionmanager.cpp b/kaddressbook/extensionmanager.cpp
index 1496be517..77f53a976 100644
--- a/kaddressbook/extensionmanager.cpp
+++ b/kaddressbook/extensionmanager.cpp
@@ -74,7 +74,7 @@ void ExtensionManager::restoreSettings()
typedef TQMap<TQString, ExtensionData>::ConstIterator ConstIterator;
for ( ConstIterator it = mExtensionMap.begin(), end = mExtensionMap.end(); it != end; ++it ) {
- if ( activeExtensions.tqcontains( it.data().identifier ) ) {
+ if ( activeExtensions.contains( it.data().identifier ) ) {
KToggleAction *action = static_cast<KToggleAction*>( it.data().action );
if ( action )
action->setChecked( true );
@@ -102,20 +102,20 @@ void ExtensionManager::reconfigure()
bool ExtensionManager::isQuickEditVisible() const
{
- return mActiveExtensions.tqcontains( "contact_editor" );
+ return mActiveExtensions.contains( "contact_editor" );
}
void ExtensionManager::setSelectionChanged()
{
for ( TQStringList::ConstIterator it = mActiveExtensions.begin(), end = mActiveExtensions.end(); it != end; ++it ) {
- if ( mExtensionMap.tqcontains( *it ) && mExtensionMap[*it].widget )
+ if ( mExtensionMap.contains( *it ) && mExtensionMap[*it].widget )
mExtensionMap[*it].widget->contactsSelectionChanged();
}
}
void ExtensionManager::activationToggled( const TQString &extid )
{
- if ( !mExtensionMap.tqcontains( extid ) )
+ if ( !mExtensionMap.contains( extid ) )
return;
const ExtensionData data = mExtensionMap[ extid ];
const bool activated = data.action->isChecked();
@@ -124,9 +124,9 @@ void ExtensionManager::activationToggled( const TQString &extid )
void ExtensionManager::setExtensionActive( const TQString& extid, bool active )
{
- if ( !mExtensionMap.tqcontains( extid ) )
+ if ( !mExtensionMap.contains( extid ) )
return;
- if ( mActiveExtensions.tqcontains( extid ) == active )
+ if ( mActiveExtensions.contains( extid ) == active )
return;
const ExtensionData data = mExtensionMap[ extid ];
if ( active ) {
@@ -174,7 +174,7 @@ void ExtensionManager::createActions()
mMapper->setMapping( data.action, data.identifier );
mActionList.append( data.action );
- if ( mActiveExtensions.tqcontains( data.identifier ) )
+ if ( mActiveExtensions.contains( data.identifier ) )
data.action->setChecked( true );
}