summaryrefslogtreecommitdiffstats
path: root/src/filehandler.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:15:24 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:15:24 -0600
commit8d9b90ca794ffabf151719c2edebe9278a2d3f36 (patch)
tree55f446de8694c45be6bf0f1178920c2b92b0c9f5 /src/filehandler.cpp
parent2781e27b871150395a5a82e221684108641002b2 (diff)
downloadtellico-8d9b90ca794ffabf151719c2edebe9278a2d3f36.tar.gz
tellico-8d9b90ca794ffabf151719c2edebe9278a2d3f36.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/filehandler.cpp')
-rw-r--r--src/filehandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/filehandler.cpp b/src/filehandler.cpp
index 900257a..6329f61 100644
--- a/src/filehandler.cpp
+++ b/src/filehandler.cpp
@@ -152,9 +152,9 @@ TQDomDocument FileHandler::readXMLFile(const KURL& url_, bool processNamespace_,
if(!doc.setContent(f.file(), processNamespace_, &errorMsg, &errorLine, &errorColumn)) {
if(!quiet_) {
TQString details = i18n("There is an XML parsing error in line %1, column %2.").tqarg(errorLine).tqarg(errorColumn);
- details += TQString::tqfromLatin1("\n");
+ details += TQString::fromLatin1("\n");
details += i18n("The error message from TQt is:");
- details += TQString::tqfromLatin1("\n\t") + errorMsg;
+ details += TQString::fromLatin1("\n\t") + errorMsg;
GUI::CursorSaver cs(TQt::arrowCursor);
KMessageBox::detailedSorry(Kernel::self()->widget(), i18n(errorLoad).tqarg(url_.fileName()), details);
}
@@ -184,7 +184,7 @@ Tellico::Data::Image* FileHandler::readImageFile(const KURL& url_, bool quiet_,
tmpFile.setAutoDelete(true);
KIO::Job* job = KIO::file_copy(url_, tmpURL, -1, true /* overwrite */);
- job->addMetaData(TQString::tqfromLatin1("referrer"), referrer_.url());
+ job->addMetaData(TQString::fromLatin1("referrer"), referrer_.url());
if(!KIO::NetAccess::synchronousRun(job, Kernel::self()->widget())) {
if(!quiet_) {
@@ -229,7 +229,7 @@ bool FileHandler::queryExists(const KURL& url_) {
}
KURL backup(url_);
- backup.setPath(backup.path() + TQString::tqfromLatin1("~"));
+ backup.setPath(backup.path() + TQString::fromLatin1("~"));
bool success = true;
if(url_.isLocalFile()) {