diff options
Diffstat (limited to 'src/fetch/entrezfetcher.cpp')
-rw-r--r-- | src/fetch/entrezfetcher.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fetch/entrezfetcher.cpp b/src/fetch/entrezfetcher.cpp index 99f01f1..6383735 100644 --- a/src/fetch/entrezfetcher.cpp +++ b/src/fetch/entrezfetcher.cpp @@ -319,7 +319,7 @@ Tellico::Data::EntryPtr EntrezFetcher::fetchEntry(uint uid_) { return entry; } - if(!m_matches.tqcontains(uid_)) { + if(!m_matches.contains(uid_)) { return 0; } @@ -376,7 +376,7 @@ Tellico::Data::EntryPtr EntrezFetcher::fetchEntry(uint uid_) { Data::EntryPtr e = coll->entries().front(); // try to get a link, but only if necessary - if(m_fields.tqcontains(TQString::tqfromLatin1("url"))) { + if(m_fields.contains(TQString::tqfromLatin1("url"))) { KURL link(TQString::tqfromLatin1(ENTREZ_BASE_URL)); link.addPath(TQString::tqfromLatin1(ENTREZ_LINK_CGI)); link.addQueryItem(TQString::tqfromLatin1("tool"), TQString::tqfromLatin1("Tellico")); @@ -409,7 +409,7 @@ Tellico::Data::EntryPtr EntrezFetcher::fetchEntry(uint uid_) { const StringMap customFields = EntrezFetcher::customFields(); for(StringMap::ConstIterator it = customFields.begin(); it != customFields.end(); ++it) { - if(!m_fields.tqcontains(it.key())) { + if(!m_fields.contains(it.key())) { coll->removeField(it.key()); } } |