summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-01-15 17:20:20 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2014-01-15 17:20:20 -0600
commit80f849ebbb4bac48afd2bf50f0e8af2ffd9e4a65 (patch)
treed200f3206607ae1a50c7873a80ab5ffd325d6c2a
parentb23d738404d2fdf3445371a97fa267646b294394 (diff)
downloadtdewebdev-80f849ebbb4bac48afd2bf50f0e8af2ffd9e4a65.tar.gz
tdewebdev-80f849ebbb4bac48afd2bf50f0e8af2ffd9e4a65.zip
Finish renaming KFileReplace->TDEFileReplace and fix related Quanta Plus internal references.
-rw-r--r--AUTHORS2
-rw-r--r--PACKAGING2
-rw-r--r--README2
-rw-r--r--doc/quanta/adv-quanta.docbook20
-rw-r--r--doc/tdefilereplace/index.docbook2
-rw-r--r--quanta/ChangeLog8
-rw-r--r--quanta/data/config/plugins.rc4
-rw-r--r--quanta/data/config/quantaui.rc2
-rw-r--r--quanta/data/doc/tips.html2
-rw-r--r--quanta/data/tips2
-rw-r--r--quanta/src/quanta.cpp2
-rw-r--r--quanta/src/quanta_init.cpp6
-rw-r--r--tdefilereplace/ChangeLog4
-rw-r--r--tdefilereplace/main.cpp10
-rw-r--r--tdefilereplace/report.cpp2
-rw-r--r--tdefilereplace/tdefilereplace.cpp20
-rw-r--r--tdefilereplace/tdefilereplace.h10
-rw-r--r--tdefilereplace/tdefilereplaceiface.h2
-rw-r--r--tdefilereplace/tdefilereplacelib.cpp16
-rw-r--r--tdefilereplace/tdefilereplacelib.h2
-rw-r--r--tdefilereplace/tdefilereplacepart.cpp172
-rw-r--r--tdefilereplace/tdefilereplacepart.desktop4
-rw-r--r--tdefilereplace/tdefilereplacepart.h12
-rw-r--r--tdefilereplace/tdefilereplacepartui.rc2
-rw-r--r--tdefilereplace/tdefilereplaceview.cpp66
-rw-r--r--tdefilereplace/tdefilereplaceview.h4
-rw-r--r--tdefilereplace/tdefilereplaceviewwdg.ui4
-rw-r--r--tdefilereplace/whatthis.h4
28 files changed, 194 insertions, 194 deletions
diff --git a/AUTHORS b/AUTHORS
index b1e30751..b233e6c5 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -24,7 +24,7 @@ Kommander (kommander):
KXSLDbg (kxsldbg):
Author: Keith Isdale <k_isdale@tpg.com.au>
-KFileReplace:
+TDEFileReplace:
Maintainer:
Emiliano Gulmini <emi_barbarossa@yahoo.it>
Andras Mantia <amantia@kde.org>
diff --git a/PACKAGING b/PACKAGING
index 40bea508..5d34cd4d 100644
--- a/PACKAGING
+++ b/PACKAGING
@@ -24,7 +24,7 @@ Severity levels mean:
Severity: Highly recommended
Location: tdewebdev module
-- KFileReplace:
+- TDEFileReplace:
Description: Used to search and replace in external files
Severity: Highly recommended
Location: tdewebdev module
diff --git a/README b/README
index a0801e43..42fe8c70 100644
--- a/README
+++ b/README
@@ -8,7 +8,7 @@ highly recommended that you install them.
The extra applications are:
Kommander: a GUI script builder and executor tool. Needed for some Quanta functionality.
-KFileReplace: powerful search and replace in multiple files
+TDEFileReplace: powerful search and replace in multiple files
KXSLDbg: XSL debugger
KImageMapEditor: image map editor
KLinkStatus: link checker
diff --git a/doc/quanta/adv-quanta.docbook b/doc/quanta/adv-quanta.docbook
index 432bc81c..60681311 100644
--- a/doc/quanta/adv-quanta.docbook
+++ b/doc/quanta/adv-quanta.docbook
@@ -211,35 +211,35 @@ This application lacks flexibility. Sorry, we will do better next time.
</sect1>
<!-- <sect1 id="tdefilereplace-3-2">
-<title>KFileReplace</title>
+<title>TDEFileReplace</title>
<para>
-KFileReplace is a terrific new addition to &quantaplus;. It allows one to
+TDEFileReplace is a terrific new addition to &quantaplus;. It allows one to
quickly replace strings over multiple files in only a few clicks of the
mouse. Imagine you have converted all your GIF images to PNG images
(hasn't everyone done this already?), only the extension has changed, and
you have the &lt;img /> tag scattered throughout 50 XHTML files. Are you
going to do a Find &amp; Replace on every file? Surely not when you can do
them all at the same time! This is only one of the many situations where
-you will find KFileReplace a seriously helpful tool. This section will show
+you will find TDEFileReplace a seriously helpful tool. This section will show
you how to use this wonderful feature.
</para>
<sect2 id="using-kfr-3-2">
-<title>Using KFileReplace</title>
+<title>Using TDEFileReplace</title>
<para>
-With all these wonderful features KFileReplace has, surely you are
+With all these wonderful features TDEFileReplace has, surely you are
incredibly interested in how to use it! Well, make sure your swim suit
is on tight, because we are about to dive in!
</para>
<sect3 id="start-kfr-3-2">
-<title>Starting KFileReplace</title>
+<title>Starting TDEFileReplace</title>
<para>
-You will find KFileReplace in two places: &quantaplus;' main toolbar and the
-menubar (Plugins -> KFileReplace). It is represented by this icon:
+You will find TDEFileReplace in two places: &quantaplus;' main toolbar and the
+menubar (Plugins -> TDEFileReplace). It is represented by this icon:
<inlinemediaobject>
<imageobject>
<imagedata fileref="kfr-icon.png" format="PNG" />
@@ -253,7 +253,7 @@ Search &amp; Replace Project dialog.
<imageobject>
<imagedata fileref="kfr-new-dialog.png" format="PNG" />
</imageobject>
-<caption><para>KFileReplace's New Search &amp; Replace Project dialog.</para></caption>
+<caption><para>TDEFileReplace's New Search &amp; Replace Project dialog.</para></caption>
</mediaobject>
</sect3>
@@ -279,7 +279,7 @@ Your boss just gave word that:
<quote>One hour!?!?</quote> you think to yourself. <quote>It'll take at
least 45 minutes to convert the images!</quote> Calm down. Convert
-the images, load up your project, and fire up KFileReplace. Filter for
+the images, load up your project, and fire up TDEFileReplace. Filter for
only the file types you want to change. Press the <inlinemediaobject>
<imageobject><imagedata format="PNG" fileref="" /></imageobject>
</inlinemediaobject> and for, say GIF images, .gif for the string to
diff --git a/doc/tdefilereplace/index.docbook b/doc/tdefilereplace/index.docbook
index 0ff73a13..5ce8b5ec 100644
--- a/doc/tdefilereplace/index.docbook
+++ b/doc/tdefilereplace/index.docbook
@@ -383,7 +383,7 @@
<sect1 id="tdefilereplace-the-options-dialog">
<title>The <guilabel>Options</guilabel> Dialog</title>
- <para>This dialog contains options that are in the toolbar and extra options that may come in handy in some situations. You can invoke it selecting <menuchoice><guimenu>Settings</guimenu><guimenuitem>Configure KFileReplace...</guimenuitem></menuchoice> in the main menu.
+ <para>This dialog contains options that are in the toolbar and extra options that may come in handy in some situations. You can invoke it selecting <menuchoice><guimenu>Settings</guimenu><guimenuitem>Configure TDEFileReplace...</guimenuitem></menuchoice> in the main menu.
</para>
<sect2 id="tdefilereplace-the-options-dialog-general-page">
<title>General options</title>
diff --git a/quanta/ChangeLog b/quanta/ChangeLog
index 9d1dc833..1c98a1f6 100644
--- a/quanta/ChangeLog
+++ b/quanta/ChangeLog
@@ -34,7 +34,7 @@ Version 3.5.7 (Release date: xx-xx-2006; Started 06-02-2006)
Version 3.5.6 (Release date: 26-01-2006; Started 12-10-2006):
- bugfixes:
- - show Find in Files menu if KFileReplace is installed [related to #132530]
+ - show Find in Files menu if TDEFileReplace is installed [related to #132530]
- fix various crashes in the debugger [#137483]
- fix crash when editing a <style> CSS area
- use the correct encoding in the file dialogs [#138343]
@@ -55,7 +55,7 @@ Version 3.5.5 (Release date: 11-10-2006; Started 01-09-2006):
- fix crash when copying to clipboard inside VPL [#130212]
- show the correct column number if tabs are used in the document [#133313]
- only one upload dialog can be shown at any time [#132535]
- - do not show Find in Files menu if KFileReplace is not installed [#132530]
+ - do not show Find in Files menu if TDEFileReplace is not installed [#132530]
- allow logging to files outside of project directory [#131782]
- don't send closing events for untitled, unmodified documents [#131782]
- respect the order of items in the .docrc [#133704]
@@ -480,7 +480,7 @@ bugfixes might not be listed here.
- behavioral/user interface changes:
- enable the configure toolbars item in the toolbar context menu [#80643]
- rename Edit Toolbar to Configure Toolbars...
- - KFileReplace is used for "Find in Files"
+ - TDEFileReplace is used for "Find in Files"
- Remove From Disc (and Project) renamed to Delete in the Project Tree
- you cannot open the same project file in two different Quanta instances anymore
@@ -750,7 +750,7 @@ correctly, or to work at all.
- script management facility: a new scrip treeview
- a lot of script helping XML development
- XSLT debugger: kxsldbg by Keith Isdale
- - KFileReplace: search & replace in files
+ - TDEFileReplace: search & replace in files
- new DTD menu with the following new items:
- DTD->DTEP converter
- Load DTEP
diff --git a/quanta/data/config/plugins.rc b/quanta/data/config/plugins.rc
index d8035b9e..44df10d6 100644
--- a/quanta/data/config/plugins.rc
+++ b/quanta/data/config/plugins.rc
@@ -1,5 +1,5 @@
[General]
-Plugins=KFileReplace, CVS Management (Cervisia),XSLT Debugger, KImageMapEditor, Link Checker, Konsole
+Plugins=TDEFileReplace, CVS Management (Cervisia),XSLT Debugger, KImageMapEditor, Link Checker, Konsole
SearchPaths=
[CVS Management (Cervisia)]
@@ -13,7 +13,7 @@ Standard Name=cervisia_kpart
Type=KPart
Input=3
-[KFileReplace]
+[TDEFileReplace]
Arguments=
FileName=trinity/libtdefilereplacepart.la
Icon=tdefilereplace
diff --git a/quanta/data/config/quantaui.rc b/quanta/data/config/quantaui.rc
index 48306fba..10383c73 100644
--- a/quanta/data/config/quantaui.rc
+++ b/quanta/data/config/quantaui.rc
@@ -196,7 +196,7 @@
<ToolBar noMerge="1" name="mainPluginsToolBar" >
<text>Plugins Toolbar</text>
<Action name="tidy_check" />
- <Action name="KFileReplace" />
+ <Action name="TDEFileReplace" />
<Action name="CVS Management (Cervisia)" />
<Action name="XSLT Debugger" />
</ToolBar>
diff --git a/quanta/data/doc/tips.html b/quanta/data/doc/tips.html
index 9efe6822..f512ff71 100644
--- a/quanta/data/doc/tips.html
+++ b/quanta/data/doc/tips.html
@@ -102,7 +102,7 @@
<li>Legacy projects get default templating abilities, so nothing is lost. </li>
<li>You can choose where to locate your template files, so they can be in your server root and easy to upload or you can make them secure to link to below server root which is a very cool trick. </li>
<li>When linking to a file not in the project templates, you will be prompted to copy the file to the project templates prior to linking. This will prevent broken links on upload. </li>
- <li>You always have control where you place your templates so you can choose to move them. However, Quanta Plus does not track this, so you will need to change links. This is a good task for KFileReplace, which is now a plug-in as a KPart!</li>
+ <li>You always have control where you place your templates so you can choose to move them. However, Quanta Plus does not track this, so you will need to change links. This is a good task for TDEFileReplace, which is now a plug-in as a KPart!</li>
</ul>
<p class="minihdr">Templates conclusion</p>
<p>Our goal with templates is to extend them to include multi-file "concept" templates, useful for certain things, like placing an order or creating an about section. Ideally this will be a tool for making your work more productive and dynamic. An eventual goal is to have a structural template design mode to deal with site layout and structure which you could use to design and interactively update your sites. If you would like to be involved, then contact us. </p>
diff --git a/quanta/data/tips b/quanta/data/tips
index a5bd234a..3db0c892 100644
--- a/quanta/data/tips
+++ b/quanta/data/tips
@@ -257,7 +257,7 @@ Just go to <b>Settings > Configure Shortcuts</b>.
<tip category="Application">
<html>
-<p>...that you can use KFileReplace to find and replace across your entire project? <b>Click on the KFileReplace button</b> and you can set extensive configurations, use multi line values and wild cards, and even go to the files found in Quanta.
+<p>...that you can use TDEFileReplace to find and replace across your entire project? <b>Click on the TDEFileReplace button</b> and you can set extensive configurations, use multi line values and wild cards, and even go to the files found in Quanta.
</p>
</html>
</tip>
diff --git a/quanta/src/quanta.cpp b/quanta/src/quanta.cpp
index aa28dc4b..ff9d6705 100644
--- a/quanta/src/quanta.cpp
+++ b/quanta/src/quanta.cpp
@@ -695,7 +695,7 @@ void QuantaApp::slotFileQuit()
void QuantaApp::slotEditFindInFiles()
{
- QuantaPlugin *fileReplacePlugin = m_pluginInterface->plugin("KFileReplace");
+ QuantaPlugin *fileReplacePlugin = m_pluginInterface->plugin("TDEFileReplace");
if (fileReplacePlugin)
fileReplacePlugin->run();
}
diff --git a/quanta/src/quanta_init.cpp b/quanta/src/quanta_init.cpp
index 49e1e057..c0bcf32e 100644
--- a/quanta/src/quanta_init.cpp
+++ b/quanta/src/quanta_init.cpp
@@ -1091,7 +1091,7 @@ void QuantaInit::initPlugins()
TQT_TQOBJECT(m_quanta), TQT_SLOT(slotStatusMsg(const TQString & )));
m_quanta->m_pluginInterface->readConfig();
- if (!m_quanta->m_pluginInterface->pluginAvailable("KFileReplace"))
+ if (!m_quanta->m_pluginInterface->pluginAvailable("TDEFileReplace"))
{
delete m_quanta->actionCollection()->action("find_in_files");
}
@@ -1420,8 +1420,8 @@ void QuantaInit::checkRuntimeDependencies()
dependency.type = Dependency::Executable;
dependencies.append(dependency);
- dependency.name = "KFileReplace";
- dependency.execName = "KFileReplace";
+ dependency.name = "TDEFileReplace";
+ dependency.execName = "TDEFileReplace";
dependency.description = i18n("search and replace in files");
dependency.type = Dependency::Plugin;
dependencies.append(dependency);
diff --git a/tdefilereplace/ChangeLog b/tdefilereplace/ChangeLog
index 6f5d74f7..a9e751a7 100644
--- a/tdefilereplace/ChangeLog
+++ b/tdefilereplace/ChangeLog
@@ -77,7 +77,7 @@
code that do commands feature from KFileREplaceLib to these two classes.
2004-08-09 Emiliano Gulmini <emi_barbarossa@yahoo.it>
- * I fixed a bug that affected the method "void KFileReplaceView::slotStringsClear()" in tdefilereplaceview.cpp file.
+ * I fixed a bug that affected the method "void TDEFileReplaceView::slotStringsClear()" in tdefilereplaceview.cpp file.
This bug caused the list of strings not to be correctly erased.
2004-08-07 Emiliano Gulmini <emi_barbarossa@yahoo.it>
@@ -172,7 +172,7 @@
* Fixed a bug in the new kfr (XML-based) file format.
2004-03-12 Emiliano Gulmini <emi_barbarossa@yahoo.it>
- * Removed KresultView(.h,.cpp). Now KFileReplaceView is a QWidget that contains results and
+ * Removed KresultView(.h,.cpp). Now TDEFileReplaceView is a QWidget that contains results and
strings view.
* Added whatthis.h that contains the "what's this" strings.
* Fixed a bug that generate a wrong XHTML result file.
diff --git a/tdefilereplace/main.cpp b/tdefilereplace/main.cpp
index da78eb23..1ca0ce24 100644
--- a/tdefilereplace/main.cpp
+++ b/tdefilereplace/main.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- main.cpp - Main file for the KFileReplace shell
+ main.cpp - Main file for the TDEFileReplace shell
-------------------
begin : Thu Sep 16 14:14:09 2004
copyright : (C) 2004 by Andras Mantia <amantia@kde.org>
@@ -34,14 +34,14 @@ static TDECmdLineOptions options[] =
int main(int argc, char *argv[])
{
- TDEAboutData about("tdefilereplace", I18N_NOOP("KFileReplace"), version, description,
+ TDEAboutData about("tdefilereplace", I18N_NOOP("TDEFileReplace"), version, description,
TDEAboutData::License_GPL_V2, "(C) 2004-2005 Andras Mantia\n(C) 2004-2005 Emiliano Gulmini\n(C) 1999-2002 Francois Dupoux", I18N_NOOP("Part of the KDEWebDev module."),
"http://www.kdewebdev.org");
about.addAuthor("Andras Mantia", I18N_NOOP("Shell author, KPart creator, co-maintainer"), "amantia@kde.org");
about.addAuthor("Emiliano Gulmini", I18N_NOOP("Current maintainer, code cleaner and rewriter"),"emi_barbarossa@yahoo.it");
about.addAuthor("Francois Dupou",
- I18N_NOOP("Original author of the KFileReplace tool"),
+ I18N_NOOP("Original author of the TDEFileReplace tool"),
"dupoux@dupoux.com");
TDECmdLineArgs::init(argc, argv, &about);
@@ -52,14 +52,14 @@ int main(int argc, char *argv[])
// see if we are starting with session management
if (app.isRestored())
{
- RESTORE(KFileReplace);
+ RESTORE(TDEFileReplace);
}
else
{
// no session.. just start up normally
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
- KFileReplace *kfr = new KFileReplace;
+ TDEFileReplace *kfr = new TDEFileReplace;
kfr->show();
if (args->count() == 0)
diff --git a/tdefilereplace/report.cpp b/tdefilereplace/report.cpp
index a3b7dfab..3be703e2 100644
--- a/tdefilereplace/report.cpp
+++ b/tdefilereplace/report.cpp
@@ -65,7 +65,7 @@ void Report::createReportFile()
oTStream << "<?xml version=\"1.0\"?>\n"
"<?xml-stylesheet href=\""+css+"\" type=\"text/css\"?>"
"<report>\n"
- " <title> "+i18n("KFileReplace Report")+" </title>\n"
+ " <title> "+i18n("TDEFileReplace Report")+" </title>\n"
" <createdby>"+user.fullName()+"("+user.loginName()+")"+"</createdby>\n"
" <date>"+dateString+"</date>\n"
"<hr/>\n"
diff --git a/tdefilereplace/tdefilereplace.cpp b/tdefilereplace/tdefilereplace.cpp
index 24ead465..8cb7d332 100644
--- a/tdefilereplace/tdefilereplace.cpp
+++ b/tdefilereplace/tdefilereplace.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- tdefilereplace.cpp - KFileReplace shell implementation
+ tdefilereplace.cpp - TDEFileReplace shell implementation
-------------------
begin : Thu Sep 16 14:14:09 2004
copyright : (C) 2004 by Andras Mantia <amantia@kde.org>
@@ -24,8 +24,8 @@
//app includes
#include "tdefilereplace.h"
-KFileReplace::KFileReplace()
- : KParts::MainWindow(0L, "KFileReplace")
+TDEFileReplace::TDEFileReplace()
+ : KParts::MainWindow(0L, "TDEFileReplace")
{
KLibFactory *factory = KLibLoader::self()->factory("libtdefilereplacepart");
if (factory)
@@ -46,23 +46,23 @@ KFileReplace::KFileReplace()
}
else
{
- KMessageBox::error(this, i18n("Could not find the KFileReplace part."));
+ KMessageBox::error(this, i18n("Could not find the TDEFileReplace part."));
close();
return;
}
}
-KFileReplace::~KFileReplace()
+TDEFileReplace::~TDEFileReplace()
{
}
-void KFileReplace::openURL(const KURL &url)
+void TDEFileReplace::openURL(const KURL &url)
{
m_part->openURL(url);
}
-void KFileReplace::slotConfigureKeys()
+void TDEFileReplace::slotConfigureKeys()
{
KKeyDialog dlg( false, this );
TQPtrList<KXMLGUIClient> clients = guiFactory()->clients();
@@ -74,7 +74,7 @@ void KFileReplace::slotConfigureKeys()
dlg.configure();
}
-void KFileReplace::slotConfigureToolbars()
+void TDEFileReplace::slotConfigureToolbars()
{
saveMainWindowSettings(TDEGlobal::config(), autoSaveGroup());
KEditToolbar dlg(factory());
@@ -83,13 +83,13 @@ void KFileReplace::slotConfigureToolbars()
dlg.exec();
}
-void KFileReplace::applyNewToolbarConfig()
+void TDEFileReplace::applyNewToolbarConfig()
{
applyMainWindowSettings(TDEGlobal::config(), autoSaveGroup());
}
-void KFileReplace::removeDuplicatedActions()
+void TDEFileReplace::removeDuplicatedActions()
{
TDEActionCollection* part_action_collection = m_part->actionCollection();
TDEAction* part_about_action = part_action_collection->action("help_about_tdefilereplace");
diff --git a/tdefilereplace/tdefilereplace.h b/tdefilereplace/tdefilereplace.h
index 7da206fd..2742a5c7 100644
--- a/tdefilereplace/tdefilereplace.h
+++ b/tdefilereplace/tdefilereplace.h
@@ -1,5 +1,5 @@
/***************************************************************************
- tdefilereplace.h - KFileReplace header
+ tdefilereplace.h - TDEFileReplace header
-------------------
begin : Thu Sep 16 14:14:09 2004
copyright : (C) 2004 by Andras Mantia <amantia@kde.org>
@@ -19,17 +19,17 @@
#include <tdeparts/mainwindow.h>
/**
-Shell application for the KFileReplace part.
+Shell application for the TDEFileReplace part.
@author Andras Mantia
*/
-class KFileReplace : public KParts::MainWindow
+class TDEFileReplace : public KParts::MainWindow
{
Q_OBJECT
public:
- KFileReplace();
- ~KFileReplace();
+ TDEFileReplace();
+ ~TDEFileReplace();
void openURL(const KURL &url);
private slots:
diff --git a/tdefilereplace/tdefilereplaceiface.h b/tdefilereplace/tdefilereplaceiface.h
index 77be035f..2d87e08a 100644
--- a/tdefilereplace/tdefilereplaceiface.h
+++ b/tdefilereplace/tdefilereplaceiface.h
@@ -19,7 +19,7 @@
#include <dcopobject.h>
-class KFileReplaceIface : virtual public DCOPObject
+class TDEFileReplaceIface : virtual public DCOPObject
{
K_DCOP
diff --git a/tdefilereplace/tdefilereplacelib.cpp b/tdefilereplace/tdefilereplacelib.cpp
index 558b9dfb..3b73cd40 100644
--- a/tdefilereplace/tdefilereplacelib.cpp
+++ b/tdefilereplace/tdefilereplacelib.cpp
@@ -48,7 +48,7 @@ const double tera = 1099511627776.0;//1024^4
.................* fileName: second path (can be "/doc/html/", or "doc/html/" or "doc/html/index.html" for example)
Return values:...* Full valid path (without double "/")
*/
-TQString KFileReplaceLib::formatFullPath(const TQString& basePath, const TQString &fileName)
+TQString TDEFileReplaceLib::formatFullPath(const TQString& basePath, const TQString &fileName)
{
TQString fullPath = basePath;
TQString fname = fileName;
@@ -70,7 +70,7 @@ TQString KFileReplaceLib::formatFullPath(const TQString& basePath, const TQStrin
.................* extension: extension to add without "." (ex: "html", "kfr")
Return values:...* Filename / Filepath with the extension
*/
-TQString KFileReplaceLib::addExtension(const TQString& fileName, const TQString& extension)
+TQString TDEFileReplaceLib::addExtension(const TQString& fileName, const TQString& extension)
{
TQString fullExtension = ".";
TQString fname = fileName;
@@ -89,7 +89,7 @@ TQString KFileReplaceLib::addExtension(const TQString& fileName, const TQString&
return fname;
}
-TQString KFileReplaceLib::formatFileSize(double size)
+TQString TDEFileReplaceLib::formatFileSize(double size)
{
TQString stringSize;
@@ -119,12 +119,12 @@ TQString KFileReplaceLib::formatFileSize(double size)
return stringSize;
}
-void KFileReplaceLib::convertOldToNewKFRFormat(const TQString& fileName, TDEListView* stringView)
+void TDEFileReplaceLib::convertOldToNewKFRFormat(const TQString& fileName, TDEListView* stringView)
{
//this method convert old format in new XML-based format
typedef struct
{
- char pgm[13]; // Must be "KFileReplace" : like MZ for EXE files
+ char pgm[13]; // Must be "TDEFileReplace" : like MZ for EXE files
int stringNumber; // Number of strings in file
char reserved[64]; // Reserved for future use
} KFRHeader;
@@ -135,7 +135,7 @@ void KFileReplaceLib::convertOldToNewKFRFormat(const TQString& fileName, TDEList
int err = fread(&head, sizeof(KFRHeader), 1, f);
TQString pgm(head.pgm);
- if(!f || (err != 1) || (pgm != "KFileReplace"))
+ if(!f || (err != 1) || (pgm != "TDEFileReplace"))
{
KMessageBox::error(0, i18n("<qt>Cannot open the file <b>%1</b> and load the string list. This file seems not to be a valid old kfr file or it is broken.</qt>").arg(fileName));
return ;
@@ -195,7 +195,7 @@ void KFileReplaceLib::convertOldToNewKFRFormat(const TQString& fileName, TDEList
return ;
}
-bool KFileReplaceLib::isAnAccessibleFile(const TQString& filePath, const TQString& fileName, RCOptions* info)
+bool TDEFileReplaceLib::isAnAccessibleFile(const TQString& filePath, const TQString& fileName, RCOptions* info)
{
TQString bkExt = info->m_backupExtension;
if(fileName == ".." || fileName == "." || (!bkExt.isEmpty() && fileName.right(bkExt.length()) == bkExt))
@@ -296,7 +296,7 @@ bool KFileReplaceLib::isAnAccessibleFile(const TQString& filePath, const TQStrin
return true;
}
-void KFileReplaceLib::setIconForFileEntry(TQListViewItem* item, TQString path)
+void TDEFileReplaceLib::setIconForFileEntry(TQListViewItem* item, TQString path)
{
TQFileInfo fi(path);
TQString extension = fi.extension(),
diff --git a/tdefilereplace/tdefilereplacelib.h b/tdefilereplace/tdefilereplacelib.h
index 74d26ee4..d04f8a34 100644
--- a/tdefilereplace/tdefilereplacelib.h
+++ b/tdefilereplace/tdefilereplacelib.h
@@ -28,7 +28,7 @@ class KlistView;
// local
#include "configurationclasses.h"
-class KFileReplaceLib
+class TDEFileReplaceLib
{
public:
diff --git a/tdefilereplace/tdefilereplacepart.cpp b/tdefilereplace/tdefilereplacepart.cpp
index ffbc029d..e196a15c 100644
--- a/tdefilereplace/tdefilereplacepart.cpp
+++ b/tdefilereplace/tdefilereplacepart.cpp
@@ -56,11 +56,11 @@ using namespace whatthisNameSpace;
//PUBLIC CONSTRUCTORS
// Factory code for KDE 3
-typedef KParts::GenericFactory<KFileReplacePart> FileReplaceFactory;
+typedef KParts::GenericFactory<TDEFileReplacePart> FileReplaceFactory;
K_EXPORT_COMPONENT_FACTORY( libtdefilereplacepart, FileReplaceFactory )
-KFileReplacePart::KFileReplacePart(TQWidget* parentWidget, const char* , TQObject* parent, const char* name, const TQStringList & ) : KParts::ReadOnlyPart(parent,name)
+TDEFileReplacePart::TDEFileReplacePart(TQWidget* parentWidget, const char* , TQObject* parent, const char* name, const TQStringList & ) : KParts::ReadOnlyPart(parent,name)
{
setInstance(FileReplaceFactory::instance());
TDEGlobal::locale()->insertCatalogue("tdefilereplace");
@@ -79,7 +79,7 @@ KFileReplacePart::KFileReplacePart(TQWidget* parentWidget, const char* , TQObjec
whatsThis();
}
-KFileReplacePart::~KFileReplacePart()
+TDEFileReplacePart::~TDEFileReplacePart()
{
m_view = 0; //it's already deleted, so set it to NULL
@@ -95,14 +95,14 @@ KFileReplacePart::~KFileReplacePart()
}
//PRIVATE SLOTS
-void KFileReplacePart::slotSetNewParameters()
+void TDEFileReplacePart::slotSetNewParameters()
{
launchNewProjectDialog(KURL());
m_view->changeView(m_option->m_searchingOnlyMode);
emit setStatusBarText(i18n("Ready."));
}
-void KFileReplacePart::slotSearchingOperation()
+void TDEFileReplacePart::slotSearchingOperation()
{
if(!checkBeforeOperation())
return;
@@ -159,7 +159,7 @@ void KFileReplacePart::slotSearchingOperation()
m_view->showSemaphore("green");
}
-void KFileReplacePart::slotReplacingOperation()
+void TDEFileReplacePart::slotReplacingOperation()
{
if (KMessageBox::warningContinueCancel(m_w, i18n("<qt>You have selected <b>%1</b> as the encoding of the files.<br>Selecting the correct encoding is very important as if you have files that have some other encoding than the selected one, after a replace you may damage those files.<br><br>In case you do not know the encoding of your files, select <i>utf8</i> and <b>enable</b> the creation of backup files. This setting will autodetect <i>utf8</i> and <i>utf16</i> files, but the changed files will be converted to <i>utf8</i>.</qt>").arg(m_option->m_encoding), i18n("File Encoding Warning"), KStdGuiItem::cont(), "ShowEncodingWarning") == KMessageBox::Cancel)
return;
@@ -221,14 +221,14 @@ void KFileReplacePart::slotReplacingOperation()
m_view->showSemaphore("green");
}
-void KFileReplacePart::slotSimulatingOperation()
+void TDEFileReplacePart::slotSimulatingOperation()
{
m_option->m_simulation = true;
slotReplacingOperation();
m_option->m_simulation = false;
}
-void KFileReplacePart::slotStop()
+void TDEFileReplacePart::slotStop()
{
emit setStatusBarText(i18n("Stopping..."));
m_stop = true;
@@ -236,7 +236,7 @@ void KFileReplacePart::slotStop()
resetActions();
}
-void KFileReplacePart::slotCreateReport()
+void TDEFileReplacePart::slotCreateReport()
{
// Check there are results
TDEListView* rv = m_view->getResultsView(),
@@ -280,13 +280,13 @@ void KFileReplacePart::slotCreateReport()
//resetActions();
}
-void KFileReplacePart::slotStringsAdd()
+void TDEFileReplacePart::slotStringsAdd()
{
m_view->slotStringsAdd();
resetActions();
}
-void KFileReplacePart::slotQuickStringsAdd()
+void TDEFileReplacePart::slotQuickStringsAdd()
{
//this slot handles a pair of strings that come from project dialog,
//if the control character 'N' is found at the position 0 of the two strings,
@@ -318,33 +318,33 @@ void KFileReplacePart::slotQuickStringsAdd()
slotReplacingOperation();
}
-void KFileReplacePart::slotStringsDeleteItem()
+void TDEFileReplacePart::slotStringsDeleteItem()
{
m_view->slotStringsDeleteItem();
resetActions();
}
-void KFileReplacePart::slotStringsEmpty()
+void TDEFileReplacePart::slotStringsEmpty()
{
m_view->slotStringsEmpty();
resetActions();
}
-void KFileReplacePart::slotStringsEdit()
+void TDEFileReplacePart::slotStringsEdit()
{
m_view->slotStringsEdit();
resetActions();
}
-void KFileReplacePart::slotStringsSave()
+void TDEFileReplacePart::slotStringsSave()
{
m_view->slotStringsSave();
}
-void KFileReplacePart::slotStringsLoad()
+void TDEFileReplacePart::slotStringsLoad()
{
// Selects the file to load from
- TQString menu = "*.kfr|" + i18n("KFileReplace strings") + " (*.kfr)\n*|"+i18n("All Files") + " (*)";
+ TQString menu = "*.kfr|" + i18n("TDEFileReplace strings") + " (*.kfr)\n*|"+i18n("All Files") + " (*)";
TQString fileName = KFileDialog::getOpenFileName(TQString(), menu, m_w, i18n("Load Strings From File"));
if(!fileName.isEmpty())
@@ -353,19 +353,19 @@ void KFileReplacePart::slotStringsLoad()
resetActions();
}
-void KFileReplacePart::slotStringsInvertCur()
+void TDEFileReplacePart::slotStringsInvertCur()
{
m_view->stringsInvert(false);
resetActions();
}
-void KFileReplacePart::slotStringsInvertAll()
+void TDEFileReplacePart::slotStringsInvertAll()
{
m_view->stringsInvert(true);
resetActions();
}
-void KFileReplacePart::slotOpenRecentStringFile(const KURL& urlFile)
+void TDEFileReplacePart::slotOpenRecentStringFile(const KURL& urlFile)
{
TQString fileName;
@@ -386,37 +386,37 @@ void KFileReplacePart::slotOpenRecentStringFile(const KURL& urlFile)
resetActions();
}
-void KFileReplacePart::slotOptionRecursive()
+void TDEFileReplacePart::slotOptionRecursive()
{
m_option->m_recursive = !m_option->m_recursive;
resetActions();
}
-void KFileReplacePart::slotOptionBackup()
+void TDEFileReplacePart::slotOptionBackup()
{
m_option->m_backup = !m_option->m_backup;
resetActions();
}
-void KFileReplacePart::slotOptionCaseSensitive()
+void TDEFileReplacePart::slotOptionCaseSensitive()
{
m_option->m_caseSensitive = !m_option->m_caseSensitive;
resetActions();
}
-void KFileReplacePart::slotOptionVariables()
+void TDEFileReplacePart::slotOptionVariables()
{
m_option->m_variables = !m_option->m_variables;
resetActions();
}
-void KFileReplacePart::slotOptionRegularExpressions()
+void TDEFileReplacePart::slotOptionRegularExpressions()
{
m_option->m_regularExpressions = !m_option->m_regularExpressions;
resetActions();
}
-void KFileReplacePart::slotOptionPreferences()
+void TDEFileReplacePart::slotOptionPreferences()
{
KOptionsDlg dlg(m_option, m_w, 0);
@@ -429,7 +429,7 @@ void KFileReplacePart::slotOptionPreferences()
resetActions();
}
-void KFileReplacePart::showAboutApplication()
+void TDEFileReplacePart::showAboutApplication()
{
m_aboutDlg = new TDEAboutApplication(createAboutData(), (TQWidget *)0, (const char *)0, false);
if(m_aboutDlg == 0)
@@ -441,18 +441,18 @@ void KFileReplacePart::showAboutApplication()
m_aboutDlg->raise();
}
-void KFileReplacePart::appHelpActivated()
+void TDEFileReplacePart::appHelpActivated()
{
kapp->invokeHelp(TQString(), "tdefilereplace");
}
-void KFileReplacePart::reportBug()
+void TDEFileReplacePart::reportBug()
{
KBugReport dlg(m_w, true, createAboutData());
dlg.exec();
}
-void KFileReplacePart::resetActions()
+void TDEFileReplacePart::resetActions()
{
TDEListView* rv = m_view->getResultsView(),
* sv = m_view->getStringsView();
@@ -507,16 +507,16 @@ void KFileReplacePart::resetActions()
}
//PUBLIC METHODS
-TDEAboutData* KFileReplacePart::createAboutData()
+TDEAboutData* TDEFileReplacePart::createAboutData()
{
TDEAboutData * aboutData = new TDEAboutData("tdefilereplacepart",
- I18N_NOOP("KFileReplacePart"),
+ I18N_NOOP("TDEFileReplacePart"),
KFR_VERSION,
I18N_NOOP( "Batch search and replace tool."),
TDEAboutData::License_GPL_V2,
"(C) 1999-2002 Fran�is Dupoux\n(C) 2003-2004 Andras Mantia\n(C) 2004 Emiliano Gulmini", I18N_NOOP("Part of the KDEWebDev module."), "http://www.kdewebdev.org");
aboutData->addAuthor("Fran�is Dupoux",
- I18N_NOOP("Original author of the KFileReplace tool"),
+ I18N_NOOP("Original author of the TDEFileReplace tool"),
"dupoux@dupoux.com");
aboutData->addAuthor("Emiliano Gulmini",
I18N_NOOP("Current maintainer, code cleaner and rewriter"),
@@ -531,11 +531,11 @@ TDEAboutData* KFileReplacePart::createAboutData()
}
//PROTECTED METHODS
-bool KFileReplacePart::openURL(const KURL &url)
+bool TDEFileReplacePart::openURL(const KURL &url)
{
if(!url.isEmpty() && (url.protocol() != "file"))
{
- KMessageBox::sorry(m_w, i18n("Sorry, currently the KFileReplace part works only for local files."), i18n("Non Local File"));
+ KMessageBox::sorry(m_w, i18n("Sorry, currently the TDEFileReplace part works only for local files."), i18n("Non Local File"));
emit canceled("");
return false;
}
@@ -549,7 +549,7 @@ bool KFileReplacePart::openURL(const KURL &url)
}
//PRIVATE METHODS
-void KFileReplacePart::initGUI()
+void TDEFileReplacePart::initGUI()
{
setXMLFile("tdefilereplacepartui.rc");
@@ -592,7 +592,7 @@ void KFileReplacePart::initGUI()
(void)new TDEToggleAction(i18n("Case &Sensitive"), "casesensitive_option", 0, TQT_TQOBJECT(this), TQT_SLOT(slotOptionCaseSensitive()), actionCollection(), "options_case");
(void)new TDEToggleAction(i18n("Enable Commands &in Replace String: [$command:option$]"), "command_option", 0, TQT_TQOBJECT(this), TQT_SLOT(slotOptionVariables()), actionCollection(), "options_var");
(void)new TDEToggleAction(i18n("Enable &Regular Expressions"), "regularexpression_option", 0, TQT_TQOBJECT(this), TQT_SLOT(slotOptionRegularExpressions()), actionCollection(), "options_regularexpressions");
- (void)new TDEAction(i18n("Configure &KFileReplace..."), "configure", 0, TQT_TQOBJECT(this), TQT_SLOT(slotOptionPreferences()), actionCollection(), "configure_tdefilereplace");
+ (void)new TDEAction(i18n("Configure &TDEFileReplace..."), "configure", 0, TQT_TQOBJECT(this), TQT_SLOT(slotOptionPreferences()), actionCollection(), "configure_tdefilereplace");
// Results
(void)new TDEAction(i18n("&Properties"), "informations", 0, TQT_TQOBJECT(m_view), TQT_SLOT(slotResultProperties()), actionCollection(), "results_infos");
@@ -606,15 +606,15 @@ void KFileReplacePart::initGUI()
(void)new TDEAction(i18n("&Delete"), "editdelete", 0, TQT_TQOBJECT(m_view), TQT_SLOT(slotResultDelete()), actionCollection(), "results_delete");
(void)new TDEAction(i18n("E&xpand Tree"), 0, TQT_TQOBJECT(m_view), TQT_SLOT(slotResultTreeExpand()), actionCollection(), "results_treeexpand");
(void)new TDEAction(i18n("&Reduce Tree"), 0, TQT_TQOBJECT(m_view), TQT_SLOT(slotResultTreeReduce()), actionCollection(), "results_treereduce");
- (void)new TDEAction(i18n("&About KFileReplace"), "tdefilereplace", 0, TQT_TQOBJECT(this), TQT_SLOT(showAboutApplication()), actionCollection(), "help_about_tdefilereplace");
- (void)new TDEAction(i18n("KFileReplace &Handbook"), "help", 0, TQT_TQOBJECT(this), TQT_SLOT(appHelpActivated()), actionCollection(), "help_tdefilereplace");
+ (void)new TDEAction(i18n("&About TDEFileReplace"), "tdefilereplace", 0, TQT_TQOBJECT(this), TQT_SLOT(showAboutApplication()), actionCollection(), "help_about_tdefilereplace");
+ (void)new TDEAction(i18n("TDEFileReplace &Handbook"), "help", 0, TQT_TQOBJECT(this), TQT_SLOT(appHelpActivated()), actionCollection(), "help_tdefilereplace");
(void)new TDEAction(i18n("&Report Bug"), 0, 0, TQT_TQOBJECT(this), TQT_SLOT(reportBug()), actionCollection(), "report_bug");
}
-void KFileReplacePart::initView()
+void TDEFileReplacePart::initView()
{
- m_view = new KFileReplaceView(m_option, m_parentWidget, "view");
+ m_view = new TDEFileReplaceView(m_option, m_parentWidget, "view");
setWidget(m_view);
@@ -623,7 +623,7 @@ void KFileReplacePart::initView()
m_view->showSemaphore("green");
}
-void KFileReplacePart::freezeActions()
+void TDEFileReplacePart::freezeActions()
{
//Disables actions during search/replace operation
actionCollection()->action("new_project")->setEnabled(false);
@@ -661,7 +661,7 @@ void KFileReplacePart::freezeActions()
((TDEToggleAction* ) actionCollection()->action("options_regularexpressions"))->setChecked(false);
}
-void KFileReplacePart::loadOptionsFromRC()
+void TDEFileReplacePart::loadOptionsFromRC()
{
m_option = new RCOptions();
@@ -674,7 +674,7 @@ void KFileReplacePart::loadOptionsFromRC()
loadBackupExtensionOptions();
}
-void KFileReplacePart::loadOptions()
+void TDEFileReplacePart::loadOptions()
{
m_config->setGroup("General Options");
@@ -709,7 +709,7 @@ void KFileReplacePart::loadOptions()
m_option->m_askConfirmReplace = false;
}
-void KFileReplacePart::loadFileSizeOptions()
+void TDEFileReplacePart::loadFileSizeOptions()
{
m_config->setGroup("Size options");
@@ -717,7 +717,7 @@ void KFileReplacePart::loadFileSizeOptions()
m_option->m_maxSize = m_config->readNumEntry(rcMaxFileSize, FileSizeOption);
}
-void KFileReplacePart::loadDateAccessOptions()
+void TDEFileReplacePart::loadDateAccessOptions()
{
m_config->setGroup("Access options");
@@ -726,7 +726,7 @@ void KFileReplacePart::loadDateAccessOptions()
m_option->m_maxDate = m_config->readEntry(rcMaxDate, AccessDateOption);
}
-void KFileReplacePart::loadOwnerOptions()
+void TDEFileReplacePart::loadOwnerOptions()
{
m_config->setGroup("Owner options");
@@ -752,7 +752,7 @@ void KFileReplacePart::loadOwnerOptions()
m_option->m_ownerGroupValue = ownerList[3];
}
-void KFileReplacePart::loadLocationsList()
+void TDEFileReplacePart::loadLocationsList()
{
m_config->setGroup("Directories");
TQStringList locationsEntryList;
@@ -768,7 +768,7 @@ void KFileReplacePart::loadLocationsList()
m_option->m_directories = locationsEntryList;
}
-void KFileReplacePart::loadFiltersList()
+void TDEFileReplacePart::loadFiltersList()
{
TQStringList filtersEntryList;
@@ -785,7 +785,7 @@ void KFileReplacePart::loadFiltersList()
m_option->m_filters = filtersEntryList;
}
-void KFileReplacePart::loadBackupExtensionOptions()
+void TDEFileReplacePart::loadBackupExtensionOptions()
{
m_config->setGroup("Options");
TQStringList bkList = TQStringList::split(',',
@@ -799,7 +799,7 @@ void KFileReplacePart::loadBackupExtensionOptions()
m_option->m_backupExtension = bkList[1];
}
-void KFileReplacePart::saveOptionsToRC()
+void TDEFileReplacePart::saveOptionsToRC()
{
saveOptions();
saveFileSizeOptions();
@@ -810,7 +810,7 @@ void KFileReplacePart::saveOptionsToRC()
saveBackupExtensionOptions();
}
-void KFileReplacePart::saveOptions()
+void TDEFileReplacePart::saveOptions()
{
m_config->setGroup("General Options");
@@ -841,7 +841,7 @@ void KFileReplacePart::saveOptions()
m_config->sync();
}
-void KFileReplacePart::saveFileSizeOptions()
+void TDEFileReplacePart::saveFileSizeOptions()
{
m_config->setGroup("Size options");
@@ -851,7 +851,7 @@ void KFileReplacePart::saveFileSizeOptions()
m_config->sync();
}
-void KFileReplacePart::saveDateAccessOptions()
+void TDEFileReplacePart::saveDateAccessOptions()
{
m_config->setGroup("Access options");
@@ -862,7 +862,7 @@ void KFileReplacePart::saveDateAccessOptions()
m_config->sync();
}
-void KFileReplacePart::saveOwnerOptions()
+void TDEFileReplacePart::saveOwnerOptions()
{
m_config->setGroup("Owner options");
@@ -895,7 +895,7 @@ void KFileReplacePart::saveOwnerOptions()
m_config->sync();
}
-void KFileReplacePart::saveLocationsList()
+void TDEFileReplacePart::saveLocationsList()
{
m_config->setGroup("Directories");
#if KDE_IS_VERSION(3,1,3)
@@ -906,14 +906,14 @@ void KFileReplacePart::saveLocationsList()
m_config->sync();
}
-void KFileReplacePart::saveFiltersList()
+void TDEFileReplacePart::saveFiltersList()
{
m_config->setGroup("Filters");
m_config->writeEntry(rcFiltersList, m_option->m_filters);
m_config->sync();
}
-void KFileReplacePart::saveBackupExtensionOptions()
+void TDEFileReplacePart::saveBackupExtensionOptions()
{
m_config->setGroup("Options");
TQString bkOptions;
@@ -926,7 +926,7 @@ void KFileReplacePart::saveBackupExtensionOptions()
m_config->sync();
}
-void KFileReplacePart::fileReplace()
+void TDEFileReplacePart::fileReplace()
{
TQString directoryName = m_option->m_directories[0];
TQDir d(directoryName);
@@ -949,7 +949,7 @@ void KFileReplacePart::fileReplace()
break;
// Avoids files that not match requirements
- if(!KFileReplaceLib::isAnAccessibleFile(d.canonicalPath(), fileName, m_option))
+ if(!TDEFileReplaceLib::isAnAccessibleFile(d.canonicalPath(), fileName, m_option))
continue;
kapp->processEvents();
if(m_option->m_backup)
@@ -962,7 +962,7 @@ void KFileReplacePart::fileReplace()
}
}
-void KFileReplacePart::recursiveFileReplace(const TQString& directoryName, int& filesNumber)
+void TDEFileReplacePart::recursiveFileReplace(const TQString& directoryName, int& filesNumber)
{
//if m_stop == true then interrupts recursion
if(m_stop)
@@ -987,7 +987,7 @@ void KFileReplacePart::recursiveFileReplace(const TQString& directoryName, int&
TQString fileName = (*filesIt);
// Avoids files that not match requirements
- if(!KFileReplaceLib::isAnAccessibleFile(d.canonicalPath(),fileName, m_option))
+ if(!TDEFileReplaceLib::isAnAccessibleFile(d.canonicalPath(),fileName, m_option))
continue;
TQString filePath = d.canonicalPath()+"/"+fileName;
@@ -1014,7 +1014,7 @@ void KFileReplacePart::recursiveFileReplace(const TQString& directoryName, int&
}
}
-void KFileReplacePart::replaceAndBackup(const TQString& currentDir, const TQString& oldFileName)
+void TDEFileReplacePart::replaceAndBackup(const TQString& currentDir, const TQString& oldFileName)
{
//Creates a path string
TQString oldPathString = currentDir+"/"+oldFileName;
@@ -1033,7 +1033,7 @@ void KFileReplacePart::replaceAndBackup(const TQString& currentDir, const TQStri
TQString line = currentStream.read(),
backupLine = line;
- TQString backupSize = KFileReplaceLib::formatFileSize(currentFile.size());
+ TQString backupSize = TDEFileReplaceLib::formatFileSize(currentFile.size());
currentFile.close();
@@ -1081,10 +1081,10 @@ void KFileReplacePart::replaceAndBackup(const TQString& currentDir, const TQStri
if(atLeastOneStringFound && item/* && atLeastOneStringConfirmed*/)
{
- KFileReplaceLib::setIconForFileEntry(item,currentDir+"/"+oldFileName);
+ TDEFileReplaceLib::setIconForFileEntry(item,currentDir+"/"+oldFileName);
item->setText(0,oldFileName);
item->setText(1,currentDir);
- TQString newSize = KFileReplaceLib::formatFileSize(oldFileInfo.size());
+ TQString newSize = TDEFileReplaceLib::formatFileSize(oldFileInfo.size());
if(!m_option->m_simulation)
{
item->setText(2, backupSize);
@@ -1102,7 +1102,7 @@ void KFileReplacePart::replaceAndBackup(const TQString& currentDir, const TQStri
}
}
-void KFileReplacePart::replaceAndOverwrite(const TQString& currentDir, const TQString& oldFileName)
+void TDEFileReplacePart::replaceAndOverwrite(const TQString& currentDir, const TQString& oldFileName)
{
TQString oldPathString = currentDir+"/"+oldFileName;
TQFile oldFile(oldPathString);
@@ -1114,7 +1114,7 @@ void KFileReplacePart::replaceAndOverwrite(const TQString& currentDir, const TQS
return ;
}
- TQString fileSizeBeforeReplacing = KFileReplaceLib::formatFileSize(oldFileInfo.size());
+ TQString fileSizeBeforeReplacing = TDEFileReplaceLib::formatFileSize(oldFileInfo.size());
TDEListViewItem *item = 0;
TQTextStream oldStream( &oldFile );
@@ -1153,7 +1153,7 @@ void KFileReplacePart::replaceAndOverwrite(const TQString& currentDir, const TQS
}
TQFileInfo nf(oldPathString);
- TQString fileSizeAfterReplacing = KFileReplaceLib::formatFileSize(nf.size());
+ TQString fileSizeAfterReplacing = TDEFileReplaceLib::formatFileSize(nf.size());
//if ignoreFiles == false then every files must be show
if(!m_option->m_ignoreFiles)
@@ -1161,7 +1161,7 @@ void KFileReplacePart::replaceAndOverwrite(const TQString& currentDir, const TQS
if(atLeastOneStringFound && item/*&& atLeastOneStringConfirmed*/)
{
- KFileReplaceLib::setIconForFileEntry(item,currentDir+"/"+oldFileName);
+ TDEFileReplaceLib::setIconForFileEntry(item,currentDir+"/"+oldFileName);
item->setText(0,oldFileName);
item->setText(1,currentDir);
item->setText(2,fileSizeBeforeReplacing);
@@ -1176,7 +1176,7 @@ void KFileReplacePart::replaceAndOverwrite(const TQString& currentDir, const TQS
}
}
-void KFileReplacePart::replacingLoop(TQString& line, TDEListViewItem** item, bool& atLeastOneStringFound, int& occur, bool regularExpression, bool& askConfirmReplace)
+void TDEFileReplacePart::replacingLoop(TQString& line, TDEListViewItem** item, bool& atLeastOneStringFound, int& occur, bool regularExpression, bool& askConfirmReplace)
{
KeyValueMap tempMap = m_replacementMap;
KeyValueMap::Iterator it;
@@ -1244,7 +1244,7 @@ void KFileReplacePart::replacingLoop(TQString& line, TDEListViewItem** item, boo
}
}
-void KFileReplacePart::fileSearch(const TQString& directoryName, const TQString& filters)
+void TDEFileReplacePart::fileSearch(const TQString& directoryName, const TQString& filters)
{
TQDir d(directoryName);
@@ -1267,7 +1267,7 @@ void KFileReplacePart::fileSearch(const TQString& directoryName, const TQString&
TQString fileName = (*filesIt);
// Avoids files that not match
- if(!KFileReplaceLib::isAnAccessibleFile(filePath, fileName, m_option))
+ if(!TDEFileReplaceLib::isAnAccessibleFile(filePath, fileName, m_option))
continue;
TQFileInfo fileInfo(filePath+"/"+fileName);
@@ -1280,7 +1280,7 @@ void KFileReplacePart::fileSearch(const TQString& directoryName, const TQString&
}
}
-void KFileReplacePart::recursiveFileSearch(const TQString& directoryName, const TQString& filters, uint& filesNumber)
+void TDEFileReplacePart::recursiveFileSearch(const TQString& directoryName, const TQString& filters, uint& filesNumber)
{
// if m_stop == true then interrupt recursion
if(m_stop)
@@ -1304,7 +1304,7 @@ void KFileReplacePart::recursiveFileSearch(const TQString& directoryName, const
TQString fileName = (*filesIt);
// Avoids files that not match
- if(!KFileReplaceLib::isAnAccessibleFile(filePath, fileName, m_option))
+ if(!TDEFileReplaceLib::isAnAccessibleFile(filePath, fileName, m_option))
continue;
// Composes file path string
@@ -1326,7 +1326,7 @@ void KFileReplacePart::recursiveFileSearch(const TQString& directoryName, const
}
}
-void KFileReplacePart::search(const TQString& currentDir, const TQString& fileName)
+void TDEFileReplacePart::search(const TQString& currentDir, const TQString& fileName)
{
TQFile file(currentDir+"/"+fileName);
@@ -1470,17 +1470,17 @@ void KFileReplacePart::search(const TQString& currentDir, const TQString& fileNa
if(atLeastOneStringFound && item)
{
- KFileReplaceLib::setIconForFileEntry(item,currentDir+"/"+fileName);
+ TDEFileReplaceLib::setIconForFileEntry(item,currentDir+"/"+fileName);
item->setText(0,fileName);
item->setText(1,currentDir);
- item->setText(2,KFileReplaceLib::formatFileSize(fileInfo.size()));
+ item->setText(2,TDEFileReplaceLib::formatFileSize(fileInfo.size()));
item->setText(3,TQString::number(occurrence,10));
item->setText(4,TQString("%1[%2]").arg(fileInfo.owner()).arg(fileInfo.ownerId()));
item->setText(5,TQString("%1[%2]").arg(fileInfo.group()).arg(fileInfo.groupId()));
}
}
-void KFileReplacePart::loadViewContent()
+void TDEFileReplacePart::loadViewContent()
{
/* Maps the content of the strings view to a TQMap */
KeyValueMap tempMap;
@@ -1499,7 +1499,7 @@ void KFileReplacePart::loadViewContent()
m_replacementMap = tempMap;
}
-void KFileReplacePart::loadRulesFile(const TQString& fileName)
+void TDEFileReplacePart::loadRulesFile(const TQString& fileName)
{
/* Loads a file with kfr extension.
* creates a xml document and browses it*/
@@ -1519,7 +1519,7 @@ void KFileReplacePart::loadRulesFile(const TQString& fileName)
KMessageBox::information(m_w, i18n("<qt>File <b>%1</b> seems not to be written in new kfr format. Remember that the old kfr format will be soon abandoned. You can convert your old rules files by simply saving them with tdefilereplace.</qt>").arg(fileName),i18n("Warning"));
- KFileReplaceLib::convertOldToNewKFRFormat(fileName, sv);
+ TDEFileReplaceLib::convertOldToNewKFRFormat(fileName, sv);
return;
}
@@ -1583,7 +1583,7 @@ void KFileReplacePart::loadRulesFile(const TQString& fileName)
//resetActions();
}
-bool KFileReplacePart::launchNewProjectDialog(const KURL & startURL)
+bool TDEFileReplacePart::launchNewProjectDialog(const KURL & startURL)
{
if(!startURL.isEmpty())
m_option->m_directories.prepend(startURL.path());
@@ -1607,7 +1607,7 @@ bool KFileReplacePart::launchNewProjectDialog(const KURL & startURL)
return true;
}
-void KFileReplacePart::setOptionMask()
+void TDEFileReplacePart::setOptionMask()
{
m_optionMask |= TQDir::Dirs;
@@ -1618,7 +1618,7 @@ void KFileReplacePart::setOptionMask()
m_optionMask |= TQDir::NoSymLinks;
}
-bool KFileReplacePart::checkBeforeOperation()
+bool TDEFileReplacePart::checkBeforeOperation()
{
loadViewContent();
TDEListView* sv = m_view->getStringsView();
@@ -1657,7 +1657,7 @@ bool KFileReplacePart::checkBeforeOperation()
return true;
}
-bool KFileReplacePart::dontAskAgain()
+bool TDEFileReplacePart::dontAskAgain()
{
m_config->setGroup("Notification Messages");
TQString dontAskAgain = m_config->readEntry(rcDontAskAgain, "no");
@@ -1667,7 +1667,7 @@ bool KFileReplacePart::dontAskAgain()
return false;
}
-void KFileReplacePart::whatsThis()
+void TDEFileReplacePart::whatsThis()
{
actionCollection()->action("options_backup")->setWhatsThis(optionsBackupWhatthis);
actionCollection()->action("options_case")->setWhatsThis(optionsCaseWhatthis);
diff --git a/tdefilereplace/tdefilereplacepart.desktop b/tdefilereplace/tdefilereplacepart.desktop
index de5ba1ee..baf3db8e 100644
--- a/tdefilereplace/tdefilereplacepart.desktop
+++ b/tdefilereplace/tdefilereplacepart.desktop
@@ -45,7 +45,7 @@ Comment[uk]=Засіб пакетного пошуку та заміни
Comment[zh_CN]=批量搜索替换工具
Comment[zh_HK]=批次搜尋及取代工具
Comment[zh_TW]=批次搜尋及取代工具
-Name=KFileReplace
+Name=TDEFileReplace
Name[hi]=के-फ़ाइल-रिप्लेस
Name[ne]=बदल्ने केडीई फाइल
Name[pa]=ਕੇ-ਫਾਇਲ-ਬਦਲੋ
@@ -59,7 +59,7 @@ GenericName[bg]=Преглед на файловете за замяна
GenericName[ca]=Vista per a substituir fitxers
GenericName[cs]=Nahrazení souborů
GenericName[da]=Filerstatningsvisning
-GenericName[de]=KFileReplace
+GenericName[de]=TDEFileReplace
GenericName[el]=Προβολή αντικατάστασης αρχείου
GenericName[es]=Vista de reemplazo de archivo
GenericName[et]=Failide asendamise vaade
diff --git a/tdefilereplace/tdefilereplacepart.h b/tdefilereplace/tdefilereplacepart.h
index 4ab3ab3b..0ca917e0 100644
--- a/tdefilereplace/tdefilereplacepart.h
+++ b/tdefilereplace/tdefilereplacepart.h
@@ -25,17 +25,17 @@ class TDEConfig;
// local
#include "configurationclasses.h"
-class KFileReplaceView;
+class TDEFileReplaceView;
#define KFR_VERSION "0.8.1"
-class KFileReplacePart: public KParts::ReadOnlyPart
+class TDEFileReplacePart: public KParts::ReadOnlyPart
{
Q_OBJECT
private: //MEMBERS
- KFileReplaceView* m_view;
+ TDEFileReplaceView* m_view;
TQWidget* m_parentWidget,
* m_w;
TDEConfig* m_config;
@@ -47,12 +47,12 @@ class KFileReplacePart: public KParts::ReadOnlyPart
int m_optionMask;
public://Constructors
- KFileReplacePart(TQWidget *parentWidget,
+ TDEFileReplacePart(TQWidget *parentWidget,
const char *widgetName,
TQObject *parent,
const char *name,
const TQStringList &args);
- ~KFileReplacePart();
+ ~TDEFileReplacePart();
//SLOTS
private slots:
@@ -157,4 +157,4 @@ class KFileReplacePart: public KParts::ReadOnlyPart
void whatsThis();
};
-#endif// KFileReplacePart
+#endif// TDEFileReplacePart
diff --git a/tdefilereplace/tdefilereplacepartui.rc b/tdefilereplace/tdefilereplacepartui.rc
index 797809c6..e9461446 100644
--- a/tdefilereplace/tdefilereplacepartui.rc
+++ b/tdefilereplace/tdefilereplacepartui.rc
@@ -52,7 +52,7 @@
</Menu>
</MenuBar>
<ToolBar noMerge="1" name="mainToolBar">
-<text>KFileReplace Main Toolbar</text>
+<text>TDEFileReplace Main Toolbar</text>
<Action name="new_project" />
<Action name="search"/>
<Action name="file_simulate"/>
diff --git a/tdefilereplace/tdefilereplaceview.cpp b/tdefilereplace/tdefilereplaceview.cpp
index 1d60f3d5..44aad1fd 100644
--- a/tdefilereplace/tdefilereplaceview.cpp
+++ b/tdefilereplace/tdefilereplaceview.cpp
@@ -43,7 +43,7 @@
using namespace whatthisNameSpace;
-KFileReplaceView::KFileReplaceView(RCOptions* info, TQWidget *parent,const char *name):KFileReplaceViewWdg(parent,name)
+TDEFileReplaceView::TDEFileReplaceView(RCOptions* info, TQWidget *parent,const char *name):TDEFileReplaceViewWdg(parent,name)
{
m_option = info;
@@ -58,7 +58,7 @@ KFileReplaceView::KFileReplaceView(RCOptions* info, TQWidget *parent,const char
whatsThis();
}
-TQString KFileReplaceView::currentPath()
+TQString TDEFileReplaceView::currentPath()
{
TQListViewItem *lvi;
@@ -71,7 +71,7 @@ TQString KFileReplaceView::currentPath()
return TQString(lvi->text(1)+"/"+lvi->text(0));
}
-void KFileReplaceView::showSemaphore(TQString s)
+void TDEFileReplaceView::showSemaphore(TQString s)
{
if(s == "green")
{
@@ -95,7 +95,7 @@ void KFileReplaceView::showSemaphore(TQString s)
}
}
-void KFileReplaceView::stringsInvert(bool invertAll)
+void TDEFileReplaceView::stringsInvert(bool invertAll)
{
TQListViewItem* lviCurItem,
* lviFirst;
@@ -131,7 +131,7 @@ void KFileReplaceView::stringsInvert(bool invertAll)
setCurrentStringsViewMap();
}
-void KFileReplaceView::changeView(bool searchingOnlyMode)
+void TDEFileReplaceView::changeView(bool searchingOnlyMode)
{
if(searchingOnlyMode)
{
@@ -149,7 +149,7 @@ void KFileReplaceView::changeView(bool searchingOnlyMode)
}
}
-TDEListView* KFileReplaceView::getResultsView()
+TDEListView* TDEFileReplaceView::getResultsView()
{
if(m_option->m_searchingOnlyMode)
m_rv = m_lvResults_2;
@@ -159,7 +159,7 @@ TDEListView* KFileReplaceView::getResultsView()
return m_rv;
}
-TDEListView* KFileReplaceView::getStringsView()
+TDEListView* TDEFileReplaceView::getStringsView()
{
if(m_option->m_searchingOnlyMode)
m_sv = m_lvStrings_2;
@@ -169,7 +169,7 @@ TDEListView* KFileReplaceView::getStringsView()
}
//PUBLIC SLOTS
-void KFileReplaceView::slotMouseButtonClicked (int button, TQListViewItem *lvi, const TQPoint &pos)
+void TDEFileReplaceView::slotMouseButtonClicked (int button, TQListViewItem *lvi, const TQPoint &pos)
{
if (lvi == 0) // No item selected
return;
@@ -182,7 +182,7 @@ void KFileReplaceView::slotMouseButtonClicked (int button, TQListViewItem *lvi,
}
}
-void KFileReplaceView::slotResultProperties()
+void TDEFileReplaceView::slotResultProperties()
{
TQString currItem = currentPath();
if(! currItem.isEmpty())
@@ -193,7 +193,7 @@ void KFileReplaceView::slotResultProperties()
}
}
-void KFileReplaceView::slotResultOpen()
+void TDEFileReplaceView::slotResultOpen()
{
TQString currItem = currentPath();
if(!currItem.isEmpty())
@@ -203,7 +203,7 @@ void KFileReplaceView::slotResultOpen()
}
}
-void KFileReplaceView::slotResultOpenWith()
+void TDEFileReplaceView::slotResultOpenWith()
{
TQString currItem = currentPath();
if(!currItem.isEmpty())
@@ -215,7 +215,7 @@ void KFileReplaceView::slotResultOpenWith()
}
}
-void KFileReplaceView::slotResultDirOpen()
+void TDEFileReplaceView::slotResultDirOpen()
{
TQString currItem = currentPath();
if(!currItem.isEmpty())
@@ -227,7 +227,7 @@ void KFileReplaceView::slotResultDirOpen()
}
}
-void KFileReplaceView::slotResultEdit()
+void TDEFileReplaceView::slotResultEdit()
{
TQListViewItem *lvi = m_rv->firstChild();
@@ -272,7 +272,7 @@ void KFileReplaceView::slotResultEdit()
m_lviCurrent = 0;
}
-void KFileReplaceView::slotResultDelete()
+void TDEFileReplaceView::slotResultDelete()
{
TQString currItem = currentPath();
if (!currItem.isEmpty())
@@ -292,7 +292,7 @@ void KFileReplaceView::slotResultDelete()
}
}
-void KFileReplaceView::slotResultTreeExpand()
+void TDEFileReplaceView::slotResultTreeExpand()
{
TQListViewItem *lviRoot = getResultsView()->firstChild();
@@ -300,7 +300,7 @@ void KFileReplaceView::slotResultTreeExpand()
expand(lviRoot, true);
}
-void KFileReplaceView::slotResultTreeReduce()
+void TDEFileReplaceView::slotResultTreeReduce()
{
TQListViewItem *lviRoot = getResultsView()->firstChild();
@@ -308,7 +308,7 @@ void KFileReplaceView::slotResultTreeReduce()
expand(lviRoot, false);
}
-void KFileReplaceView::slotStringsAdd()
+void TDEFileReplaceView::slotStringsAdd()
{
KeyValueMap oldMap(m_option->m_mapStringsView);
@@ -331,7 +331,7 @@ void KFileReplaceView::slotStringsAdd()
loadMapIntoView(addedStringsMap);
}
-void KFileReplaceView::slotQuickStringsAdd(const TQString& quickSearch, const TQString& quickReplace)
+void TDEFileReplaceView::slotQuickStringsAdd(const TQString& quickSearch, const TQString& quickReplace)
{
if(!quickSearch.isEmpty())
{
@@ -356,7 +356,7 @@ void KFileReplaceView::slotQuickStringsAdd(const TQString& quickSearch, const TQ
}
}
-void KFileReplaceView::slotStringsEdit()
+void TDEFileReplaceView::slotStringsEdit()
{
KeyValueMap oldMap(m_option->m_mapStringsView);
if(oldMap.isEmpty()) return;
@@ -391,7 +391,7 @@ void KFileReplaceView::slotStringsEdit()
loadMapIntoView(newMap);
}
-void KFileReplaceView::slotStringsSave()
+void TDEFileReplaceView::slotStringsSave()
{
// Check there are strings in the list
TDEListView* sv = getStringsView();
@@ -422,14 +422,14 @@ void KFileReplaceView::slotStringsSave()
}
// Selects the file where strings will be saved
- TQString menu = "*.kfr|" + i18n("KFileReplace Strings") + " (*.kfr)\n*|" + i18n("All Files") + " (*)";
+ TQString menu = "*.kfr|" + i18n("TDEFileReplace Strings") + " (*.kfr)\n*|" + i18n("All Files") + " (*)";
TQString fileName = KFileDialog::getSaveFileName(TQString(), menu, 0, i18n("Save Strings to File"));
if (fileName.isEmpty())
return;
- // Forces the extension to be "kfr" == KFileReplace extension
+ // Forces the extension to be "kfr" == TDEFileReplace extension
- fileName = KFileReplaceLib::addExtension(fileName, "kfr");
+ fileName = TDEFileReplaceLib::addExtension(fileName, "kfr");
TQFile file( fileName );
if(!file.open( IO_WriteOnly ))
@@ -445,7 +445,7 @@ void KFileReplaceView::slotStringsSave()
file.close();
}
-void KFileReplaceView::slotStringsDeleteItem()
+void TDEFileReplaceView::slotStringsDeleteItem()
{
TQListViewItem* item = m_sv->currentItem();
if(item != 0)
@@ -457,7 +457,7 @@ void KFileReplaceView::slotStringsDeleteItem()
}
}
-void KFileReplaceView::slotStringsEmpty()
+void TDEFileReplaceView::slotStringsEmpty()
{
TQListViewItem * myChild = m_sv->firstChild();
while( myChild )
@@ -471,7 +471,7 @@ void KFileReplaceView::slotStringsEmpty()
}
//PRIVATE
-void KFileReplaceView::initGUI()
+void TDEFileReplaceView::initGUI()
{
m_option->m_searchingOnlyMode = true;
@@ -534,7 +534,7 @@ void KFileReplaceView::initGUI()
raiseStringsView();
}
-void KFileReplaceView::raiseStringsView()
+void TDEFileReplaceView::raiseStringsView()
{
if(m_option->m_searchingOnlyMode)
m_sv = m_lvStrings_2;
@@ -544,7 +544,7 @@ void KFileReplaceView::raiseStringsView()
m_stackStrings->raiseWidget(m_sv);
}
-void KFileReplaceView::raiseResultsView()
+void TDEFileReplaceView::raiseResultsView()
{
if(m_option->m_searchingOnlyMode)
m_rv = m_lvResults_2;
@@ -554,7 +554,7 @@ void KFileReplaceView::raiseResultsView()
m_stackResults->raiseWidget(m_rv);
}
-coord KFileReplaceView::extractWordCoordinates(TQListViewItem* lvi)
+coord TDEFileReplaceView::extractWordCoordinates(TQListViewItem* lvi)
{
//get coordinates of the first string of the current selected file
coord c;
@@ -618,7 +618,7 @@ coord KFileReplaceView::extractWordCoordinates(TQListViewItem* lvi)
return c;
}
-void KFileReplaceView::expand(TQListViewItem *lviCurrent, bool b)
+void TDEFileReplaceView::expand(TQListViewItem *lviCurrent, bool b)
{
// current item
lviCurrent->setOpen(b);
@@ -633,7 +633,7 @@ void KFileReplaceView::expand(TQListViewItem *lviCurrent, bool b)
}
}
-void KFileReplaceView::setMap()
+void TDEFileReplaceView::setMap()
{
KeyValueMap map;
TQListViewItem* i = m_sv->firstChild();
@@ -648,7 +648,7 @@ void KFileReplaceView::setMap()
m_option->m_mapStringsView = map;
}
-void KFileReplaceView::loadMapIntoView(KeyValueMap map)
+void TDEFileReplaceView::loadMapIntoView(KeyValueMap map)
{
m_sv->clear();
KeyValueMap::Iterator itMap;
@@ -664,7 +664,7 @@ void KFileReplaceView::loadMapIntoView(KeyValueMap map)
}
-void KFileReplaceView::whatsThis()
+void TDEFileReplaceView::whatsThis()
{
TQWhatsThis::add(getResultsView(), lvResultWhatthis);
TQWhatsThis::add(getStringsView(), lvStringsWhatthis);
diff --git a/tdefilereplace/tdefilereplaceview.h b/tdefilereplace/tdefilereplaceview.h
index bac91dcb..cf738964 100644
--- a/tdefilereplace/tdefilereplaceview.h
+++ b/tdefilereplace/tdefilereplaceview.h
@@ -54,7 +54,7 @@ class coord
/**
* The view of KFilereplace.
*/
-class KFileReplaceView : public KFileReplaceViewWdg
+class TDEFileReplaceView : public TDEFileReplaceViewWdg
{
Q_OBJECT
@@ -66,7 +66,7 @@ class KFileReplaceView : public KFileReplaceViewWdg
* m_sv;
public://Constructors
- KFileReplaceView(RCOptions* info, TQWidget *parent,const char *name);
+ TDEFileReplaceView(RCOptions* info, TQWidget *parent,const char *name);
public:
TQString currentPath();
diff --git a/tdefilereplace/tdefilereplaceviewwdg.ui b/tdefilereplace/tdefilereplaceviewwdg.ui
index e823993b..f7aaf87e 100644
--- a/tdefilereplace/tdefilereplaceviewwdg.ui
+++ b/tdefilereplace/tdefilereplaceviewwdg.ui
@@ -1,8 +1,8 @@
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
-<class>KFileReplaceViewWdg</class>
+<class>TDEFileReplaceViewWdg</class>
<widget class="TQWidget">
<property name="name">
- <cstring>KFileReplaceViewWdg</cstring>
+ <cstring>TDEFileReplaceViewWdg</cstring>
</property>
<property name="geometry">
<rect>
diff --git a/tdefilereplace/whatthis.h b/tdefilereplace/whatthis.h
index cf05cc00..05395373 100644
--- a/tdefilereplace/whatthis.h
+++ b/tdefilereplace/whatthis.h
@@ -25,7 +25,7 @@
namespace whatthisNameSpace
{
- //KFileReplaceView messages
+ //TDEFileReplaceView messages
const TQString lvResultWhatthis = i18n("Shows the statistics of your operations. Note that the columns content changes depending on what kind of operation you are performing.");
const TQString lvStringsWhatthis = i18n("Shows a list of strings to search for (and if you specified it, a list of strings to replace with). Use the \"add strings\" dialog to edit your string list or double click on a string.");
@@ -76,7 +76,7 @@ namespace whatthisNameSpace
const TQString chbConfirmStringsWhatthis = i18n("Enable this option if you want to be asked for single string replacement confirmation.");
- //KFileReplacePart
+ //TDEFileReplacePart
const TQString fileSimulateWhatthis = i18n("Enable this option to perform replacing as a simulation, i.e. without make any changes in files.");
const TQString optionsRegularExpressionsWhatthis = chbRegularExpressionsWhatthis;