summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-09-03 19:58:31 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-09-03 19:58:31 +0200
commit7b4e49e1a69712dcb2943a15660f92ea3655233c (patch)
tree27276564d4895b312118ef7224e2d0b16822cfe2 /src
parent704ef6982dc25952f1dde89ee6d26e5091ef83f2 (diff)
downloadtdeio-locate-7b4e49e1a69712dcb2943a15660f92ea3655233c.tar.gz
tdeio-locate-7b4e49e1a69712dcb2943a15660f92ea3655233c.zip
Additional k => tde renaming and fixes
Diffstat (limited to 'src')
-rw-r--r--src/klocateconfiglocatewidget.ui6
-rw-r--r--src/locate.protocol2
-rw-r--r--src/locater.cpp2
-rw-r--r--src/locater.h2
-rw-r--r--src/locater.protocol2
-rw-r--r--src/pattern.cpp2
-rw-r--r--src/pattern.h4
-rw-r--r--src/rlocate.protocol2
-rw-r--r--src/tdeio_locate.cpp8
-rw-r--r--src/tdeio_locate.h16
-rw-r--r--src/tdeio_locate.kcfg2
11 files changed, 24 insertions, 24 deletions
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 @@
<cstring>textLabel3_2</cstring>
</property>
<property name="text">
- <string>&lt;p&gt;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.&lt;/p&gt;
+ <string>&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</string>
</property>
<property name="textFormat">
@@ -131,7 +131,7 @@
<cstring>textLabel1_3_2</cstring>
</property>
<property name="text">
- <string>&lt;i&gt;Hint:&lt;/i&gt; If you don't specify a value here (which is the default), kio-locate will automatically pick slocate, rlocate or locate (in that order).</string>
+ <string>&lt;i&gt;Hint:&lt;/i&gt; If you don't specify a value here (which is the default), tdeio-locate will automatically pick slocate, rlocate or locate (in that order).</string>
</property>
</widget>
<widget class="TQLayoutWidget">
@@ -196,7 +196,7 @@
<cstring>textLabel3</cstring>
</property>
<property name="text">
- <string>&lt;i&gt;Hint:&lt;/i&gt; Do not use -r or -i here. The first will confuse kio-locate, and the latter can be changed through the "Case sensitivity" option.</string>
+ <string>&lt;i&gt;Hint:&lt;/i&gt; Do not use -r or -i here. The first will confuse tdeio-locate, and the latter can be changed through the "Case sensitivity" option.</string>
</property>
</widget>
</vbox>
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 <tqvaluelist.h>
/**
- * 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("<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());
+ TQString html = i18n("<h1>\"%1\" could not be started.</h1><p>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 <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>, tdeio-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()) {
@@ -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.
- * <p>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.
+ * <p>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.
- * <p>There's even more: You can use kio-locate in all TDE applications, that
+ * <p>There's even more: You can use tdeio-locate in all TDE applications, that
* accept URLs.
- * <p>To find out more about kio-locate and to look for new versions, you
+ * <p>To find out more about tdeio-locate and to look for new versions, you
* should take a look at
* <a href="http://arminstraub.de/browse.php?page=programs_kiolocate">
* arminstraub.de</a>.
@@ -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 @@
<entry name="locateAdditionalArguments" type="String">
<label>Additional Arguments for locate</label>
- <whatsthis>Do not use -r or -i here. The first will confuse kio-locate, while the latter can be changed through the caseSensitivity option.</whatsthis>
+ <whatsthis>Do not use -r or -i here. The first will confuse tdeio-locate, while the latter can be changed through the caseSensitivity option.</whatsthis>
<default></default>
</entry>
</group>