diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 539a35866f0bac8f00e493654d4a8ec6863726e2 (patch) | |
tree | 8991e5472fe88379787cafa85542d94706bd6fa4 /lib/recordConduit.cc | |
parent | 45598e35650c5806ecf2d684afeeb0da41c3ff6b (diff) | |
download | kpilot-539a35866f0bac8f00e493654d4a8ec6863726e2.tar.gz kpilot-539a35866f0bac8f00e493654d4a8ec6863726e2.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpilot@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/recordConduit.cc')
-rw-r--r-- | lib/recordConduit.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/recordConduit.cc b/lib/recordConduit.cc index ee01063..89dfac6 100644 --- a/lib/recordConduit.cc +++ b/lib/recordConduit.cc @@ -359,7 +359,7 @@ void RecordConduit::slotPalmRecToPC() } // already synced, so skip: - if ( mSyncedIds.tqcontains( palmRec->id() ) ) + if ( mSyncedIds.contains( palmRec->id() ) ) { KPILOT_DELETE( palmRec ); TQTimer::singleShot( 0, this, TQT_SLOT( slotPalmRecToPC() ) ); @@ -433,7 +433,7 @@ void RecordConduit::slotPCRecToPalm() } // look into the list of already synced record ids to see if the PCEntry hasn't already been synced - if ( mSyncedIds.tqcontains( recID ) ) + if ( mSyncedIds.contains( recID ) ) { #ifdef DEBUG DEBUGKPILOT << ": address with id " << recID << " already synced." << endl; @@ -488,7 +488,7 @@ void RecordConduit::slotDeletedRecord() } // already synced, so skip this record: - if ( mSyncedIds.tqcontains( backupRec->id() ) ) + if ( mSyncedIds.contains( backupRec->id() ) ) { KPILOT_DELETE( backupRec ); TQTimer::singleShot( 0, this, TQT_SLOT( slotDeletedRecord() ) ); @@ -537,7 +537,7 @@ void RecordConduit::slotDeleteUnsyncedPCRecords() TQStringList::ConstIterator uidit; for ( uidit = alluids.constBegin(); uidit != alluids.constEnd(); ++uidit ) { - if ( !uids.tqcontains( *uidit ) ) + if ( !uids.contains( *uidit ) ) { #ifdef DEBUG DEBUGKPILOT << "Deleting PCEntry with uid " << (*uidit) << " from PC (is not on HH, and syncing with HH->PC direction)" << endl; @@ -560,7 +560,7 @@ void RecordConduit::slotDeleteUnsyncedHHRecords() RecordIDList::iterator it; for ( it = ids.begin(); it != ids.end(); ++it ) { - if ( !mSyncedIds.tqcontains(*it) ) + if ( !mSyncedIds.contains(*it) ) { #ifdef DEBUG DEBUGKPILOT << "Deleting record with ID " << *it << " from handheld (is not on PC, and syncing with PC->HH direction)" << endl; @@ -706,7 +706,7 @@ TQString RecordConduit::getCatForHH( const TQStringList cats, const TQString cur FUNCTIONSETUP; if ( cats.size() < 1 ) return TQString(); - if ( cats.tqcontains( curr ) ) + if ( cats.contains( curr ) ) return curr; for ( TQStringList::ConstIterator it = cats.begin(); it != cats.end(); ++it) { @@ -967,7 +967,7 @@ bool RecordConduit::palmSaveEntry( PilotAppCategory *palmEntry, PCEntry *pcEntry if ( pilotId != 0 ) { palmEntry->setID( pilotId ); - if ( !mSyncedIds.tqcontains( pilotId ) ) + if ( !mSyncedIds.contains( pilotId ) ) { mSyncedIds.append( pilotId ); } @@ -1029,7 +1029,7 @@ bool RecordConduit::pcDeleteEntry( PCEntry *pcEntry, PilotAppCategory *backupEnt if ( palmEntry ) { - if ( !mSyncedIds.tqcontains( palmEntry->id() ) ) + if ( !mSyncedIds.contains( palmEntry->id() ) ) { mSyncedIds.append(palmEntry->id()); } @@ -1044,7 +1044,7 @@ bool RecordConduit::pcDeleteEntry( PCEntry *pcEntry, PilotAppCategory *backupEnt } else if ( backupEntry ) { - if ( !mSyncedIds.tqcontains( backupEntry->id() ) ) + if ( !mSyncedIds.contains( backupEntry->id() ) ) { mSyncedIds.append( backupEntry->id() ); } @@ -1121,7 +1121,7 @@ RecordConduit::PCEntry *RecordConduit::findMatch( PilotAppCategory *palmEntry ) if ( rid == palmEntry->id() ) return abEntry;// yes, we found it // skip this PCEntry, as it has a different corresponding address on the handheld - //if ( mAllIds.tqcontains( rid ) ) continue; + //if ( mAllIds.contains( rid ) ) continue; } if ( _equal( palmEntry, abEntry, eqFlagsAlmostAll ) ) |