From 83323aca3ca373b92a44ab247f1b49c39220c60d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:30:41 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- src/kio_locate.cpp | 6 +++--- src/klocateconfiglocatewidget.ui | 14 +++++++------- src/klocateconfigwidget.ui | 26 +++++++++++++------------- src/locater.cpp | 2 +- 4 files changed, 24 insertions(+), 24 deletions(-) (limited to 'src') 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 e14f402..705a240 100644 --- a/src/klocateconfiglocatewidget.ui +++ b/src/klocateconfiglocatewidget.ui @@ -68,7 +68,7 @@ - tqlayout11 + layout11 @@ -81,7 +81,7 @@ Locate &binary: - + AlignVCenter @@ -98,7 +98,7 @@ Expanding - + 81 20 @@ -117,7 +117,7 @@ 0 - + 200 0 @@ -136,7 +136,7 @@ - tqlayout12 + layout12 @@ -163,7 +163,7 @@ Expanding - + 51 20 @@ -182,7 +182,7 @@ 0 - + 200 0 diff --git a/src/klocateconfigwidget.ui b/src/klocateconfigwidget.ui index 776f0a0..433512d 100644 --- a/src/klocateconfigwidget.ui +++ b/src/klocateconfigwidget.ui @@ -32,7 +32,7 @@ - tqlayout10 + layout10 @@ -59,7 +59,7 @@ Expanding - + 284 20 @@ -85,7 +85,7 @@ kcfg_caseSensitivity - + 150 0 @@ -120,7 +120,7 @@ - tqlayout6 + layout6 @@ -141,7 +141,7 @@ &Collapse a directory with more hits: - + AlignVCenter @@ -158,7 +158,7 @@ Expanding - + 141 20 @@ -177,7 +177,7 @@ - tqlayout4 + layout4 @@ -198,7 +198,7 @@ Text of a collapsed &directory: - + AlignVCenter @@ -215,7 +215,7 @@ Expanding - + 100 20 @@ -234,7 +234,7 @@ 0 - + 200 0 @@ -253,7 +253,7 @@ - tqlayout3 + layout3 @@ -280,7 +280,7 @@ Expanding - + 161 20 @@ -347,7 +347,7 @@ kcfg_collapsedIcon - + 150 0 diff --git a/src/locater.cpp b/src/locater.cpp index a160673..93d4bc0 100644 --- a/src/locater.cpp +++ b/src/locater.cpp @@ -23,7 +23,7 @@ * (at your option) any later version. * ***************************************************************************/ -#include +#include #include #include -- cgit v1.2.3