From 7b4e49e1a69712dcb2943a15660f92ea3655233c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 3 Sep 2013 19:58:31 +0200 Subject: Additional k => tde renaming and fixes --- src/klocateconfiglocatewidget.ui | 6 +++--- src/locate.protocol | 2 +- src/locater.cpp | 2 +- src/locater.h | 2 +- src/locater.protocol | 2 +- src/pattern.cpp | 2 +- src/pattern.h | 4 ++-- src/rlocate.protocol | 2 +- src/tdeio_locate.cpp | 8 ++++---- src/tdeio_locate.h | 16 ++++++++-------- src/tdeio_locate.kcfg | 2 +- 11 files changed, 24 insertions(+), 24 deletions(-) (limited to 'src') diff --git a/src/klocateconfiglocatewidget.ui b/src/klocateconfiglocatewidget.ui index 705a240..db311dd 100644 --- a/src/klocateconfiglocatewidget.ui +++ b/src/klocateconfiglocatewidget.ui @@ -35,7 +35,7 @@ textLabel3_2 - <p>kio-locate does not handle the settings of locate, because this setup varies among different distributions. There are even distributions that use replacements like slocate.</p> + <p>tdeio-locate does not handle the settings of locate, because this setup varies among different distributions. There are even distributions that use replacements like slocate.</p> <p>To configure locate you should take a look at the manpage of locate. Since most distributions use cron for updating locate's database, it may also be useful to take a look at the manpage of crontab.</p> @@ -131,7 +131,7 @@ textLabel1_3_2 - <i>Hint:</i> If you don't specify a value here (which is the default), kio-locate will automatically pick slocate, rlocate or locate (in that order). + <i>Hint:</i> If you don't specify a value here (which is the default), tdeio-locate will automatically pick slocate, rlocate or locate (in that order). @@ -196,7 +196,7 @@ textLabel3 - <i>Hint:</i> Do not use -r or -i here. The first will confuse kio-locate, and the latter can be changed through the "Case sensitivity" option. + <i>Hint:</i> Do not use -r or -i here. The first will confuse tdeio-locate, and the latter can be changed through the "Case sensitivity" option. diff --git a/src/locate.protocol b/src/locate.protocol index 5fc528b..9021edd 100644 --- a/src/locate.protocol +++ b/src/locate.protocol @@ -15,4 +15,4 @@ Class=:local URIMode=rawuri # Our very sophisticated documentation -DocPath=kio-locate/index.html +DocPath=tdeio-locate/index.html diff --git a/src/locater.cpp b/src/locater.cpp index 617a417..68c1d75 100644 --- a/src/locater.cpp +++ b/src/locater.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * kio-locate: KDE I/O Slave for the locate command * + * tdeio-locate: KDE I/O Slave for the locate command * * * * Copyright (C) 2005 by Tobi Vollebregt * * tobivollebregt@gmail.com * diff --git a/src/locater.h b/src/locater.h index e855d03..229f3f2 100644 --- a/src/locater.h +++ b/src/locater.h @@ -1,5 +1,5 @@ /*************************************************************************** - * kio-locate: KDE I/O Slave for the locate command * + * tdeio-locate: KDE I/O Slave for the locate command * * * * Copyright (C) 2005 by Tobi Vollebregt * * tobivollebregt@gmail.com * diff --git a/src/locater.protocol b/src/locater.protocol index 3e742b8..a8ff215 100644 --- a/src/locater.protocol +++ b/src/locater.protocol @@ -12,4 +12,4 @@ Description=KDE I/O Slave for the locate command Class=:local # Our very sophisticated documentation -DocPath=kio-locate/index.html +DocPath=tdeio-locate/index.html diff --git a/src/pattern.cpp b/src/pattern.cpp index 52ade3c..6ca3841 100644 --- a/src/pattern.cpp +++ b/src/pattern.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * kio-locate: KDE I/O Slave for the locate command * + * tdeio-locate: KDE I/O Slave for the locate command * * * * Copyright (C) 2005 by Tobi Vollebregt * * tobivollebregt@gmail.com * diff --git a/src/pattern.h b/src/pattern.h index fb4651f..0aac4d5 100644 --- a/src/pattern.h +++ b/src/pattern.h @@ -1,5 +1,5 @@ /*************************************************************************** - * kio-locate: KDE I/O Slave for the locate command * + * tdeio-locate: KDE I/O Slave for the locate command * * * * Copyright (C) 2005 by Tobi Vollebregt * * tobivollebregt@gmail.com * @@ -31,7 +31,7 @@ #include /** - * Regular Expression adapted to the needs of kio-locate. + * Regular Expression adapted to the needs of tdeio-locate. */ class LocateRegExp { diff --git a/src/rlocate.protocol b/src/rlocate.protocol index a49daf9..497996f 100644 --- a/src/rlocate.protocol +++ b/src/rlocate.protocol @@ -15,4 +15,4 @@ Class=:local URIMode=rawuri # Our very sophisticated documentation -DocPath=kio-locate/index.html +DocPath=tdeio-locate/index.html diff --git a/src/tdeio_locate.cpp b/src/tdeio_locate.cpp index 107e737..cedca4a 100644 --- a/src/tdeio_locate.cpp +++ b/src/tdeio_locate.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * kio-locate: KDE I/O Slave for the locate command * + * tdeio-locate: KDE I/O Slave for the locate command * * * * Copyright (C) 2005 by Tobi Vollebregt * * tobivollebregt@gmail.com * @@ -299,7 +299,7 @@ int LocateProtocol::getCollapseDirectoryThreshold() const ///////////////////////////////////////////////////////////////////// -// KIO STUFF +// TDEIO STUFF void LocateProtocol::setUrl(const KURL& url) { @@ -348,7 +348,7 @@ void LocateProtocol::get(const KURL& url) if (m_locater.binaryExists()) { error(TDEIO::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.").arg(m_locater.binary()); + TQString html = i18n("

