diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:59:01 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 04:24:39 +0200 |
commit | ad4317e2e02c018dcfb6c49259cfdf580637f5bd (patch) | |
tree | 4ff3110491ed677d979aca9a5711507195a66715 /kaddressbook/ldapsearchdialog.cpp | |
parent | e3649f744289c180537d2d8474dc0e39050e654f (diff) | |
download | tdepim-ad4317e2e02c018dcfb6c49259cfdf580637f5bd.tar.gz tdepim-ad4317e2e02c018dcfb6c49259cfdf580637f5bd.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit 716a5de8870d7c02bb4d0aed72f30291b17b763a)
Diffstat (limited to 'kaddressbook/ldapsearchdialog.cpp')
-rw-r--r-- | kaddressbook/ldapsearchdialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kaddressbook/ldapsearchdialog.cpp b/kaddressbook/ldapsearchdialog.cpp index 9066c0ec..140a39e4 100644 --- a/kaddressbook/ldapsearchdialog.cpp +++ b/kaddressbook/ldapsearchdialog.cpp @@ -361,15 +361,15 @@ TQString LDAPSearchDialog::makeFilter( const TQString& query, const TQString& at if ( attr == i18n( "Name" ) ) { result += startsWith ? "|(cn=%1*)(sn=%2*)" : "|(cn=*%1*)(sn=*%2*)"; - result = result.tqarg( query ).tqarg( query ); + result = result.arg( query ).arg( query ); } else { result += (startsWith ? "%1=%2*" : "%1=*%2*"); if ( attr == i18n( "Email" ) ) { - result = result.tqarg( "mail" ).tqarg( query ); + result = result.arg( "mail" ).arg( query ); } else if ( attr == i18n( "Home Number" ) ) { - result = result.tqarg( "homePhone" ).tqarg( query ); + result = result.arg( "homePhone" ).arg( query ); } else if ( attr == i18n( "Work Number" ) ) { - result = result.tqarg( "telephoneNumber" ).tqarg( query ); + result = result.arg( "telephoneNumber" ).arg( query ); } else { // Error? result = TQString(); @@ -573,7 +573,7 @@ KABC::Addressee::List LDAPSearchDialog::importContactsUnlessTheyExist( const TQV if ( existing.isEmpty() ) { addr.setUid( KApplication::randomString( 10 ) ); - addr.setNote( i18n( "arguments are host name, datetime", "Imported from LDAP directory %1 on %2" ).tqarg( d->itemToServer[cli], KGlobal::locale()->formatDateTime( now ) ) ); + addr.setNote( i18n( "arguments are host name, datetime", "Imported from LDAP directory %1 on %2" ).arg( d->itemToServer[cli], KGlobal::locale()->formatDateTime( now ) ) ); addr.setResource( resource ); mCore->addressBook()->insertAddressee( addr ); TQString displayString; |