From 74c05bbf9d92e43a6cf3799355b5f3598884409e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:56:05 -0600 Subject: Remove additional unneeded tq method conversions --- kdvi/dviRenderer.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kdvi/dviRenderer.cpp') diff --git a/kdvi/dviRenderer.cpp b/kdvi/dviRenderer.cpp index 8c39d974..d3cb3612 100644 --- a/kdvi/dviRenderer.cpp +++ b/kdvi/dviRenderer.cpp @@ -437,7 +437,7 @@ bool dviRenderer::setFile(const TQString &fname, const KURL &base) if (!fi.exists() || fi.isDir()) { KMessageBox::error( parentWidget, i18n("File error. The specified file '%1' does not exist. " - "KDVI already tried to add the ending '.dvi'.").tqarg(filename), + "KDVI already tried to add the ending '.dvi'.").arg(filename), i18n("File Error!")); return false; } @@ -451,8 +451,8 @@ bool dviRenderer::setFile(const TQString &fname, const KURL &base) KMessageBox::sorry( parentWidget, i18n( "Could not open file %1 which has " "type %2. KDVI can only load DVI (.dvi) files." ) - .tqarg( fname ) - .tqarg( mimetype ) ); + .arg( fname ) + .arg( mimetype ) ); return false; } @@ -462,7 +462,7 @@ bool dviRenderer::setFile(const TQString &fname, const KURL &base) KMessageBox::sorry( parentWidget, i18n("File corruption! KDVI had trouble interpreting your DVI file. Most " "likely this means that the DVI file is broken.") - .tqarg( fname ) ); + .arg( fname ) ); return false; } @@ -641,7 +641,7 @@ Anchor dviRenderer::parseReference(const TQString &reference) "line %1 in the TeX-file %2. It seems, however, that the DVI file " "does not contain the necessary source file information. " "We refer to the manual of KDVI for a detailed explanation on how to include this " - "information. Press the F1 key to open the manual.").tqarg(refLineNumber).tqarg(refFileName), + "information. Press the F1 key to open the manual.").arg(refLineNumber).arg(refFileName), i18n("Could Not Find Reference")); mutex.unlock(); return Anchor(); @@ -681,7 +681,7 @@ Anchor dviRenderer::parseReference(const TQString &reference) } else if (anchorForRefFileFound == false) KMessageBox::sorry(parentWidget, i18n("KDVI was not able to locate the place in the DVI file which corresponds to " - "line %1 in the TeX-file %2.").tqarg(refLineNumber).tqarg(refFileName), + "line %1 in the TeX-file %2.").arg(refLineNumber).arg(refFileName), i18n( "Could Not Find Reference" )); else { mutex.unlock(); @@ -735,7 +735,7 @@ void dviRenderer::handleSRCLink(const TQString &linkText, TQMouseEvent *e, Docum { KMessageBox::sorry(parentWidget, TQString("") + i18n("The DVI-file refers to the TeX-file " - "%1 which could not be found.").tqarg(KShellProcess::quote(TeXfile)) + + "%1 which could not be found.").arg(KShellProcess::quote(TeXfile)) + TQString(""), i18n( "Could Not Find File" )); return; @@ -786,7 +786,7 @@ void dviRenderer::handleSRCLink(const TQString &linkText, TQMouseEvent *e, Docum "for inverse search, reported an error. You might wish to look at the document info " "dialog which you will find in the File-Menu for a precise error report. The " "manual for KDVI contains a detailed explanation how to set up your editor for use with KDVI, " - "and a list of common problems.").tqarg(command); + "and a list of common problems.").arg(command); info->clear(i18n("Starting the editor...")); -- cgit v1.2.1