diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:34:15 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:34:15 -0600 |
commit | 031454e56009d576589c28757f6c6fcf4884095e (patch) | |
tree | ad4c9959d05a814c9090e8fe63ba27057903271b /src/core/drophandler.cpp | |
parent | 54011e0e1af8cd96162160ecf5d361a59a2c733e (diff) | |
download | tellico-031454e56009d576589c28757f6c6fcf4884095e.tar.gz tellico-031454e56009d576589c28757f6c6fcf4884095e.zip |
Rename a number of old tq methods that are no longer tq specific
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; |