diff options
Diffstat (limited to 'src/core/drophandler.cpp')
-rw-r--r-- | src/core/drophandler.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/drophandler.cpp b/src/core/drophandler.cpp index e609e7b..0535e61 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::fromLatin1("application/x-tellico"))) { + if(ptr->is(TQString::tqfromLatin1("application/x-tellico"))) { tc << *it; - } else if(ptr->is(TQString::fromLatin1("application/pdf"))) { + } else if(ptr->is(TQString::tqfromLatin1("application/pdf"))) { pdf << *it; - } else if(ptr->is(TQString::fromLatin1("text/x-bibtex")) || - ptr->is(TQString::fromLatin1("application/x-bibtex"))) { + } else if(ptr->is(TQString::tqfromLatin1("text/x-bibtex")) || + ptr->is(TQString::tqfromLatin1("application/x-bibtex"))) { bib << *it; - } else if(ptr->is(TQString::fromLatin1("application/x-research-info-systems"))) { + } else if(ptr->is(TQString::tqfromLatin1("application/x-research-info-systems"))) { ris << *it; } else { myDebug() << "DropHandler::handleURL() - unrecognized type: " << ptr->name() << " (" << *it << ")" << endl; |