From 8dfb1dee2339b3a1199ff96e61fb2e9f5abb4774 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:36:46 -0600 Subject: Remove additional unneeded tq method conversions --- src/kio_locate.cpp | 6 +++--- src/klocateconfiglocatewidget.ui | 2 +- src/klocateconfigwidget.ui | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/kio_locate.cpp b/src/kio_locate.cpp index 3530af9..b846b70 100644 --- a/src/kio_locate.cpp +++ b/src/kio_locate.cpp @@ -347,7 +347,7 @@ void LocateProtocol::get(const KURL& url) if (m_locater.binaryExists()) { error(KIO::ERR_IS_DIRECTORY, TQString()); } else { - TQString html = i18n("

\"%1\" could not be started.

Please note that kio-locate can't be used on its own. You need an additional program for doing searches. Typically this is the command line tool locate that can be found in many distributions by default. You can check if the correct tool is used by looking at the setting \"Locate Binary\".

Besides the mentioned tool locate, kio-locate can use any tool that uses the same syntax. In particular, it was reported to work with slocate and rlocate.").tqarg(m_locater.binary()); + TQString html = i18n("

\"%1\" could not be started.

Please note that kio-locate can't be used on its own. You need an additional program for doing searches. Typically this is the command line tool locate that can be found in many distributions by default. You can check if the correct tool is used by looking at the setting \"Locate Binary\".

Besides the mentioned tool locate, kio-locate can use any tool that uses the same syntax. In particular, it was reported to work with slocate and rlocate.").arg(m_locater.binary()); outputHtml(html); } } else if (isConfigRequest()) { @@ -512,7 +512,7 @@ void LocateProtocol::searchRequest() m_locateRegExp = LocateRegExp(convertWildcardsToRegExp(m_locatePattern), !isCaseSensitive(m_locatePattern)); // Now perform the search... - infoMessage(i18n("Locating %1 ...").tqarg(display)); + infoMessage(i18n("Locating %1 ...").arg(display)); bool started = m_locater.locate(m_locatePattern, !isCaseSensitive(m_locatePattern), regexp); @@ -725,7 +725,7 @@ TQString LocateProtocol::pathToDisplay(const TQString& path, int subItems) display = display.mid(m_locateDirectory.length()); } if (subItems > 0) { - // Can't use m_collapsedDisplay.tqarg(subItems).tqarg(display); here + // Can't use m_collapsedDisplay.arg(subItems).arg(display); here // because user might forget to type %1 or %2, or type it twice. // In both cases the result of arg() is undefined. TQString output = m_config.m_collapsedDisplay, temp; diff --git a/src/klocateconfiglocatewidget.ui b/src/klocateconfiglocatewidget.ui index acc40ca..a89cf01 100644 --- a/src/klocateconfiglocatewidget.ui +++ b/src/klocateconfiglocatewidget.ui @@ -81,7 +81,7 @@ Locate &binary: - + AlignVCenter diff --git a/src/klocateconfigwidget.ui b/src/klocateconfigwidget.ui index 773139a..0ef128e 100644 --- a/src/klocateconfigwidget.ui +++ b/src/klocateconfigwidget.ui @@ -141,7 +141,7 @@ &Collapse a directory with more hits: - + AlignVCenter @@ -198,7 +198,7 @@ Text of a collapsed &directory: - + AlignVCenter -- cgit v1.2.1