\"%1\" could not be started.

Please note that tdeio-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, tdeio-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()) { @@ -771,7 +771,7 @@ void LocateProtocol::configRequest() KDialogBase::IconList, KDialogBase::Default|KDialogBase::Ok|KDialogBase::Cancel|KDialogBase::Help, KDialogBase::Ok, true); - dialog->setCaption(i18n("Configure - kio-locate")); + dialog->setCaption(i18n("Configure - tdeio-locate")); dialog->setIcon(SmallIcon("find")); dialog->addPage(new KLocateConfigWidget(), i18n("General"), "package_settings"); diff --git a/src/tdeio_locate.h b/src/tdeio_locate.h index 926e7f4..0afcf03 100644 --- a/src/tdeio_locate.h +++ b/src/tdeio_locate.h @@ -1,5 +1,5 @@ /*************************************************************************** - * kio-locate: KDE I/O Slave for the locate command * + * tdeio-locate: KDE I/O Slave for the locate command * * * * Copyright (C) 2005 by Tobi Vollebregt * * tobivollebregt@gmail.com * @@ -26,14 +26,14 @@ /** * \mainpage KDE I/O Slave for the locate command * - * \section intro_sec What is kio-locate? - * kio-locate is a KDE I/O Slave for the locate command. - *

This means that you can use kio-locate by simply typing in konquerors + * \section intro_sec What is tdeio-locate? + * tdeio-locate is a KDE I/O Slave for the locate command. + *

This means that you can use tdeio-locate by simply typing in konquerors * address box. You can e.g. type "locate:index.html" to find all files that * contain "index.html" in their name. - *

There's even more: You can use kio-locate in all TDE applications, that + *

There's even more: You can use tdeio-locate in all TDE applications, that * accept URLs. - *

To find out more about kio-locate and to look for new versions, you + *

To find out more about tdeio-locate and to look for new versions, you * should take a look at * * arminstraub.de. @@ -223,7 +223,7 @@ class LocateProtocol : public TQObject, public TDEIO::SlaveBase /** - * Internally used class to represent a hit as kio-locate will + * Internally used class to represent a hit as tdeio-locate will * report. * * This may either be a path as given by locate or a directory @@ -242,7 +242,7 @@ class LocateItem /** - * Internally used class to represent a directory while kio-locate + * Internally used class to represent a directory while tdeio-locate * gathers data from locate. * * Each directory has a list of files found in just that directory diff --git a/src/tdeio_locate.kcfg b/src/tdeio_locate.kcfg index 6b86e9a..6bda265 100644 --- a/src/tdeio_locate.kcfg +++ b/src/tdeio_locate.kcfg @@ -54,7 +54,7 @@ - Do not use -r or -i here. The first will confuse kio-locate, while the latter can be changed through the caseSensitivity option. + Do not use -r or -i here. The first will confuse tdeio-locate, while the latter can be changed through the caseSensitivity option. -- cgit v1.2.3