From 8d9b90ca794ffabf151719c2edebe9278a2d3f36 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:15:24 -0600 Subject: Rename old tq methods that no longer need a unique name --- src/core/drophandler.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/core/drophandler.cpp') diff --git a/src/core/drophandler.cpp b/src/core/drophandler.cpp index 0535e61..e609e7b 100644 --- a/src/core/drophandler.cpp +++ b/src/core/drophandler.cpp @@ -63,14 +63,14 @@ bool DropHandler::handleURL(const KURL::List& urls_) { KURL::List tc, pdf, bib, ris; for(KURL::List::ConstIterator it = urls_.begin(); it != urls_.end(); ++it) { KMimeType::Ptr ptr = KMimeType::findByURL(*it); - if(ptr->is(TQString::tqfromLatin1("application/x-tellico"))) { + if(ptr->is(TQString::fromLatin1("application/x-tellico"))) { tc << *it; - } else if(ptr->is(TQString::tqfromLatin1("application/pdf"))) { + } else if(ptr->is(TQString::fromLatin1("application/pdf"))) { pdf << *it; - } else if(ptr->is(TQString::tqfromLatin1("text/x-bibtex")) || - ptr->is(TQString::tqfromLatin1("application/x-bibtex"))) { + } else if(ptr->is(TQString::fromLatin1("text/x-bibtex")) || + ptr->is(TQString::fromLatin1("application/x-bibtex"))) { bib << *it; - } else if(ptr->is(TQString::tqfromLatin1("application/x-research-info-systems"))) { + } else if(ptr->is(TQString::fromLatin1("application/x-research-info-systems"))) { ris << *it; } else { myDebug() << "DropHandler::handleURL() - unrecognized type: " << ptr->name() << " (" << *it << ")" << endl; -- cgit v1.2.1