diff options
Diffstat (limited to 'conduits/docconduit/doc-conduit.cc')
-rw-r--r-- | conduits/docconduit/doc-conduit.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/conduits/docconduit/doc-conduit.cc b/conduits/docconduit/doc-conduit.cc index 0bce0fe..0ac14f1 100644 --- a/conduits/docconduit/doc-conduit.cc +++ b/conduits/docconduit/doc-conduit.cc @@ -414,7 +414,7 @@ void DOCConduit::syncNextDB() { // if creator and/or type don't match, go to next db if (!isCorrectDBTypeCreator(dbinfo) || - fDBNames.tqcontains(TQString::tqfromLatin1(dbinfo.name))) + fDBNames.contains(TQString::tqfromLatin1(dbinfo.name))) { TQTimer::singleShot(0, this, TQT_SLOT(syncNextDB())); return; @@ -474,7 +474,7 @@ void DOCConduit::syncNextTXT() memset(&dbinfo.name[0], 0, 33); strncpy(&dbinfo.name[0], fl.baseName(TRUE).latin1(), 30); - bool alreadySynced=fDBNames.tqcontains(fl.baseName(TRUE)); + bool alreadySynced=fDBNames.contains(fl.baseName(TRUE)); if (!alreadySynced) { docSyncInfo syncInfo(TQString::tqfromLatin1(dbinfo.name), txtfilename, pdbfilename, eSyncNone); @@ -529,7 +529,7 @@ void DOCConduit::checkPDBFiles() { // Get the doc title and check if it has already been synced (in the synced docs list of in fDBNames to be synced) // If the doc title doesn't appear in either list, install it to the Handheld, and add it to the list of dbs to be synced. TQString dbname=fl.baseName(TRUE).left(30); - if (!fDBNames.tqcontains(dbname) && !fDBListSynced.tqcontains(dbname)) { + if (!fDBNames.contains(dbname) && !fDBListSynced.contains(dbname)) { if (fHandle->installFiles(pdbfilename, false)) { DBInfo dbinfo; // Include all "extensions" except the last. This allows full stops inside the database name (e.g. abbreviations) @@ -559,7 +559,7 @@ void DOCConduit::checkDeletedDocs() FUNCTIONSETUP; for (TQStringList::Iterator it=fDBListSynced.begin(); it!=fDBListSynced.end(); ++it ) { - if (!fDBNames.tqcontains(*it)) { + if (!fDBNames.contains(*it)) { // We need to delete this doc: TQString dbname(*it); TQString txtfilename=constructTXTFileName(dbname); @@ -702,7 +702,7 @@ bool DOCConduit::needsSync(docSyncInfo &sinfo) sinfo.direction = eSyncNone; PilotDatabase*docdb=openDOCDatabase(TQString::tqfromLatin1(sinfo.dbinfo.name)); - if (!fDBListSynced.tqcontains(sinfo.handheldDB)) { + if (!fDBListSynced.contains(sinfo.handheldDB)) { // the database wasn't included on last sync, so it has to be new. #ifdef DEBUG DEBUGKPILOT<<"Database "<<sinfo.dbinfo.name<<" wasn't included in the previous sync!"<<endl; |