summaryrefslogtreecommitdiffstats
path: root/libkpimidentities/identitycombo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkpimidentities/identitycombo.cpp')
-rw-r--r--libkpimidentities/identitycombo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libkpimidentities/identitycombo.cpp b/libkpimidentities/identitycombo.cpp
index a33c98466..636483c74 100644
--- a/libkpimidentities/identitycombo.cpp
+++ b/libkpimidentities/identitycombo.cpp
@@ -66,7 +66,7 @@ void IdentityCombo::setCurrentIdentity( const Identity & identity ) {
}
void IdentityCombo::setCurrentIdentity( const TQString & name ) {
- int idx = mIdentityManager->identities().tqfindIndex( name );
+ int idx = mIdentityManager->identities().findIndex( name );
if ( idx < 0 ) return;
if ( idx == currentItem() ) return;
@@ -78,7 +78,7 @@ void IdentityCombo::setCurrentIdentity( const TQString & name ) {
}
void IdentityCombo::setCurrentIdentity( uint uoid ) {
- int idx = mUoidList.tqfindIndex( uoid );
+ int idx = mUoidList.findIndex( uoid );
if ( idx < 0 ) return;
if ( idx == currentItem() ) return;
@@ -109,7 +109,7 @@ void IdentityCombo::slotIdentityManagerChanged() {
uint oldIdentity = mUoidList[ currentItem() ];
reloadUoidList();
- int idx = mUoidList.tqfindIndex( oldIdentity );
+ int idx = mUoidList.findIndex( oldIdentity );
blockSignals( true );
reloadCombo();