diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:30:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:30:41 -0600 |
commit | 83323aca3ca373b92a44ab247f1b49c39220c60d (patch) | |
tree | b71e5dd1592d0a73f602eeaa9553f351a2e94b87 /src/kio_locate.cpp | |
parent | 1e49abd4f70944bbb52236eb619d36aa5f8d6d5e (diff) | |
download | tdeio-locate-83323aca3ca373b92a44ab247f1b49c39220c60d.tar.gz tdeio-locate-83323aca3ca373b92a44ab247f1b49c39220c60d.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/kio_locate.cpp')
-rw-r--r-- | src/kio_locate.cpp | 6 |
1 files changed, 3 insertions, 3 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("<h1>\"%1\" could not be started.</h1><p>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 <i>locate</i> that can be found in many distributions by default. You can check if the correct tool is used by looking at the <a href=\"locater:config\">setting</a> \"Locate Binary\".<p>Besides the mentioned tool <i>locate</i>, kio-locate can use any tool that uses the same syntax. In particular, it was reported to work with <i>slocate</i> and <i>rlocate</i>.").tqarg(m_locater.binary()); + TQString html = i18n("<h1>\"%1\" could not be started.</h1><p>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 <i>locate</i> that can be found in many distributions by default. You can check if the correct tool is used by looking at the <a href=\"locater:config\">setting</a> \"Locate Binary\".<p>Besides the mentioned tool <i>locate</i>, kio-locate can use any tool that uses the same syntax. In particular, it was reported to work with <i>slocate</i> and <i>rlocate</i>.").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; |