summaryrefslogtreecommitdiffstats
path: root/kaddressbook/extensionmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/extensionmanager.cpp')
-rw-r--r--kaddressbook/extensionmanager.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kaddressbook/extensionmanager.cpp b/kaddressbook/extensionmanager.cpp
index 93da52d0e..aa4a5c009 100644
--- a/kaddressbook/extensionmanager.cpp
+++ b/kaddressbook/extensionmanager.cpp
@@ -50,10 +50,10 @@ ExtensionManager::ExtensionManager( TQWidget* extensionBar, TQWidgetStack* detai
mMapper( 0 ), mDetailsStack( detailsStack ), mActiveDetailsWidget( 0 )
{
Q_ASSERT( mExtensionBar );
- TQVBoxLayout* layout = new TQVBoxLayout( mExtensionBar );
+ TQVBoxLayout* tqlayout = new TQVBoxLayout( mExtensionBar );
mSplitter = new TQSplitter( mExtensionBar );
mSplitter->setOrientation( TQSplitter::Vertical );
- layout->addWidget( mSplitter );
+ tqlayout->addWidget( mSplitter );
createExtensionWidgets();
@@ -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.contains( it.data().identifier ) ) {
+ if ( activeExtensions.tqcontains( 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.contains( "contact_editor" );
+ return mActiveExtensions.tqcontains( "contact_editor" );
}
void ExtensionManager::setSelectionChanged()
{
for ( TQStringList::ConstIterator it = mActiveExtensions.begin(), end = mActiveExtensions.end(); it != end; ++it ) {
- if ( mExtensionMap.contains( *it ) && mExtensionMap[*it].widget )
+ if ( mExtensionMap.tqcontains( *it ) && mExtensionMap[*it].widget )
mExtensionMap[*it].widget->contactsSelectionChanged();
}
}
void ExtensionManager::activationToggled( const TQString &extid )
{
- if ( !mExtensionMap.contains( extid ) )
+ if ( !mExtensionMap.tqcontains( 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.contains( extid ) )
+ if ( !mExtensionMap.tqcontains( extid ) )
return;
- if ( mActiveExtensions.contains( extid ) == active )
+ if ( mActiveExtensions.tqcontains( 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.contains( data.identifier ) )
+ if ( mActiveExtensions.tqcontains( data.identifier ) )
data.action->setChecked( true );
}