summaryrefslogtreecommitdiffstats
path: root/kabc/kabc2mutt/kabc2mutt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kabc/kabc2mutt/kabc2mutt.cpp')
-rw-r--r--kabc/kabc2mutt/kabc2mutt.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kabc/kabc2mutt/kabc2mutt.cpp b/kabc/kabc2mutt/kabc2mutt.cpp
index b86521dd..7e10dc32 100644
--- a/kabc/kabc2mutt/kabc2mutt.cpp
+++ b/kabc/kabc2mutt/kabc2mutt.cpp
@@ -29,8 +29,8 @@
static std::ostream & operator<< ( std::ostream &os, const TQString &s );
-KABC2Mutt::KABC2Mutt( TQObject *parent, const char *name )
- : TQObject( parent, name ), mFormat( Aliases ),
+KABC2Mutt::KABC2Mutt( TQObject *tqparent, const char *name )
+ : TQObject( tqparent, name ), mFormat( Aliases ),
mIgnoreCase( false ), mAllAddresses( false ),
mAlternateKeyFormat( false ),
mAddressBook( 0 )
@@ -53,8 +53,8 @@ void KABC2Mutt::loadingFinished()
for ( iaddr = mAddressBook->begin(); iaddr != mAddressBook->end(); ++iaddr ) {
const TQString name = (*iaddr).givenName() + ' ' + (*iaddr).familyName();
if ( !mQuery.isEmpty() ) {
- bool match = (name.find(mQuery, 0, mIgnoreCase) > -1) ||
- ((*iaddr).preferredEmail().find( mQuery, 0, mIgnoreCase ) > -1 );
+ bool match = (name.tqfind(mQuery, 0, mIgnoreCase) > -1) ||
+ ((*iaddr).preferredEmail().tqfind( mQuery, 0, mIgnoreCase ) > -1 );
if ( !match )
continue;
}
@@ -130,7 +130,7 @@ void KABC2Mutt::loadingFinished()
KABC::DistributionList *list = manager.list( *iaddr );
if ( list ) {
if ( !mQuery.isEmpty() ) {
- bool match = ((*iaddr).find(mQuery) > -1);
+ bool match = ((*iaddr).tqfind(mQuery) > -1);
if ( !match )
continue;
}