diff options
Diffstat (limited to 'src/fetch/arxivfetcher.cpp')
| -rw-r--r-- | src/fetch/arxivfetcher.cpp | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/src/fetch/arxivfetcher.cpp b/src/fetch/arxivfetcher.cpp index 795db25..377df34 100644 --- a/src/fetch/arxivfetcher.cpp +++ b/src/fetch/arxivfetcher.cpp @@ -80,7 +80,7 @@ void ArxivFetcher::continueSearch() {  void ArxivFetcher::doSearch() {    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;    } @@ -258,16 +258,16 @@ KURL ArxivFetcher::searchURL(FetchKey key_, const TQString& value_) const {    TQString quotedValue = '"' + value_ + '"';    switch(key_) {      case Title: -      u.addQueryItem(TQString::fromLatin1("search_query"), TQString::fromLatin1("ti:%1").tqarg(quotedValue)); +      u.addQueryItem(TQString::fromLatin1("search_query"), TQString::fromLatin1("ti:%1").arg(quotedValue));        break;      case Person: -      u.addQueryItem(TQString::fromLatin1("search_query"), TQString::fromLatin1("au:%1").tqarg(quotedValue)); +      u.addQueryItem(TQString::fromLatin1("search_query"), TQString::fromLatin1("au:%1").arg(quotedValue));        break;      case Keyword:        // keyword gets to use all the words without being quoted -      u.addQueryItem(TQString::fromLatin1("search_query"), TQString::fromLatin1("all:%1").tqarg(value_)); +      u.addQueryItem(TQString::fromLatin1("search_query"), TQString::fromLatin1("all:%1").arg(value_));        break;      case ArxivID: @@ -276,7 +276,7 @@ KURL ArxivFetcher::searchURL(FetchKey key_, const TQString& value_) const {        TQString value = value_;        value.remove(TQRegExp(TQString::fromLatin1("^arxiv:"), false));        value.remove(TQRegExp(TQString::fromLatin1("v\\d+$"))); -      u.addQueryItem(TQString::fromLatin1("search_query"), TQString::fromLatin1("id:%1").tqarg(value)); +      u.addQueryItem(TQString::fromLatin1("search_query"), TQString::fromLatin1("id:%1").arg(value));        }        break; | 
