diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:41:14 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:41:14 -0600 |
commit | 26f93a7d9105483b49ae930545ddb2873156fa8e (patch) | |
tree | bd208384438ff06193cc1a0a1548a9d69a83cd41 /src/fetch/crossreffetcher.cpp | |
parent | 8d9b90ca794ffabf151719c2edebe9278a2d3f36 (diff) | |
download | tellico-26f93a7d9105483b49ae930545ddb2873156fa8e.tar.gz tellico-26f93a7d9105483b49ae930545ddb2873156fa8e.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/fetch/crossreffetcher.cpp')
-rw-r--r-- | src/fetch/crossreffetcher.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fetch/crossreffetcher.cpp b/src/fetch/crossreffetcher.cpp index fc75250..dd0acb2 100644 --- a/src/fetch/crossreffetcher.cpp +++ b/src/fetch/crossreffetcher.cpp @@ -82,13 +82,13 @@ void CrossRefFetcher::search(FetchKey key_, const TQString& value_) { m_started = true; if(m_user.isEmpty() || m_password.isEmpty()) { - message(i18n("%1 requires a username and password.").tqarg(source()), MessageHandler::Warning); + message(i18n("%1 requires a username and password.").arg(source()), MessageHandler::Warning); stop(); return; } if(!canFetch(Kernel::self()->collectionType())) { - message(i18n("%1 does not allow searching for this collection type.").tqarg(source()), MessageHandler::Warning); + message(i18n("%1 does not allow searching for this collection type.").arg(source()), MessageHandler::Warning); stop(); return; } @@ -250,11 +250,11 @@ KURL CrossRefFetcher::searchURL(FetchKey key_, const TQString& value_) const { #ifdef CROSSREF_USE_UNIXREF u.addQueryItem(TQString::fromLatin1("format"), TQString::fromLatin1("unixref")); #endif - u.addQueryItem(TQString::fromLatin1("req_dat"), TQString::fromLatin1("ourl_%1:%2").tqarg(m_user, m_password)); + u.addQueryItem(TQString::fromLatin1("req_dat"), TQString::fromLatin1("ourl_%1:%2").arg(m_user, m_password)); switch(key_) { case DOI: - u.addQueryItem(TQString::fromLatin1("rft_id"), TQString::fromLatin1("info:doi/%1").tqarg(value_)); + u.addQueryItem(TQString::fromLatin1("rft_id"), TQString::fromLatin1("info:doi/%1").arg(value_)); break; default: |