diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:15:24 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:15:24 -0600 |
commit | 8d9b90ca794ffabf151719c2edebe9278a2d3f36 (patch) | |
tree | 55f446de8694c45be6bf0f1178920c2b92b0c9f5 /src/core/drophandler.cpp | |
parent | 2781e27b871150395a5a82e221684108641002b2 (diff) | |
download | tellico-8d9b90ca794ffabf151719c2edebe9278a2d3f36.tar.gz tellico-8d9b90ca794ffabf151719c2edebe9278a2d3f36.zip |
Rename old tq methods that no longer need a unique name
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 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; |