Rename a number of libraries and executables to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent a32b928478
commit ef2264e979

@ -51,7 +51,7 @@ tde_setup_paths( )
##### user requested modules #################### ##### user requested modules ####################
option( BUILD_ALL "Build all" OFF ) option( BUILD_ALL "Build all" OFF )
option( BUILD_KFILEREPLACE "Build kfilereplace" ${BUILD_ALL} ) option( BUILD_KFILEREPLACE "Build tdefilereplace" ${BUILD_ALL} )
option( BUILD_QUANTA "Build quanta" ${BUILD_ALL} ) option( BUILD_QUANTA "Build quanta" ${BUILD_ALL} )
@ -78,7 +78,7 @@ if( BUILD_QUANTA )
add_subdirectory( lib ) add_subdirectory( lib )
endif( ) endif( )
tde_conditional_add_subdirectory( BUILD_KFILEREPLACE kfilereplace ) tde_conditional_add_subdirectory( BUILD_KFILEREPLACE tdefilereplace )
tde_conditional_add_subdirectory( BUILD_QUANTA quanta ) tde_conditional_add_subdirectory( BUILD_QUANTA quanta )

@ -210,7 +210,7 @@ This application lacks flexibility. Sorry, we will do better next time.
</sect1> </sect1>
<!-- <sect1 id="kfilereplace-3-2"> <!-- <sect1 id="tdefilereplace-3-2">
<title>KFileReplace</title> <title>KFileReplace</title>
<para> <para>

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Before

Width:  |  Height:  |  Size: 979 B

After

Width:  |  Height:  |  Size: 979 B

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 820 B

After

Width:  |  Height:  |  Size: 820 B

Before

Width:  |  Height:  |  Size: 713 B

After

Width:  |  Height:  |  Size: 713 B

Before

Width:  |  Height:  |  Size: 339 B

After

Width:  |  Height:  |  Size: 339 B

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

@ -1,7 +1,7 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [ <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
<!ENTITY kfilereplace "<application>KFileReplace</application>"> <!ENTITY tdefilereplace "<application>KFileReplace</application>">
<!ENTITY kappname "&kfilereplace;"> <!ENTITY kappname "&tdefilereplace;">
<!ENTITY package "tdewebdev"> <!ENTITY package "tdewebdev">
<!ENTITY % addindex "IGNORE"> <!ENTITY % addindex "IGNORE">
<!ENTITY % English "INCLUDE"> <!ENTITY % English "INCLUDE">
@ -12,7 +12,7 @@
<book lang="&language;"> <book lang="&language;">
<bookinfo> <bookinfo>
<title>The &kfilereplace; Handbook</title> <title>The &tdefilereplace; Handbook</title>
<authorgroup> <authorgroup>
<author> <author>
@ -41,7 +41,7 @@
<abstract> <abstract>
<para> <para>
&kfilereplace; is an utility to search and replace strings. &tdefilereplace; is an utility to search and replace strings.
</para> </para>
</abstract> </abstract>
@ -57,34 +57,34 @@
<chapter id="introduction"> <chapter id="introduction">
<title>Introduction</title> <title>Introduction</title>
<para>&kfilereplace; is an application used to search and replace a list of strings in a file tree. The strings may be literal or Qt-like regular expressions. There are also other options to tune your search. <para>&tdefilereplace; is an application used to search and replace a list of strings in a file tree. The strings may be literal or Qt-like regular expressions. There are also other options to tune your search.
</para> </para>
</chapter> </chapter>
<chapter id="using-kfilereplace"> <chapter id="using-tdefilereplace">
<title>Using &kfilereplace;</title> <title>Using &tdefilereplace;</title>
<para> <para>
<screenshot> <screenshot>
<screeninfo>&kfilereplace; in its standalone incarnation</screeninfo> <screeninfo>&tdefilereplace; in its standalone incarnation</screeninfo>
<mediaobject> <mediaobject>
<imageobject> <imageobject>
<imagedata fileref="kfr_standalone_main_window_1.png" format="PNG"/> <imagedata fileref="kfr_standalone_main_window_1.png" format="PNG"/>
</imageobject> </imageobject>
<textobject> <textobject>
<phrase>&kfilereplace; in its standalone incarnation</phrase> <phrase>&tdefilereplace; in its standalone incarnation</phrase>
</textobject> </textobject>
</mediaobject> </mediaobject>
</screenshot> </screenshot>
</para> </para>
<sect1 id="kfilereplace-the-toolbar"> <sect1 id="tdefilereplace-the-toolbar">
<title>The Toolbar</title> <title>The Toolbar</title>
<para>The &kfilereplace; toolbar should looks like this: <para>The &tdefilereplace; toolbar should looks like this:
<screenshot> <screenshot>
<screeninfo>&kfilereplace;'s toolbar</screeninfo> <screeninfo>&tdefilereplace;'s toolbar</screeninfo>
<mediaobject> <mediaobject>
<imageobject> <imageobject>
<imagedata fileref="toolbar.png" format="PNG"/> <imagedata fileref="toolbar.png" format="PNG"/>
@ -93,7 +93,7 @@
<imagedata fileref="toolbar.eps" format="EPS"/> <imagedata fileref="toolbar.eps" format="EPS"/>
</imageobject> </imageobject>
<textobject> <textobject>
<phrase>&kfilereplace;'s toolbar</phrase> <phrase>&tdefilereplace;'s toolbar</phrase>
</textobject> </textobject>
</mediaobject> </mediaobject>
</screenshot> </screenshot>
@ -111,7 +111,7 @@
</imageobject> </imageobject>
</inlinemediaobject><guiicon>New session</guiicon></term> </inlinemediaobject><guiicon>New session</guiicon></term>
<listitem> <listitem>
<para>This button shows a <link linkend="kfilereplace-the-project-dialog">session dialog</link> in which you can set several basic options; if &kfilereplace; run as standalone application you should click this button as first step.</para> <para>This button shows a <link linkend="tdefilereplace-the-project-dialog">session dialog</link> in which you can set several basic options; if &tdefilereplace; run as standalone application you should click this button as first step.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -135,7 +135,7 @@
</imageobject> </imageobject>
</inlinemediaobject><guiicon>Replace</guiicon></term> </inlinemediaobject><guiicon>Replace</guiicon></term>
<listitem> <listitem>
<para>This button starts a search&amp;replace loop. When a string has been found, &kfilereplace; replaces it with another string.</para> <para>This button starts a search&amp;replace loop. When a string has been found, &tdefilereplace; replaces it with another string.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -171,7 +171,7 @@
</imageobject> </imageobject>
</inlinemediaobject><guiicon>Add Strings</guiicon></term> </inlinemediaobject><guiicon>Add Strings</guiicon></term>
<listitem> <listitem>
<para>This button opens the <link linkend="kfilereplace-the-add-dialog">Add Strings</link> dialog in which you can edit your string list.</para> <para>This button opens the <link linkend="tdefilereplace-the-add-dialog">Add Strings</link> dialog in which you can edit your string list.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -231,7 +231,7 @@
</imageobject> </imageobject>
</inlinemediaobject><guiicon>Load String List</guiicon></term> </inlinemediaobject><guiicon>Load String List</guiicon></term>
<listitem> <listitem>
<para>This button loads a <link linkend="kfilereplace-the-kfr-file">string list</link> saved in a xml file with a <literal role="extension">kfr</literal> extension.</para> <para>This button loads a <link linkend="tdefilereplace-the-kfr-file">string list</link> saved in a xml file with a <literal role="extension">kfr</literal> extension.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -255,7 +255,7 @@
</imageobject> </imageobject>
</inlinemediaobject><guiicon>Make Backup Files</guiicon></term> </inlinemediaobject><guiicon>Make Backup Files</guiicon></term>
<listitem> <listitem>
<para>This button enables generation of <link linkend="kfilereplace-backup-file">backup</link> files.</para> <para>This button enables generation of <link linkend="tdefilereplace-backup-file">backup</link> files.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -279,7 +279,7 @@
</imageobject> </imageobject>
</inlinemediaobject><guiicon>Commands</guiicon></term> </inlinemediaobject><guiicon>Commands</guiicon></term>
<listitem> <listitem>
<para>This button enables commands capability. Commands are special strings. See <xref linkend="kfilereplace-commands"/>.</para> <para>This button enables commands capability. Commands are special strings. See <xref linkend="tdefilereplace-commands"/>.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -291,7 +291,7 @@
</imageobject> </imageobject>
</inlinemediaobject><guiicon>Regular expressions</guiicon></term> </inlinemediaobject><guiicon>Regular expressions</guiicon></term>
<listitem> <listitem>
<para>This button enables <link linkend="kfilereplace-QT-regexp">Qt-like regular expressions</link>.</para> <para>This button enables <link linkend="tdefilereplace-QT-regexp">Qt-like regular expressions</link>.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -300,10 +300,10 @@
</sect1> </sect1>
<sect1 id="kfilereplace-the-results-view"> <sect1 id="tdefilereplace-the-results-view">
<title>The Results List</title> <title>The Results List</title>
<screenshot> <screenshot>
<screeninfo>&kfilereplace;'s Results view</screeninfo> <screeninfo>&tdefilereplace;'s Results view</screeninfo>
<mediaobject> <mediaobject>
<imageobject> <imageobject>
<imagedata fileref="results_view.png" format="PNG"/> <imagedata fileref="results_view.png" format="PNG"/>
@ -312,7 +312,7 @@
<imagedata fileref="results_view.eps" format="EPS"/> <imagedata fileref="results_view.eps" format="EPS"/>
</imageobject> </imageobject>
<textobject> <textobject>
<phrase>&kfilereplace;'s Results view</phrase> <phrase>&tdefilereplace;'s Results view</phrase>
</textobject> </textobject>
</mediaobject> </mediaobject>
</screenshot> </screenshot>
@ -320,18 +320,18 @@
</sect1> </sect1>
<sect1 id="kfilereplace-the-strings-view"> <sect1 id="tdefilereplace-the-strings-view">
<title>The String List</title> <title>The String List</title>
<para>This is the <guilabel>Strings</guilabel> view: <para>This is the <guilabel>Strings</guilabel> view:
<screenshot> <screenshot>
<screeninfo>&kfilereplace;'s Strings view</screeninfo> <screeninfo>&tdefilereplace;'s Strings view</screeninfo>
<mediaobject> <mediaobject>
<imageobject> <imageobject>
<imagedata fileref="strings_view.png" format="PNG"/> <imagedata fileref="strings_view.png" format="PNG"/>
</imageobject> </imageobject>
<textobject> <textobject>
<phrase>&kfilereplace;'s Strings view</phrase> <phrase>&tdefilereplace;'s Strings view</phrase>
</textobject> </textobject>
</mediaobject> </mediaobject>
</screenshot> </screenshot>
@ -341,53 +341,53 @@
</sect1> </sect1>
<sect1 id="kfilereplace-the-project-dialog"> <sect1 id="tdefilereplace-the-project-dialog">
<title>The <guilabel>New Session</guilabel> Dialog</title> <title>The <guilabel>New Session</guilabel> Dialog</title>
<para>The <guilabel>New Session</guilabel> dialog is used to setup the basic parameters needed by &kfilereplace; to work. It consists of two tabs, <guilabel>General</guilabel> and <guilabel>Advanced</guilabel>. <para>The <guilabel>New Session</guilabel> dialog is used to setup the basic parameters needed by &tdefilereplace; to work. It consists of two tabs, <guilabel>General</guilabel> and <guilabel>Advanced</guilabel>.
</para> </para>
<sect2 id="kfilereplace-the-project-dialog-general-page"> <sect2 id="tdefilereplace-the-project-dialog-general-page">
<title>The <guilabel>General</guilabel> Tab</title> <title>The <guilabel>General</guilabel> Tab</title>
<screenshot> <screenshot>
<screeninfo>&kfilereplace; General tab</screeninfo> <screeninfo>&tdefilereplace; General tab</screeninfo>
<mediaobject> <mediaobject>
<imageobject> <imageobject>
<imagedata fileref="projectdialog_main_window_1.png" format="PNG"/> <imagedata fileref="projectdialog_main_window_1.png" format="PNG"/>
</imageobject> </imageobject>
<textobject> <textobject>
<phrase>&kfilereplace; General tab</phrase> <phrase>&tdefilereplace; General tab</phrase>
</textobject> </textobject>
</mediaobject> </mediaobject>
</screenshot> </screenshot>
<para>When you want to begin a new session the first step is to click on the <link linkend="kfilereplace-the-toolbar"><guiicon>New Session</guiicon> button</link>. Then you must enter the base path and a sequence of shell-like wildcards to use as filter.</para> <para>When you want to begin a new session the first step is to click on the <link linkend="tdefilereplace-the-toolbar"><guiicon>New Session</guiicon> button</link>. Then you must enter the base path and a sequence of shell-like wildcards to use as filter.</para>
<para>Then you could set some useful options, like searching in all the subfolders, doing a case-sensitive search, enabling commands and/or regular expressions<footnote id="performancewarning"><para>Please note that regular expressions and commands could slow down the speed performances.</para></footnote>, doing a backup copy of each file before replacing.</para> <para>Then you could set some useful options, like searching in all the subfolders, doing a case-sensitive search, enabling commands and/or regular expressions<footnote id="performancewarning"><para>Please note that regular expressions and commands could slow down the speed performances.</para></footnote>, doing a backup copy of each file before replacing.</para>
<para>If you want to start searching, you can put a string in the search box and press <guibutton>Search Now</guibutton>, otherwise leave the search box empty and press <guibutton>Search Later</guibutton>.</para> <para>If you want to start searching, you can put a string in the search box and press <guibutton>Search Now</guibutton>, otherwise leave the search box empty and press <guibutton>Search Later</guibutton>.</para>
</sect2> </sect2>
<sect2 id="kfilereplace-the-project-dialog-advanced-page"> <sect2 id="tdefilereplace-the-project-dialog-advanced-page">
<title>The <guilabel>Advanced</guilabel> Tab</title> <title>The <guilabel>Advanced</guilabel> Tab</title>
<screenshot> <screenshot>
<screeninfo>&kfilereplace; Advanced tab</screeninfo> <screeninfo>&tdefilereplace; Advanced tab</screeninfo>
<mediaobject> <mediaobject>
<imageobject> <imageobject>
<imagedata fileref="projectdialog_main_window_2.png" format="PNG"/> <imagedata fileref="projectdialog_main_window_2.png" format="PNG"/>
</imageobject> </imageobject>
<textobject> <textobject>
<phrase>&kfilereplace; Advanced tab</phrase> <phrase>&tdefilereplace; Advanced tab</phrase>
</textobject> </textobject>
</mediaobject> </mediaobject>
</screenshot> </screenshot>
<para>The <guilabel>Advanced</guilabel> tab allows you to set up some useful options to restrict the search to a subset of your target file tree. If you want to run &kfilereplace; only over files that have a size in the range of 10KB - 100KB, then you could use the size options. There is also a date option that restricts the search in a temporal range, and a last option that allows you to only search for files owned (or not owned) by a particular user (this may be more useful to the system administrators).</para> <para>The <guilabel>Advanced</guilabel> tab allows you to set up some useful options to restrict the search to a subset of your target file tree. If you want to run &tdefilereplace; only over files that have a size in the range of 10KB - 100KB, then you could use the size options. There is also a date option that restricts the search in a temporal range, and a last option that allows you to only search for files owned (or not owned) by a particular user (this may be more useful to the system administrators).</para>
</sect2> </sect2>
</sect1> </sect1>
<sect1 id="kfilereplace-the-options-dialog"> <sect1 id="tdefilereplace-the-options-dialog">
<title>The <guilabel>Options</guilabel> Dialog</title> <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 KFileReplace...</guimenuitem></menuchoice> in the main menu.
</para> </para>
<sect2 id="kfilereplace-the-options-dialog-general-page"> <sect2 id="tdefilereplace-the-options-dialog-general-page">
<title>General options</title> <title>General options</title>
<para>These options have been presented in the <link linkend="kfilereplace-the-toolbar">Toolbar</link> section. <para>These options have been presented in the <link linkend="tdefilereplace-the-toolbar">Toolbar</link> section.
<screenshot> <screenshot>
<screeninfo>The General tab of the Options window</screeninfo> <screeninfo>The General tab of the Options window</screeninfo>
<mediaobject> <mediaobject>
@ -401,7 +401,7 @@
</screenshot> </screenshot>
</para> </para>
</sect2> </sect2>
<sect2 id="kfilereplace-the-options-dialog-advanced-page"> <sect2 id="tdefilereplace-the-options-dialog-advanced-page">
<title>Advanced options</title> <title>Advanced options</title>
<para> <para>
<screenshot> <screenshot>
@ -422,7 +422,7 @@
<segtitle>Ignore hidden files and directories</segtitle> <segtitle>Ignore hidden files and directories</segtitle>
<seglistitem> <seglistitem>
<seg>shows only the files that match some of your strings. This will speed up the search.</seg> <seg>shows only the files that match some of your strings. This will speed up the search.</seg>
<seg>&kfilereplace; will stop when it finds a matching string, and will continue to search for other strings or, if you search for only one string, it will continue with the next file.</seg> <seg>&tdefilereplace; will stop when it finds a matching string, and will continue to search for other strings or, if you search for only one string, it will continue with the next file.</seg>
<seg>if a file is a link to another one, then search in the real file.</seg> <seg>if a file is a link to another one, then search in the real file.</seg>
<seg>if hidden files or folders are encountered, ignore them.</seg> <seg>if hidden files or folders are encountered, ignore them.</seg>
</seglistitem> </seglistitem>
@ -430,16 +430,16 @@
</para> </para>
</sect2> </sect2>
</sect1> </sect1>
<sect1 id="kfilereplace-the-add-dialog"> <sect1 id="tdefilereplace-the-add-dialog">
<title>The <guilabel>Add Strings</guilabel> Dialog</title> <title>The <guilabel>Add Strings</guilabel> Dialog</title>
<screenshot> <screenshot>
<screeninfo>&kfilereplace;'s Add Strings dialog</screeninfo> <screeninfo>&tdefilereplace;'s Add Strings dialog</screeninfo>
<mediaobject> <mediaobject>
<imageobject> <imageobject>
<imagedata fileref="addstringsdialog_window.png" format="PNG"/> <imagedata fileref="addstringsdialog_window.png" format="PNG"/>
</imageobject> </imageobject>
<textobject> <textobject>
<phrase>&kfilereplace;'s Add Strings dialog</phrase> <phrase>&tdefilereplace;'s Add Strings dialog</phrase>
</textobject> </textobject>
</mediaobject> </mediaobject>
</screenshot> </screenshot>
@ -447,10 +447,10 @@
</sect1> </sect1>
</chapter> </chapter>
<chapter id="kfilereplace-features"> <chapter id="tdefilereplace-features">
<title>&kfilereplace; features</title> <title>&tdefilereplace; features</title>
<para>This chapter provides informations about some useful capabilities of &kfilereplace;.</para> <para>This chapter provides informations about some useful capabilities of &tdefilereplace;.</para>
<sect1 id="kfilereplace-the-kfr-file"> <sect1 id="tdefilereplace-the-kfr-file">
<title>How to save your string list</title> <title>How to save your string list</title>
<para>When you want to reuse a list of strings you can save it in a <literal role="extension">xml</literal> file. To do this select from the menubar <menuchoice><guimenu>Search/Replace</guimenu><guisubmenu>Strings</guisubmenu><guimenuitem>Save Strings List to File</guimenuitem></menuchoice>. When you save a list, a simple <literal role="extension">xml</literal> file with extension <literal role="extension">kfr</literal> is created. To load a <literal role="extension">kfr</literal> file select from menubar <menuchoice><guimenu>Search/Replace</guimenu><guisubmenu>Strings</guisubmenu><guimenuitem>Load Strings List from File</guimenuitem></menuchoice>. The actual file looks like this:</para> <para>When you want to reuse a list of strings you can save it in a <literal role="extension">xml</literal> file. To do this select from the menubar <menuchoice><guimenu>Search/Replace</guimenu><guisubmenu>Strings</guisubmenu><guimenuitem>Save Strings List to File</guimenuitem></menuchoice>. When you save a list, a simple <literal role="extension">xml</literal> file with extension <literal role="extension">kfr</literal> is created. To load a <literal role="extension">kfr</literal> file select from menubar <menuchoice><guimenu>Search/Replace</guimenu><guisubmenu>Strings</guisubmenu><guimenuitem>Load Strings List from File</guimenuitem></menuchoice>. The actual file looks like this:</para>
<screen> <screen>
@ -474,14 +474,14 @@
&lt;/kfr></screen> &lt;/kfr></screen>
<para>If you are using a previous format, you can update by hand your file by simply modifying it according to the above scheme. Alternatively, you can load the file written in the old format and save it again with &kfilereplace; in the way explained before.</para> <para>If you are using a previous format, you can update by hand your file by simply modifying it according to the above scheme. Alternatively, you can load the file written in the old format and save it again with &tdefilereplace; in the way explained before.</para>
</sect1> </sect1>
<sect1 id="kfilereplace-the-report-file"> <sect1 id="tdefilereplace-the-report-file">
<title>How to Create a Simple Report</title> <title>How to Create a Simple Report</title>
<para>You can create a report by choosing <menuchoice><guimenu>Search/Replace</guimenu><guisubmenu>Results</guisubmenu><guimenuitem>Create Report File</guimenuitem></menuchoice> from the main menu. A report is a folder containing an <literal role="extension">xml</literal> and a <literal role="extension">css</literal> file. Reports may be useful to maintain a simple log of your operations. <para>You can create a report by choosing <menuchoice><guimenu>Search/Replace</guimenu><guisubmenu>Results</guisubmenu><guimenuitem>Create Report File</guimenuitem></menuchoice> from the main menu. A report is a folder containing an <literal role="extension">xml</literal> and a <literal role="extension">css</literal> file. Reports may be useful to maintain a simple log of your operations.
<screenshot> <screenshot>
<screeninfo>&kfilereplace;'s Report feature</screeninfo> <screeninfo>&tdefilereplace;'s Report feature</screeninfo>
<mediaobject> <mediaobject>
<imageobject> <imageobject>
<imagedata fileref="report_example.png" format="PNG"/> <imagedata fileref="report_example.png" format="PNG"/>
@ -490,44 +490,44 @@
<imagedata fileref="report_example.eps" format="EPS"/> <imagedata fileref="report_example.eps" format="EPS"/>
</imageobject> </imageobject>
<textobject> <textobject>
<phrase>&kfilereplace;'s Report feature</phrase> <phrase>&tdefilereplace;'s Report feature</phrase>
</textobject> </textobject>
</mediaobject> </mediaobject>
</screenshot> </screenshot>
</para> </para>
</sect1> </sect1>
<sect1 id="kfilereplace-QT-regexp"> <sect1 id="tdefilereplace-QT-regexp">
<title>How to use Regular Expressions</title> <title>How to use Regular Expressions</title>
<para> <para>
If you want search for every string that starts with <quote>x</quote>, <quote>ht</quote> or <quote>u</quote> and ends with <quote>ml</quote>, you can write a regular expression like this: <userinput>(x|ht|u)ml</userinput>. Insert this expression in the search editor, click <guibutton>OK</guibutton>, and enable regular expressions by toggling the <link linkend="kfilereplace-the-toolbar"><guibutton>Regular Expression</guibutton> button</link>. Please note that using regular expressions lets you to make very complicated searches, but the cost could be a performance degradation. Regular expression can be very tricky, and it is often the case that <quote>if you want to solve a problem with a regular expression, you have two problems</quote>.</para> If you want search for every string that starts with <quote>x</quote>, <quote>ht</quote> or <quote>u</quote> and ends with <quote>ml</quote>, you can write a regular expression like this: <userinput>(x|ht|u)ml</userinput>. Insert this expression in the search editor, click <guibutton>OK</guibutton>, and enable regular expressions by toggling the <link linkend="tdefilereplace-the-toolbar"><guibutton>Regular Expression</guibutton> button</link>. Please note that using regular expressions lets you to make very complicated searches, but the cost could be a performance degradation. Regular expression can be very tricky, and it is often the case that <quote>if you want to solve a problem with a regular expression, you have two problems</quote>.</para>
</sect1> </sect1>
<sect1 id="kfilereplace-backup-file"> <sect1 id="tdefilereplace-backup-file">
<title>How to Protect Original Files</title> <title>How to Protect Original Files</title>
<para>If you do not want to lose your original files, you can make a copy of them before replacing the strings. After inserting your strings, and before starting the replacement process, you have just to toggle the <link linkend="kfilereplace-the-toolbar"><guiicon>Backup</guiicon> button</link>. If you want to customize the extension of the backup files open the <link linkend="kfilereplace-the-options-dialog"><guilabel>Options</guilabel> dialog</link>. <para>If you do not want to lose your original files, you can make a copy of them before replacing the strings. After inserting your strings, and before starting the replacement process, you have just to toggle the <link linkend="tdefilereplace-the-toolbar"><guiicon>Backup</guiicon> button</link>. If you want to customize the extension of the backup files open the <link linkend="tdefilereplace-the-options-dialog"><guilabel>Options</guilabel> dialog</link>.
</para> </para>
</sect1> </sect1>
<sect1 id="kfilereplace-open-file"> <sect1 id="tdefilereplace-open-file">
<title>How to Open a File</title> <title>How to Open a File</title>
<para>If you want to open a file that matches some of your strings, you have to select a line in the result view and click on it with the &RMB;. A context menu will appear from which you can open the file. If you use &kfilereplace; embedded in &quantaplus;, you can open the file directly in it at the specified line and column.</para> <para>If you want to open a file that matches some of your strings, you have to select a line in the result view and click on it with the &RMB;. A context menu will appear from which you can open the file. If you use &tdefilereplace; embedded in &quantaplus;, you can open the file directly in it at the specified line and column.</para>
</sect1> </sect1>
<sect1 id="kfilereplace-commands"> <sect1 id="tdefilereplace-commands">
<title>Commands</title> <title>Commands</title>
<para>Suppose you want replace the phrase <quote>Alice's adventures in Wonderland</quote> with the <ulink url="http://www.textlibrary.com/download/alice-wo.txt">entire file that contains Carroll's novel</ulink>. Probably you don't want to do this by hand, what you need is a command that will do it for you. Click the <link linkend="kfilereplace-the-toolbar"><guiicon>Add</guiicon></link> button, select <guilabel>Search and Replace Mode</guilabel> and insert the following strings: <userinput>Alice's adventure in Wonderland</userinput> in the search mini-editor and the string <userinput>[$loadfile:<replaceable>/the-path-to-my-folder/my-folder/my-file</replaceable>$]</userinput> in the replacement mini-editor. Click <guibutton>OK</guibutton>. When you come back to the &kfilereplace; main window, toggle the <link linkend="kfilereplace-the-toolbar">Command action</link> button that enables the commands, and start the replacement process. There are also other commands, see <xref linkend="available-commands"/> for a list of all of them.</para> <para>Suppose you want replace the phrase <quote>Alice's adventures in Wonderland</quote> with the <ulink url="http://www.textlibrary.com/download/alice-wo.txt">entire file that contains Carroll's novel</ulink>. Probably you don't want to do this by hand, what you need is a command that will do it for you. Click the <link linkend="tdefilereplace-the-toolbar"><guiicon>Add</guiicon></link> button, select <guilabel>Search and Replace Mode</guilabel> and insert the following strings: <userinput>Alice's adventure in Wonderland</userinput> in the search mini-editor and the string <userinput>[$loadfile:<replaceable>/the-path-to-my-folder/my-folder/my-file</replaceable>$]</userinput> in the replacement mini-editor. Click <guibutton>OK</guibutton>. When you come back to the &tdefilereplace; main window, toggle the <link linkend="tdefilereplace-the-toolbar">Command action</link> button that enables the commands, and start the replacement process. There are also other commands, see <xref linkend="available-commands"/> for a list of all of them.</para>
</sect1> </sect1>
</chapter> </chapter>
<chapter id="credits"> <chapter id="credits">
<title>Credits and License</title> <title>Credits and License</title>
<para>&kfilereplace;. Program copyright 1999 by François Dupoux <email>dupoux&#64;dupoux&#46;com</email>, 2003 Andras Mantia <email>amantia&#64;kde&#46;org</email>, 2004 Emiliano Gulmini <email>emi_barbarossa&#64;yahoo&#46;it</email> <para>&tdefilereplace;. Program copyright 1999 by François Dupoux <email>dupoux&#64;dupoux&#46;com</email>, 2003 Andras Mantia <email>amantia&#64;kde&#46;org</email>, 2004 Emiliano Gulmini <email>emi_barbarossa&#64;yahoo&#46;it</email>
</para> </para>
<variablelist> <variablelist>
<title>The &kfilereplace; authors and maintainers:</title> <title>The &tdefilereplace; authors and maintainers:</title>
<varlistentry> <varlistentry>
<term>François Dupoux <email>dupoux&#64;dupoux&#46;com</email></term> <term>François Dupoux <email>dupoux&#64;dupoux&#46;com</email></term>
<listitem><para>Original author</para></listitem> <listitem><para>Original author</para></listitem>
@ -556,10 +556,10 @@ Documentation Copyright &copy; 2004 Emiliano Gulmini <email>emi_barbarossa&#64;y
<appendix id="installation"> <appendix id="installation">
<title>Installation</title> <title>Installation</title>
<sect1 id="getting-kfilereplace"> <sect1 id="getting-tdefilereplace">
<title>How to install &kfilereplace;</title> <title>How to install &tdefilereplace;</title>
<para> <para>
&kfilereplace; is currently part of &tdewebdev; package, so, in order to install it, you have to get a copy of &tdewebdev;. Note that if you are using a &kde; installation provided by your OS vendor, probably you already have &tdewebdev; installed; in this case, you can use &kfilereplace; either by opening &quantaplus; Web editor, or by calling it directly (unless you have an old &kde; version). Else you can download the &tdewebdev; package from the Internet: please refer to <ulink url="http://tdewebdev.org">&tdewebdev; home site</ulink> for more information. &tdefilereplace; is currently part of &tdewebdev; package, so, in order to install it, you have to get a copy of &tdewebdev;. Note that if you are using a &kde; installation provided by your OS vendor, probably you already have &tdewebdev; installed; in this case, you can use &tdefilereplace; either by opening &quantaplus; Web editor, or by calling it directly (unless you have an old &kde; version). Else you can download the &tdewebdev; package from the Internet: please refer to <ulink url="http://tdewebdev.org">&tdewebdev; home site</ulink> for more information.
<!--&install.intro.documentation;--> <!--&install.intro.documentation;-->
</para> </para>
@ -573,7 +573,7 @@ Documentation Copyright &copy; 2004 Emiliano Gulmini <email>emi_barbarossa&#64;y
</appendix> </appendix>
<appendix id="available-commands"> <appendix id="available-commands">
<title>&kfilereplace; commands</title> <title>&tdefilereplace; commands</title>
<para> <para>
<segmentedlist> <segmentedlist>
<segtitle>[$datetime:iso$]</segtitle> <segtitle>[$datetime:iso$]</segtitle>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 83 KiB

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Before

Width:  |  Height:  |  Size: 808 B

After

Width:  |  Height:  |  Size: 808 B

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Before

Width:  |  Height:  |  Size: 615 B

After

Width:  |  Height:  |  Size: 615 B

Before

Width:  |  Height:  |  Size: 959 B

After

Width:  |  Height:  |  Size: 959 B

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

Before

Width:  |  Height:  |  Size: 279 B

After

Width:  |  Height:  |  Size: 279 B

@ -1,56 +0,0 @@
#################################################
#
# (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
add_subdirectory( toolbar )
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_BINARY_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
)
##### other data ################################
tde_install_icons( )
install( FILES kfilereplace.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( FILES kfilereplacepart.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES kfilereplacepartui.rc DESTINATION ${DATA_INSTALL_DIR}/kfilereplacepart )
install( FILES kfilereplaceui.rc DESTINATION ${DATA_INSTALL_DIR}/kfilereplace )
##### libkfilereplacepart (module) ##############
tde_add_kpart( libkfilereplacepart AUTOMOC
SOURCES
commandengine.cpp configurationclasses.cpp
kfilereplacepart.cpp kfilereplaceview.cpp
kfilereplaceviewwdg.ui kaddstringdlg.cpp kaddstringdlgs.ui
knewprojectdlg.cpp knewprojectdlgs.ui koptionsdlg.cpp
koptionsdlgs.ui kfilereplacelib.cpp report.cpp
LINK kio-shared tdeparts-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
##### kfilereplace (executable) #################
tde_add_executable( kfilereplace AUTOMOC
SOURCES
kfilereplace.cpp main.cpp
LINK kio-shared tdeparts-shared
DESTINATION ${BIN_INSTALL_DIR}
)

@ -1,43 +0,0 @@
## Makefile.am for kfilereplace
# set the include path for X, qt and KDE
INCLUDES = $(all_includes)
# this has all of the subdirectories that make will recurse into. if
# there are none, comment this out
SUBDIRS = toolbar
# these are the headers for your project
noinst_HEADERS = kaddstringdlg.h kfilereplaceiface.h kfilereplacelib.h \
knewprojectdlg.h kfilereplaceview.h koptionsdlg.h report.h commandengine.h \
configurationclasses.h kfilereplace.h
# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO
kde_module_LTLIBRARIES = libkfilereplacepart.la
libkfilereplacepart_la_SOURCES = kfilereplacepart.cpp kfilereplaceview.cpp \
kfilereplaceviewwdg.ui kaddstringdlg.cpp kaddstringdlgs.ui knewprojectdlg.cpp \
knewprojectdlgs.ui koptionsdlg.cpp koptionsdlgs.ui kfilereplacelib.cpp report.cpp \
commandengine.cpp configurationclasses.cpp
libkfilereplacepart_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -ltdeparts -lDCOP
libkfilereplacepart_la_LIBADD = $(LIB_KFILE) $(LIB_KPARTS) $(LIB_KHTML)
messages: rc.cpp
$(XGETTEXT) *.cpp *.h -o $(podir)/kfilereplace.pot
KDE_ICON = AUTO
kde_services_DATA = kfilereplacepart.desktop
xdg_apps_DATA = kfilereplace.desktop
# this is where the XML-GUI resource file goes
partrcdir = $(kde_datadir)/kfilereplacepart
partrc_DATA = kfilereplacepartui.rc
shellrcdir = $(kde_datadir)/kfilereplace
shellrc_DATA = kfilereplaceui.rc
bin_PROGRAMS = kfilereplace
kfilereplace_LDFLAGS = $(KDE_RPATH) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -ltdeparts -lDCOP
kfilereplace_LDADD = $(LIB_KPARTS)
kfilereplace_SOURCES = kfilereplace.cpp main.cpp

@ -1,3 +0,0 @@
appdir = $(kde_datadir)/kfilereplacepart/icons
app_ICON = AUTO

@ -46,7 +46,7 @@
#include <kaccel.h> #include <kaccel.h>
#include <kstdaction.h> #include <kstdaction.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kapplication.h> #include <kapplication.h>
#include <kkeydialog.h> #include <kkeydialog.h>
@ -57,7 +57,7 @@
#include <kstatusbar.h> #include <kstatusbar.h>
#include <kxmlguifactory.h> #include <kxmlguifactory.h>
#include <kdockwidget.h> #include <kdockwidget.h>
#include <kio/job.h> #include <tdeio/job.h>
#if KDE_IS_VERSION(3,1,90) #if KDE_IS_VERSION(3,1,90)
#include <kinputdialog.h> #include <kinputdialog.h>
#else #else

@ -34,7 +34,7 @@
//#include <tqwidget.h> //#include <tqwidget.h>
// KDE // KDE
#include <kiconloader.h> #include <kiconloader.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <klocale.h> #include <klocale.h>
#include <kdebug.h> #include <kdebug.h>
#include <kapplication.h> #include <kapplication.h>

@ -21,7 +21,7 @@
#include <kaction.h> #include <kaction.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kkeydialog.h> #include <kkeydialog.h>
#include <kedittoolbar.h> #include <kedittoolbar.h>

@ -21,11 +21,11 @@
//kde includes //kde includes
#include <kurl.h> #include <kurl.h>
#include <kio/job.h> #include <tdeio/job.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
#include <kio/scheduler.h> #include <tdeio/scheduler.h>
#include <kdirlister.h> #include <kdirlister.h>
#include <kfileitem.h> #include <tdefileitem.h>
#include <kglobal.h> #include <kglobal.h>
#include <kdebug.h> #include <kdebug.h>

@ -12,10 +12,10 @@
#ifndef _TQEXTFILEINFO_H_ #ifndef _TQEXTFILEINFO_H_
#define _TQEXTFILEINFO_H_ #define _TQEXTFILEINFO_H_
#include <kio/global.h> #include <tdeio/global.h>
#include <kio/job.h> #include <tdeio/job.h>
#include <kurl.h> #include <kurl.h>
#include <kfileitem.h> #include <tdefileitem.h>
#include <tqobject.h> #include <tqobject.h>
#include <tqptrlist.h> #include <tqptrlist.h>

@ -57,12 +57,12 @@
<cflags/> <cflags/>
<f77flags/> <f77flags/>
<envvars> <envvars>
<envvar value="kfilereplace kommander kimagemapeditor kxsldbg quanta lib" name="DO_NOT_COMPILE" /> <envvar value="tdefilereplace kommander kimagemapeditor kxsldbg quanta lib" name="DO_NOT_COMPILE" />
</envvars> </envvars>
</debug> </debug>
<default> <default>
<envvars> <envvars>
<envvar value="kfilereplace kommander kimagemapeditor kxsldbg quanta lib" name="DO_NOT_COMPILE" /> <envvar value="tdefilereplace kommander kimagemapeditor kxsldbg quanta lib" name="DO_NOT_COMPILE" />
</envvars> </envvars>
<configargs>--enable-debug=full</configargs> <configargs>--enable-debug=full</configargs>
<builddir></builddir> <builddir></builddir>

@ -1,4 +1,4 @@
# Code generation options for kconfig_compiler # Code generation options for tdeconfig_compiler
File=klinkstatus.kcfg File=klinkstatus.kcfg
#IncludeFiles=defines.h #IncludeFiles=defines.h
ClassName=KLSConfig ClassName=KLSConfig

@ -27,11 +27,11 @@
#include <tqtextcodec.h> #include <tqtextcodec.h>
#include <tqcstring.h> #include <tqcstring.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
#include <kio/global.h> #include <tdeio/global.h>
#include <kio/job.h> #include <tdeio/job.h>
#include <kio/scheduler.h> #include <tdeio/scheduler.h>
#include <kio/slave.h> #include <tdeio/slave.h>
#include <kmimetype.h> #include <kmimetype.h>
#include <kapplication.h> #include <kapplication.h>
#include <klocale.h> #include <klocale.h>

@ -24,7 +24,7 @@
#include <tqthread.h> #include <tqthread.h>
#include <tqstring.h> #include <tqstring.h>
#include <kio/jobclasses.h> #include <tdeio/jobclasses.h>
class KHTMLPart; class KHTMLPart;
#include "../parser/http.h" #include "../parser/http.h"

@ -21,8 +21,8 @@
#include "klinkstatus.h" #include "klinkstatus.h"
#include <kkeydialog.h> #include <kkeydialog.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kurl.h> #include <kurl.h>
#include <kedittoolbar.h> #include <kedittoolbar.h>
#include <kaction.h> #include <kaction.h>

@ -23,13 +23,13 @@
#include <kinstance.h> #include <kinstance.h>
#include <kaction.h> #include <kaction.h>
#include <kstdaction.h> #include <kstdaction.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <tdeparts/genericfactory.h> #include <tdeparts/genericfactory.h>
#include <tdeparts/factory.h> #include <tdeparts/factory.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
#include <kaboutapplication.h> #include <kaboutapplication.h>
#include <kbugreport.h> #include <kbugreport.h>
#include <kconfigdialog.h> #include <tdeconfigdialog.h>
#include <kglobalsettings.h> #include <kglobalsettings.h>
#include <kshortcut.h> #include <kshortcut.h>
#include <kaccel.h> #include <kaccel.h>

@ -13,7 +13,7 @@
#include "klsconfig.h" #include "klsconfig.h"
#include <kapplication.h> #include <kapplication.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kcompletionbox.h> #include <kcompletionbox.h>
#include <kdebug.h> #include <kdebug.h>
#include <kstdaccel.h> #include <kstdaccel.h>

@ -24,16 +24,16 @@
#include <ksqueezedtextlabel.h> #include <ksqueezedtextlabel.h>
#include <kprogress.h> #include <kprogress.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <kglobal.h> #include <kglobal.h>
#include <kpushbutton.h> #include <kpushbutton.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kactionclasses.h> #include <kactionclasses.h>
#include <ktempfile.h> #include <ktempfile.h>
#include <ksavefile.h> #include <ksavefile.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
#include <tqevent.h> #include <tqevent.h>
#include <tqlineedit.h> #include <tqlineedit.h>

@ -16,7 +16,7 @@
***************************************************************************/ ***************************************************************************/
/* KDE INCLUDES */ /* KDE INCLUDES */
#include <klocale.h> #include <klocale.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kglobal.h> #include <kglobal.h>
#include <kglobalsettings.h> #include <kglobalsettings.h>

@ -1,7 +1,7 @@
#include "filechooser.h" #include "filechooser.h"
#include <tqlineedit.h> #include <tqlineedit.h>
#include <tqpushbutton.h> #include <tqpushbutton.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <tqlayout.h> #include <tqlayout.h>
FileChooser::FileChooser( TQWidget *parent, const char *name ) FileChooser::FileChooser( TQWidget *parent, const char *name )

@ -34,7 +34,7 @@
// KDE includes // KDE includes
#include <kdebug.h> #include <kdebug.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <klocale.h> #include <klocale.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kstatusbar.h> #include <kstatusbar.h>

@ -558,7 +558,7 @@
<!-- others --> <!-- others -->
<item> dcop </item> <item> dcop </item>
<item> kdialog </item> <item> kdialog </item>
<item> kfile </item> <item> tdefile </item>
<item> xhost </item> <item> xhost </item>
<item> xmodmap </item> <item> xmodmap </item>
<item> xset </item> <item> xset </item>

@ -17,7 +17,7 @@
#include <kaboutdata.h> #include <kaboutdata.h>
#include <kapplication.h> #include <kapplication.h>
#include <kcmdlineargs.h> #include <kcmdlineargs.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <klocale.h> #include <klocale.h>
#include <ksplashscreen.h> #include <ksplashscreen.h>

@ -74,7 +74,7 @@
#include <kaction.h> #include <kaction.h>
#include <kapplication.h> #include <kapplication.h>
#include <kcmdlineargs.h> #include <kcmdlineargs.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kinputdialog.h> #include <kinputdialog.h>
#include <klocale.h> #include <klocale.h>
#include <kmenubar.h> #include <kmenubar.h>
@ -86,7 +86,7 @@
#include <ktoolbar.h> #include <ktoolbar.h>
#include <kurl.h> #include <kurl.h>
#include <tdeparts/partmanager.h> #include <tdeparts/partmanager.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
extern TQMap<TQWidget*, TQString> *qwf_functions; extern TQMap<TQWidget*, TQString> *qwf_functions;
extern TQMap<TQWidget*, TQString> *qwf_forms; extern TQMap<TQWidget*, TQString> *qwf_forms;

@ -60,7 +60,7 @@
#include <kaction.h> #include <kaction.h>
#include <kapplication.h> #include <kapplication.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kglobal.h> #include <kglobal.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <kkeydialog.h> #include <kkeydialog.h>

@ -17,7 +17,7 @@
#include "messagelog.h" #include "messagelog.h"
#include <kapplication.h> #include <kapplication.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <klistbox.h> #include <klistbox.h>
#include <kmessagebox.h> #include <kmessagebox.h>

@ -19,7 +19,7 @@
**********************************************************************/ **********************************************************************/
/* Modifications by Marc Britton (c) 2002 under GNU GPL, terms as above */ /* Modifications by Marc Britton (c) 2002 under GNU GPL, terms as above */
#include <kconfig.h> #include <tdeconfig.h>
#include <klibloader.h> #include <klibloader.h>
#include "kommanderfactory.h" #include "kommanderfactory.h"

@ -20,8 +20,8 @@
#include <ktoolbar.h> #include <ktoolbar.h>
#include <klistbox.h> #include <klistbox.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <klibloader.h> #include <klibloader.h>
#include <klocale.h> #include <klocale.h>
#include <kmessagebox.h> #include <kmessagebox.h>

@ -14,7 +14,7 @@
***************************************************************************/ ***************************************************************************/
#include <kconfig.h> #include <tdeconfig.h>
#include <klibloader.h> #include <klibloader.h>
#include "pluginmanager.h" #include "pluginmanager.h"

@ -36,7 +36,7 @@
#include <dcopclient.h> #include <dcopclient.h>
#include <kapplication.h> #include <kapplication.h>
#include <kcolordialog.h> #include <kcolordialog.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kglobal.h> #include <kglobal.h>
#include <kinputdialog.h> #include <kinputdialog.h>
#include <klocale.h> #include <klocale.h>

@ -23,7 +23,7 @@
#include <dcopclient.h> #include <dcopclient.h>
#include <kapplication.h> #include <kapplication.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <klocale.h> #include <klocale.h>
#include <kglobal.h> #include <kglobal.h>

@ -16,7 +16,7 @@
/* KDE INCLUDES */ /* KDE INCLUDES */
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <klineedit.h> #include <klineedit.h>
#include <kpushbutton.h> #include <kpushbutton.h>
#include <kurlcompletion.h> #include <kurlcompletion.h>

@ -6,7 +6,7 @@
#include "kxsldbg.h" #include "kxsldbg.h"
#include <kkeydialog.h> #include <kkeydialog.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <klocale.h> #include <klocale.h>
#include <kedittoolbar.h> #include <kedittoolbar.h>

@ -5,7 +5,7 @@
#include <kinstance.h> #include <kinstance.h>
#include <kaction.h> #include <kaction.h>
#include <kstdaction.h> #include <kstdaction.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <tdeparts/genericfactory.h> #include <tdeparts/genericfactory.h>
#include <tdetexteditor/markinterface.h> #include <tdetexteditor/markinterface.h>
#include <tdetexteditor/editinterface.h> #include <tdetexteditor/editinterface.h>

@ -9,7 +9,7 @@
#ifndef TQXSLDBGDOC_H #ifndef TQXSLDBGDOC_H
#define TQXSLDBGDOC_H #define TQXSLDBGDOC_H
#include <kio/job.h> #include <tdeio/job.h>
#include <tqptrlist.h> #include <tqptrlist.h>
#include <tqstring.h> #include <tqstring.h>
#include <tqguardedptr.h> #include <tqguardedptr.h>

@ -16,7 +16,7 @@
************************************************************************************/ ************************************************************************************/
#include <klocale.h> #include <klocale.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <tqdialog.h> #include <tqdialog.h>
#include <tqlineedit.h> #include <tqlineedit.h>

@ -25,11 +25,11 @@
#include <ktabctl.h> #include <ktabctl.h>
#include <klistview.h> #include <klistview.h>
#include <kdebug.h> #include <kdebug.h>
#include <kio/job.h> #include <tdeio/job.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kurl.h> #include <kurl.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kapplication.h> #include <kapplication.h>
#include <kiconloader.h> #include <kiconloader.h>

@ -24,7 +24,7 @@
#include <kapplication.h> #include <kapplication.h>
#include <kdebug.h> #include <kdebug.h>
#include <kio/job.h> #include <tdeio/job.h>
#include <klocale.h> #include <klocale.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>

@ -26,7 +26,7 @@
#include <kdebug.h> #include <kdebug.h>
#include <klocale.h> #include <klocale.h>
#include <kprocess.h> #include <kprocess.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <ktar.h> #include <ktar.h>

@ -16,10 +16,10 @@
#include <tqfileinfo.h> #include <tqfileinfo.h>
//kde includes //kde includes
#include <kconfig.h> #include <tdeconfig.h>
#include <kdebug.h> #include <kdebug.h>
#include <kglobal.h> #include <kglobal.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
#include <klocale.h> #include <klocale.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>

@ -18,9 +18,9 @@
Boston, MA 02110-1301, USA. Boston, MA 02110-1301, USA.
*/ */
#include <kconfig.h> #include <tdeconfig.h>
#include <kdebug.h> #include <kdebug.h>
#include <kio/job.h> #include <tdeio/job.h>
#include <kglobal.h> #include <kglobal.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <klocale.h> #include <klocale.h>

@ -31,7 +31,7 @@
#include <kdebug.h> #include <kdebug.h>
#include <kurlrequester.h> #include <kurlrequester.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kapplication.h> #include <kapplication.h>
#include "engine.h" #include "engine.h"

@ -33,7 +33,7 @@
#include <tqstyle.h> #include <tqstyle.h>
#ifndef NO_KDE2 #ifndef NO_KDE2
#include <kconfig.h> #include <tdeconfig.h>
#include <kglobal.h> #include <kglobal.h>
#include <klocale.h> #include <klocale.h>
#include <ktoolbar.h> #include <ktoolbar.h>

@ -21,7 +21,7 @@
#include <tqapplication.h> #include <tqapplication.h>
#include <tqstyle.h> #include <tqstyle.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <kstringhandler.h> #include <kstringhandler.h>

@ -30,7 +30,7 @@
#include "tdemdidefines.h" #include "tdemdidefines.h"
#include <kconfig.h> #include <tdeconfig.h>
#include <kdebug.h> #include <kdebug.h>
#include <kglobal.h> #include <kglobal.h>
#include <kglobalsettings.h> #include <kglobalsettings.h>

@ -33,7 +33,7 @@
#include <kdebug.h> #include <kdebug.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <kapplication.h> #include <kapplication.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <klocale.h> #include <klocale.h>
//TODO: Well, this is already defined in tdeui/kdockwidget.cpp //TODO: Well, this is already defined in tdeui/kdockwidget.cpp

@ -22,7 +22,7 @@
#include <tqpopupmenu.h> #include <tqpopupmenu.h>
#include <kapplication.h> #include <kapplication.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <ktoolbar.h> #include <ktoolbar.h>
#include <kmainwindow.h> #include <kmainwindow.h>
#include <klocale.h> #include <klocale.h>

@ -21,11 +21,11 @@
//kde includes //kde includes
#include <kurl.h> #include <kurl.h>
#include <kio/job.h> #include <tdeio/job.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
#include <kio/scheduler.h> #include <tdeio/scheduler.h>
#include <kdirlister.h> #include <kdirlister.h>
#include <kfileitem.h> #include <tdefileitem.h>
#include <kglobal.h> #include <kglobal.h>
#include <kdebug.h> #include <kdebug.h>

@ -12,10 +12,10 @@
#ifndef _TQEXTFILEINFO_H_ #ifndef _TQEXTFILEINFO_H_
#define _TQEXTFILEINFO_H_ #define _TQEXTFILEINFO_H_
#include <kio/global.h> #include <tdeio/global.h>
#include <kio/job.h> #include <tdeio/job.h>
#include <kurl.h> #include <kurl.h>
#include <kfileitem.h> #include <tdefileitem.h>
#include <tqobject.h> #include <tqobject.h>
#include <tqptrlist.h> #include <tqptrlist.h>

@ -55,7 +55,7 @@ void colorRequester::init()
if ( !d->edit ) if ( !d->edit )
d->edit = new KLineEdit( this, "line edit" ); d->edit = new KLineEdit( this, "line edit" );
myButton = new KPushButton( this, "kfile button"); myButton = new KPushButton( this, "tdefile button");
TQIconSet iconSet = SmallIconSet(TQString::fromLatin1("colorize")); TQIconSet iconSet = SmallIconSet(TQString::fromLatin1("colorize"));
TQPixmap pixMap = iconSet.pixmap( TQIconSet::Small, TQIconSet::Normal ); TQPixmap pixMap = iconSet.pixmap( TQIconSet::Small, TQIconSet::Normal );
myButton->setIconSet( iconSet ); myButton->setIconSet( iconSet );

@ -31,7 +31,7 @@
#include <kstandarddirs.h> #include <kstandarddirs.h>
#include <klineedit.h> #include <klineedit.h>
#include <kdebug.h> #include <kdebug.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <tdeparts/browserextension.h> #include <tdeparts/browserextension.h>
#include "propertysetter.h" #include "propertysetter.h"

@ -34,7 +34,7 @@
#include <kdebug.h> #include <kdebug.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kurlrequester.h> #include <kurlrequester.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include "project.h" #include "project.h"
#include "stylesheetparser.h" #include "stylesheetparser.h"

@ -26,7 +26,7 @@
#include <kdialog.h> #include <kdialog.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <klocale.h> #include <klocale.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kimagefilepreview.h> #include <kimagefilepreview.h>
#include "qextfileinfo.h" #include "qextfileinfo.h"

@ -34,6 +34,6 @@ tde_add_kpart( quantadebuggerdbgp AUTOMOC
quantadebuggerdbgp.cpp dbgpsettingss.ui quantadebuggerdbgp.cpp dbgpsettingss.ui
dbgpsettings.cpp dbgpnetwork.cpp dbgpsettings.cpp dbgpnetwork.cpp
qbytearrayfifo.cpp qbytearrayfifo.cpp
LINK debuggerinterface-static kio-shared LINK debuggerinterface-static tdeio-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )

@ -22,7 +22,7 @@
#include <tqregexp.h> #include <tqregexp.h>
#include <kurlrequester.h> #include <kurlrequester.h>
#include <tqstringlist.h> #include <tqstringlist.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <klocale.h> #include <klocale.h>
//#include <kpreviewwidgetbase.h> //#include <kpreviewwidgetbase.h>

@ -15,8 +15,8 @@ Input=3
[KFileReplace] [KFileReplace]
Arguments= Arguments=
FileName=trinity/libkfilereplacepart.la FileName=trinity/libtdefilereplacepart.la
Icon=kfilereplace Icon=tdefilereplace
Input=3 Input=3
Location= Location=
OutputWindow=Editor Tab OutputWindow=Editor Tab

@ -1,6 +1,6 @@
[Desktop Entry] [Desktop Entry]
Type=Service Type=Service
Exec=kcmshell --caption %c %i tdehtml_behavior tdehtml_java_js tdehtml_fonts cookies cache proxy kcmcss crypto useragent tdehtml_plugins Exec=tdecmshell --caption %c %i tdehtml_behavior tdehtml_java_js tdehtml_fonts cookies cache proxy kcmcss crypto useragent tdehtml_plugins
Icon=konqueror Icon=konqueror
DocPath=konqueror/index.html DocPath=konqueror/index.html
Name=Configure KHTML Browser Part Name=Configure KHTML Browser Part

@ -137,7 +137,7 @@ cool things we took into consideration when using templates in projects.
the file to the project templates prior to linking. This will prevent broken links on upload. </li> 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. <li>You always have control where you place your templates so you can choose to move them.
However Quanta does not track this so you will need to change links. This is a good However Quanta does not track this so you will need to change links. This is a good
task for kfilereplace which we are setting up to plug in as a kpart. </li> task for tdefilereplace which we are setting up to plug in as a kpart. </li>
</ul> </ul>
</p> </p>
<p class="minihdr">Templates conclusion <p class="minihdr">Templates conclusion

@ -26,7 +26,7 @@
//kde includes //kde includes
#include <kapplication.h> #include <kapplication.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kdebug.h> #include <kdebug.h>
#include <kicondialog.h> #include <kicondialog.h>
#include <kiconloader.h> #include <kiconloader.h>

@ -17,8 +17,8 @@
// qt includes // qt includes
// kde includes // kde includes
#include <kio/job.h> #include <tdeio/job.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
//app includes //app includes
#include "copyto.h" #include "copyto.h"

@ -19,7 +19,7 @@
#define COPYTO_H #define COPYTO_H
// kde includes // kde includes
#include <kio/jobclasses.h> #include <tdeio/jobclasses.h>
/** /**

@ -23,10 +23,10 @@
#include <kdialogbase.h> #include <kdialogbase.h>
#include <klocale.h> #include <klocale.h>
#include <kprocess.h> #include <kprocess.h>
#include <kio/job.h> #include <tdeio/job.h>
#include <kio/jobclasses.h> #include <tdeio/jobclasses.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
#include <kfileitem.h> #include <tdefileitem.h>
//app includes //app includes
#include "dirtydialog.h" #include "dirtydialog.h"

@ -18,7 +18,7 @@
#define DIRTYDLG_H #define DIRTYDLG_H
// kde includes // kde includes
#include <kio/jobclasses.h> #include <tdeio/jobclasses.h>
class DirtyDialog; class DirtyDialog;
class KDialogBase; class KDialogBase;

@ -24,8 +24,8 @@
//kde includes //kde includes
#include <kcombobox.h> #include <kcombobox.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kicondialog.h> #include <kicondialog.h>
#include <klistbox.h> #include <klistbox.h>
#include <klineedit.h> #include <klineedit.h>

@ -22,7 +22,7 @@
// KDE includes // KDE includes
#include <klocale.h> #include <klocale.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kurl.h> #include <kurl.h>
// app include // app include

@ -19,7 +19,7 @@
#include <tqspinbox.h> #include <tqspinbox.h>
#include <klocale.h> #include <klocale.h>
#include <kconfig.h> #include <tdeconfig.h>
/* /*
* Constructs a ParserOptions which is a child of 'parent', with the * Constructs a ParserOptions which is a child of 'parent', with the

@ -45,7 +45,7 @@
#include <tqtimer.h> #include <tqtimer.h>
#include <kcolordialog.h> #include <kcolordialog.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kglobal.h> #include <kglobal.h>
#include <kglobalsettings.h> #include <kglobalsettings.h>
#include <kiconloader.h> #include <kiconloader.h>

@ -24,7 +24,7 @@
#include <klocale.h> #include <klocale.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
#include <tdetexteditor/viewcursorinterface.h> #include <tdetexteditor/viewcursorinterface.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kurl.h> #include <kurl.h>
#include <kstdguiitem.h> #include <kstdguiitem.h>
#include <kdebug.h> #include <kdebug.h>

@ -22,8 +22,8 @@
//kde includes //kde includes
#include <kapplication.h> #include <kapplication.h>
#include <klocale.h> #include <klocale.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kurl.h> #include <kurl.h>
//app includes //app includes

@ -21,7 +21,7 @@
#include <tqtimer.h> #include <tqtimer.h>
#include <kdebug.h> #include <kdebug.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
#include <klistview.h> #include <klistview.h>
#include <klocale.h> #include <klocale.h>
#include <kmessagebox.h> #include <kmessagebox.h>

@ -18,7 +18,7 @@
// KDE includes // KDE includes
#include <kapplication.h> #include <kapplication.h>
#include <kdebug.h> #include <kdebug.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <klocale.h> #include <klocale.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kpopupmenu.h> #include <kpopupmenu.h>

@ -25,7 +25,7 @@
#include <klocale.h> #include <klocale.h>
#include <kurl.h> #include <kurl.h>
#include <kdebug.h> #include <kdebug.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <ktempfile.h> #include <ktempfile.h>

@ -23,13 +23,13 @@
#include <tqstring.h> #include <tqstring.h>
//kde includes //kde includes
#include <kconfig.h> #include <tdeconfig.h>
#include <kdebug.h> #include <kdebug.h>
#include <kdialogbase.h> #include <kdialogbase.h>
#include <klocale.h> #include <klocale.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kurl.h> #include <kurl.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
//other includes //other includes
#ifdef LIBXML_2_5 #ifdef LIBXML_2_5

@ -20,7 +20,7 @@
#include <dom/dom_exception.h> #include <dom/dom_exception.h>
#include <kdebug.h> #include <kdebug.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
#include <kconfig.h> #include <tdeconfig.h>
#include "quantacommon.h" #include "quantacommon.h"
#include "document.h" #include "document.h"

@ -19,7 +19,7 @@
#include <tqcheckbox.h> #include <tqcheckbox.h>
#include <tqspinbox.h> #include <tqspinbox.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kdebug.h> #include <kdebug.h>
#include "kafkasyncoptions.h" #include "kafkasyncoptions.h"

@ -21,7 +21,7 @@
#include <tqtabwidget.h> #include <tqtabwidget.h>
#include <kapplication.h> #include <kapplication.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kdebug.h> #include <kdebug.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <tdetexteditor/editinterface.h> #include <tdetexteditor/editinterface.h>

@ -20,7 +20,7 @@
#include <tqtextcodec.h> #include <tqtextcodec.h>
//kde includes //kde includes
#include <kconfig.h> #include <tdeconfig.h>
#include <kdebug.h> #include <kdebug.h>
#include <tdeversion.h> #include <tdeversion.h>
#include <tdehtml_settings.h> #include <tdehtml_settings.h>

@ -17,7 +17,7 @@
/* KDE INCLUDES */ /* KDE INCLUDES */
#include <kdialogbase.h> #include <kdialogbase.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <klocale.h> #include <klocale.h>
#include <kicondialog.h> #include <kicondialog.h>

@ -16,7 +16,7 @@
***************************************************************************/ ***************************************************************************/
/* KDE INCLUDES */ /* KDE INCLUDES */
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <kglobal.h> #include <kglobal.h>
#include <klocale.h> #include <klocale.h>

@ -17,7 +17,7 @@
/* KDE INCLUDES */ /* KDE INCLUDES */
#include <kactioncollection.h> #include <kactioncollection.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
#include <kmainwindow.h> #include <kmainwindow.h>
#include <klocale.h> #include <klocale.h>

@ -19,7 +19,7 @@
#define QUANTAPLUGININTERFACE_H #define QUANTAPLUGININTERFACE_H
/* KDE INCLUDES */ /* KDE INCLUDES */
#include <kconfig.h> #include <tdeconfig.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
/* QT INCLUDES */ /* QT INCLUDES */

@ -31,7 +31,7 @@
#include <kapplication.h> #include <kapplication.h>
#include <kcharsets.h> #include <kcharsets.h>
#include <kdirwatch.h> #include <kdirwatch.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
#include <klineedit.h> #include <klineedit.h>
#include <klocale.h> #include <klocale.h>
#include <kmainwindow.h> #include <kmainwindow.h>

@ -26,7 +26,7 @@
#include <tqcombobox.h> #include <tqcombobox.h>
// kde includes // kde includes
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <klocale.h> #include <klocale.h>
#include <kmessagebox.h> #include <kmessagebox.h>

@ -28,7 +28,7 @@
// kde includes // kde includes
#include <klocale.h> #include <klocale.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kprogress.h> #include <kprogress.h>
#include <kmimetype.h> #include <kmimetype.h>
#include <tdeversion.h> #include <tdeversion.h>

@ -28,7 +28,7 @@
#include <klocale.h> #include <klocale.h>
#include <kprocess.h> #include <kprocess.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <kio/job.h> #include <tdeio/job.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kled.h> #include <kled.h>

@ -16,7 +16,7 @@
***************************************************************************/ ***************************************************************************/
#include <kcombobox.h> #include <kcombobox.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <tdeversion.h> #include <tdeversion.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <klocale.h> #include <klocale.h>

@ -30,11 +30,11 @@
#include <kaction.h> #include <kaction.h>
#include <kapplication.h> #include <kapplication.h>
#include <kcharsets.h> #include <kcharsets.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kdirwatch.h> #include <kdirwatch.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kinputdialog.h> #include <kinputdialog.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
#include <klineedit.h> #include <klineedit.h>
#include <klocale.h> #include <klocale.h>
#include <kmainwindow.h> #include <kmainwindow.h>

@ -36,12 +36,12 @@
//kde includes //kde includes
#include <kapplication.h> #include <kapplication.h>
#include <kurl.h> #include <kurl.h>
#include <kio/job.h> #include <tdeio/job.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kprotocolinfo.h> #include <kprotocolinfo.h>
#include <kdebug.h> #include <kdebug.h>
#include <kinputdialog.h> #include <kinputdialog.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
#include <klocale.h> #include <klocale.h>
#include <klineedit.h> #include <klineedit.h>
#include <kcombobox.h> #include <kcombobox.h>

@ -25,7 +25,7 @@
#include <tqptrlist.h> #include <tqptrlist.h>
#include <tqstringlist.h> #include <tqstringlist.h>
#include <kio/job.h> #include <tdeio/job.h>
/** /**
*@author Dmitry Poplavsky & Alexander Yakovlev & Andras Mantia *@author Dmitry Poplavsky & Alexander Yakovlev & Andras Mantia

@ -25,7 +25,7 @@
#include <kdebug.h> #include <kdebug.h>
#include <kurl.h> #include <kurl.h>
#include <klocale.h> #include <klocale.h>
#include <kfileitem.h> #include <tdefileitem.h>
#include <kglobal.h> #include <kglobal.h>
#include <kprogress.h> #include <kprogress.h>

@ -19,7 +19,7 @@
#define RESCANPRJ_H #define RESCANPRJ_H
#include <tqregexp.h> #include <tqregexp.h>
#include <kio/job.h> #include <tdeio/job.h>
#include "rescanprjdir.h" #include "rescanprjdir.h"

@ -88,7 +88,7 @@
<cppflags/> <cppflags/>
<ldflags/> <ldflags/>
<envvars> <envvars>
<envvar value="kommander klinkstatus kfilereplace kxsldbg kimagemapeditor" name="DO_NOT_COMPILE2" /> <envvar value="kommander klinkstatus tdefilereplace kxsldbg kimagemapeditor" name="DO_NOT_COMPILE2" />
</envvars> </envvars>
</default> </default>
<withkommander> <withkommander>

@ -45,7 +45,7 @@
#include <kdirwatch.h> #include <kdirwatch.h>
#include <kdebug.h> #include <kdebug.h>
#include <kprogress.h> #include <kprogress.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
#include <tdetexteditor/document.h> #include <tdetexteditor/document.h>

@ -28,7 +28,7 @@
// include files for KDE // include files for KDE
#include <kapplication.h> #include <kapplication.h>
#include <kcombobox.h> #include <kcombobox.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kdialogbase.h> #include <kdialogbase.h>
#include <kurl.h> #include <kurl.h>
#include <kurlrequester.h> #include <kurlrequester.h>
@ -36,7 +36,7 @@
#include <kmessagebox.h> #include <kmessagebox.h>
#include <klocale.h> #include <klocale.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
// application specific includes // application specific includes

@ -18,7 +18,7 @@
#include <tqtimer.h> #include <tqtimer.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kdebug.h> #include <kdebug.h>
#include <twin.h> #include <twin.h>
#include <kcmdlineargs.h> #include <kcmdlineargs.h>

@ -58,10 +58,10 @@
#include <kiconloader.h> #include <kiconloader.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kencodingfiledialog.h> #include <kencodingfiledialog.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kmenubar.h> #include <kmenubar.h>
#include <klocale.h> #include <klocale.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <tdehtmlview.h> #include <tdehtmlview.h>
#include <kdialogbase.h> #include <kdialogbase.h>
#include <tdeversion.h> #include <tdeversion.h>
@ -107,7 +107,7 @@
#include <tdetexteditor/view.h> #include <tdetexteditor/view.h>
#include <tdetexteditor/clipboardinterface.h> #include <tdetexteditor/clipboardinterface.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
#ifdef ENABLE_CVSSERVICE #ifdef ENABLE_CVSSERVICE
#include "cvsservice.h" #include "cvsservice.h"
@ -195,7 +195,7 @@ extern int NN;
const TQString resourceDir = TQString(QUANTA_PACKAGE) + "/"; const TQString resourceDir = TQString(QUANTA_PACKAGE) + "/";
// from kfiledialog.cpp - avoid qt warning in STDERR (~/.xsessionerrors) // from tdefiledialog.cpp - avoid qt warning in STDERR (~/.xsessionerrors)
static void silenceTQToolBar(TQtMsgType, const char *){} static void silenceTQToolBar(TQtMsgType, const char *){}
QuantaApp::QuantaApp(int mdiMode) : DCOPObject("WindowManagerIf"), KMdiMainFrm( 0, "Quanta", (KMdi::MdiMode) mdiMode) QuantaApp::QuantaApp(int mdiMode) : DCOPObject("WindowManagerIf"), KMdiMainFrm( 0, "Quanta", (KMdi::MdiMode) mdiMode)

@ -40,11 +40,11 @@
#include <kdebug.h> #include <kdebug.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kglobal.h> #include <kglobal.h>
#include <kmenubar.h> #include <kmenubar.h>
#include <klocale.h> #include <klocale.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <tdehtmlview.h> #include <tdehtmlview.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
#include <kstatusbar.h> #include <kstatusbar.h>
@ -54,7 +54,7 @@
#include <kprocess.h> #include <kprocess.h>
#include <kprogress.h> #include <kprogress.h>
#include <ktip.h> #include <ktip.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
#include <ktabwidget.h> #include <ktabwidget.h>
#include <tdemultitabbar.h> #include <tdemultitabbar.h>
#include <tdetexteditor/view.h> #include <tdetexteditor/view.h>
@ -1412,7 +1412,7 @@ void QuantaInit::checkRuntimeDependencies()
dependency.name = i18n("Control Center (tdebase)"); dependency.name = i18n("Control Center (tdebase)");
dependency.execName = "kcmshell"; dependency.execName = "tdecmshell";
dependency.url = "http://www.kde.org"; dependency.url = "http://www.kde.org";
dependency.description = i18n("preview browser configuration"); dependency.description = i18n("preview browser configuration");
dependency.type = Dependency::Executable; dependency.type = Dependency::Executable;
@ -1427,7 +1427,7 @@ void QuantaInit::checkRuntimeDependencies()
dependency.name = "KFileReplace"; dependency.name = "KFileReplace";
dependency.execName = "KFileReplace"; dependency.execName = "KFileReplace";
dependency.url = "http://kfilereplace.tdewebdev.org"; dependency.url = "http://tdefilereplace.tdewebdev.org";
dependency.description = i18n("search and replace in files"); dependency.description = i18n("search and replace in files");
dependency.type = Dependency::Plugin; dependency.type = Dependency::Plugin;
dependencies.append(dependency); dependencies.append(dependency);

@ -29,7 +29,7 @@
// include files for KDE // include files for KDE
#include <klocale.h> #include <klocale.h>
#include <kaction.h> #include <kaction.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kpopupmenu.h> #include <kpopupmenu.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kdirwatch.h> #include <kdirwatch.h>

@ -28,7 +28,7 @@
#include <tdetexteditor/popupmenuinterface.h> #include <tdetexteditor/popupmenuinterface.h>
#include <tdetexteditor/editorchooser.h> #include <tdetexteditor/editorchooser.h>
#include <tdetexteditor/markinterface.h> #include <tdetexteditor/markinterface.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
//app includes //app includes

@ -41,7 +41,7 @@
#include <kopenwith.h> #include <kopenwith.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kpropertiesdialog.h> #include <kpropertiesdialog.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kprogress.h> #include <kprogress.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
#include <kurldrag.h> #include <kurldrag.h>

@ -22,9 +22,9 @@
#include <tqvaluelist.h> #include <tqvaluelist.h>
//kde includes //kde includes
#include <kfiletreebranch.h> #include <tdefiletreebranch.h>
#include <kfiletreeview.h> #include <tdefiletreeview.h>
#include <kfiletreeviewitem.h> #include <tdefiletreeviewitem.h>
// quanta includes // quanta includes
#include "quantacommon.h" #include "quantacommon.h"

@ -20,7 +20,7 @@
#include <tqpixmap.h> #include <tqpixmap.h>
// KDE includes // KDE includes
#include <kconfig.h> #include <tdeconfig.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
#include <kiconloader.h> #include <kiconloader.h>

@ -17,7 +17,7 @@
#include <tqstrlist.h> #include <tqstrlist.h>
#include <kconfig.h> #include <tdeconfig.h>
#include "docitem.h" #include "docitem.h"

@ -22,7 +22,7 @@
#include <tqdir.h> #include <tqdir.h>
// KDE clases // KDE clases
#include <kconfig.h> #include <tdeconfig.h>
#include <kapplication.h> #include <kapplication.h>
#include <klocale.h> #include <klocale.h>
#include <kpopupmenu.h> #include <kpopupmenu.h>

@ -24,7 +24,7 @@
#include <kopenwith.h> #include <kopenwith.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kpopupmenu.h> #include <kpopupmenu.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kprogress.h> #include <kprogress.h>
#include <kurl.h> #include <kurl.h>

@ -25,7 +25,7 @@
#include <kopenwith.h> #include <kopenwith.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kpopupmenu.h> #include <kpopupmenu.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kprogress.h> #include <kprogress.h>
#include <kurl.h> #include <kurl.h>

@ -32,7 +32,7 @@
#include <kpopupmenu.h> #include <kpopupmenu.h>
#include <klocale.h> #include <klocale.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kdebug.h> #include <kdebug.h>
#include <tdetexteditor/view.h> #include <tdetexteditor/view.h>

@ -48,11 +48,11 @@
#include <kurlrequesterdlg.h> #include <kurlrequesterdlg.h>
#include <ktempdir.h> #include <ktempdir.h>
#include <ktempfile.h> #include <ktempfile.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
#include <kurldrag.h> #include <kurldrag.h>
#include <ktar.h> #include <ktar.h>
#include <kdebug.h> #include <kdebug.h>
#include <kfile.h> #include <tdefile.h>
#include "templatestreeview.h" #include "templatestreeview.h"

@ -19,7 +19,7 @@
#include <tqfileinfo.h> #include <tqfileinfo.h>
// KDE includes // KDE includes
#include <kfileitem.h> #include <tdefileitem.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <kurl.h> #include <kurl.h>

@ -18,7 +18,7 @@
#include <kcursor.h> #include <kcursor.h>
#include <klocale.h> #include <klocale.h>
#include <kurl.h> #include <kurl.h>
#include <kfileitem.h> #include <tdefileitem.h>
#include "uploadtreeview.h" #include "uploadtreeview.h"
#include "quantacommon.h" #include "quantacommon.h"

@ -21,7 +21,7 @@
#include "quantabookmarks.h" #include "quantabookmarks.h"
#include <kapplication.h> #include <kapplication.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <klocale.h> #include <klocale.h>
#include <kaction.h> #include <kaction.h>
#include <kdebug.h> #include <kdebug.h>

@ -34,7 +34,7 @@
#include <kmimetype.h> #include <kmimetype.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
#include <klocale.h> #include <klocale.h>
#include <kprotocolinfo.h> #include <kprotocolinfo.h>
#include <kprogress.h> #include <kprogress.h>

@ -17,11 +17,11 @@
#include <tqwidget.h> #include <tqwidget.h>
#include <tqdir.h> #include <tqdir.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
#include <kurl.h> #include <kurl.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <klocale.h> #include <klocale.h>
#include <kfileitem.h> #include <tdefileitem.h>
#include <kstringhandler.h> #include <kstringhandler.h>
#include "qextfileinfo.h" #include "qextfileinfo.h"

@ -16,7 +16,7 @@
***************************************************************************/ ***************************************************************************/
#include <kapplication.h> #include <kapplication.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kactioncollection.h> #include <kactioncollection.h>
#include <kactionclasses.h> #include <kactionclasses.h>
#include <dom/dom_node.h> #include <dom/dom_node.h>

@ -0,0 +1,56 @@
#################################################
#
# (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
add_subdirectory( toolbar )
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_BINARY_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
)
##### other data ################################
tde_install_icons( )
install( FILES tdefilereplace.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( FILES tdefilereplacepart.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES tdefilereplacepartui.rc DESTINATION ${DATA_INSTALL_DIR}/tdefilereplacepart )
install( FILES tdefilereplaceui.rc DESTINATION ${DATA_INSTALL_DIR}/tdefilereplace )
##### libtdefilereplacepart (module) ##############
tde_add_kpart( libtdefilereplacepart AUTOMOC
SOURCES
commandengine.cpp configurationclasses.cpp
tdefilereplacepart.cpp tdefilereplaceview.cpp
tdefilereplaceviewwdg.ui kaddstringdlg.cpp kaddstringdlgs.ui
knewprojectdlg.cpp knewprojectdlgs.ui koptionsdlg.cpp
koptionsdlgs.ui tdefilereplacelib.cpp report.cpp
LINK tdeio-shared tdeparts-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
##### tdefilereplace (executable) #################
tde_add_executable( tdefilereplace AUTOMOC
SOURCES
tdefilereplace.cpp main.cpp
LINK tdeio-shared tdeparts-shared
DESTINATION ${BIN_INSTALL_DIR}
)

@ -36,12 +36,12 @@
* Fixed a bug in KAddStringDlg: now when we want edit a string the search-only mode and search-replace mode * Fixed a bug in KAddStringDlg: now when we want edit a string the search-only mode and search-replace mode
don't merge. don't merge.
* Modified KFR file format: I added the tag '<mode search=""/>' just after the root <kfr> to allows * Modified KFR file format: I added the tag '<mode search=""/>' just after the root <kfr> to allows
kfilereplace to recognize if the list to load is a list of only search strings. I added some lines of code tdefilereplace to recognize if the list to load is a list of only search strings. I added some lines of code
to permit users to load files that don't have this new tag. to permit users to load files that don't have this new tag.
* I'm writing docbook manual. * I'm writing docbook manual.
2005-01-10 Emiliano Gulmini <emi_barbarossa@yahoo.it> 2005-01-10 Emiliano Gulmini <emi_barbarossa@yahoo.it>
* The KFilereplaceView widget has been modified. Now it change the layout of kfilereplace depending of the * The KFilereplaceView widget has been modified. Now it change the layout of tdefilereplace depending of the
value of m_option->m_searchOnlyMode. value of m_option->m_searchOnlyMode.
* I fixed a bug in the backup file option. * I fixed a bug in the backup file option.
@ -77,7 +77,7 @@
code that do commands feature from KFileREplaceLib to these two classes. code that do commands feature from KFileREplaceLib to these two classes.
2004-08-09 Emiliano Gulmini <emi_barbarossa@yahoo.it> 2004-08-09 Emiliano Gulmini <emi_barbarossa@yahoo.it>
* I fixed a bug that affected the method "void KFileReplaceView::slotStringsClear()" in kfilereplaceview.cpp file. * I fixed a bug that affected the method "void KFileReplaceView::slotStringsClear()" in tdefilereplaceview.cpp file.
This bug caused the list of strings not to be correctly erased. This bug caused the list of strings not to be correctly erased.
2004-08-07 Emiliano Gulmini <emi_barbarossa@yahoo.it> 2004-08-07 Emiliano Gulmini <emi_barbarossa@yahoo.it>
@ -95,7 +95,7 @@
"if(not(dirInfo.isReadable() and dirInfo.isExecutable())" "if(not(dirInfo.isReadable() and dirInfo.isExecutable())"
" or " " or "
" not(dirInfo.isWritable())) " " not(dirInfo.isWritable())) "
in kfilereplacepart.cpp in tdefilereplacepart.cpp
2004-07-30 Emiliano Gulmini <emi_barbarossa@yahoo.it> 2004-07-30 Emiliano Gulmini <emi_barbarossa@yahoo.it>
* The icons have been fixed!!! What a miracle!!! * The icons have been fixed!!! What a miracle!!!
@ -138,8 +138,8 @@
apistruct.h apistruct.h
kernel.(cpp,h) kernel.(cpp,h)
kexpression.(cpp,h) kexpression.(cpp,h)
kfilereplacedoc.(cpp,h) tdefilereplacedoc.(cpp,h)
kfilereplacepref.(cpp,h) tdefilereplacepref.(cpp,h)
were removed and these files are added: were removed and these files are added:
@ -178,7 +178,7 @@
* Fixed a bug that generate a wrong XHTML result file. * Fixed a bug that generate a wrong XHTML result file.
2004-03-06 Emiliano Gulmini <emi_barbarossa@yahoo.it> 2004-03-06 Emiliano Gulmini <emi_barbarossa@yahoo.it>
* Added kconfirmdlgs.ui. * Added tdeconfirmdlgs.ui.
* Fixed a bug in KOptionDlg, now when we select a option, the selection is shown correctly. * Fixed a bug in KOptionDlg, now when we select a option, the selection is shown correctly.
* Fixed a bug KNewProjectDlg. * Fixed a bug KNewProjectDlg.
@ -191,13 +191,13 @@
html code. html code.
2004-02-24 Emiliano Gulmini <emi_barbarossa@yahoo.it> 2004-02-24 Emiliano Gulmini <emi_barbarossa@yahoo.it>
* kfilereplacepref.(h,cpp) were removed. * tdefilereplacepref.(h,cpp) were removed.
* kernel.(h,cpp) now are a singleton class. * kernel.(h,cpp) now are a singleton class.
* Some macros in kernel.h were replaced with integer constants. * Some macros in kernel.h were replaced with integer constants.
* Methods in kernel.h file were renamed. * Methods in kernel.h file were renamed.
* Some superflous #include lines were removed. * Some superflous #include lines were removed.
* The filelib.(h,cpp) were subtituted with KFilereplaceLib singleton class. * The filelib.(h,cpp) were subtituted with KFilereplaceLib singleton class.
* Now kfilereplace logo and icons in the result view appear. * Now tdefilereplace logo and icons in the result view appear.
2004-02-18 Emiliano Gulmini <emi_barbarossa@yahoo.it> 2004-02-18 Emiliano Gulmini <emi_barbarossa@yahoo.it>
* The icons in toolbar directory were redrawn. * The icons in toolbar directory were redrawn.

@ -0,0 +1,43 @@
## Makefile.am for tdefilereplace
# set the include path for X, qt and KDE
INCLUDES = $(all_includes)
# this has all of the subdirectories that make will recurse into. if
# there are none, comment this out
SUBDIRS = toolbar
# these are the headers for your project
noinst_HEADERS = kaddstringdlg.h tdefilereplaceiface.h tdefilereplacelib.h \
knewprojectdlg.h tdefilereplaceview.h koptionsdlg.h report.h commandengine.h \
configurationclasses.h tdefilereplace.h
# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO
kde_module_LTLIBRARIES = libtdefilereplacepart.la
libtdefilereplacepart_la_SOURCES = tdefilereplacepart.cpp tdefilereplaceview.cpp \
tdefilereplaceviewwdg.ui kaddstringdlg.cpp kaddstringdlgs.ui knewprojectdlg.cpp \
knewprojectdlgs.ui koptionsdlg.cpp koptionsdlgs.ui tdefilereplacelib.cpp report.cpp \
commandengine.cpp configurationclasses.cpp
libtdefilereplacepart_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -ltdeparts -lDCOP
libtdefilereplacepart_la_LIBADD = $(LIB_KFILE) $(LIB_KPARTS) $(LIB_KHTML)
messages: rc.cpp
$(XGETTEXT) *.cpp *.h -o $(podir)/tdefilereplace.pot
KDE_ICON = AUTO
kde_services_DATA = tdefilereplacepart.desktop
xdg_apps_DATA = tdefilereplace.desktop
# this is where the XML-GUI resource file goes
partrcdir = $(kde_datadir)/tdefilereplacepart
partrc_DATA = tdefilereplacepartui.rc
shellrcdir = $(kde_datadir)/tdefilereplace
shellrc_DATA = tdefilereplaceui.rc
bin_PROGRAMS = tdefilereplace
tdefilereplace_LDFLAGS = $(KDE_RPATH) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -ltdeparts -lDCOP
tdefilereplace_LDADD = $(LIB_KPARTS)
tdefilereplace_SOURCES = tdefilereplace.cpp main.cpp

@ -25,7 +25,7 @@
#include <tqregexp.h> #include <tqregexp.h>
typedef TQMap<TQString,TQString> KeyValueMap; typedef TQMap<TQString,TQString> KeyValueMap;
// entry strings in the kfilereplacerc file // entry strings in the tdefilereplacerc file
const TQString rcDirectoriesList = "Directories list"; const TQString rcDirectoriesList = "Directories list";
const TQString rcFiltersList = "Filters list"; const TQString rcFiltersList = "Filters list";
const TQString rcRecentFiles = "Recent files"; const TQString rcRecentFiles = "Recent files";

@ -1,6 +1,6 @@
#MIN_CONFIG #MIN_CONFIG
AM_INIT_AUTOMAKE(kfilereplace, 0.8.0) AM_INIT_AUTOMAKE(tdefilereplace, 0.8.0)
dnl These are common macros that you might or might not want to use dnl These are common macros that you might or might not want to use

Before

Width:  |  Height:  |  Size: 999 B

After

Width:  |  Height:  |  Size: 999 B

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

@ -28,7 +28,7 @@
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <kdebug.h> #include <kdebug.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kapplication.h> #include <kapplication.h>
// local // local
@ -266,7 +266,7 @@ void KAddStringDlg::slotDeleteStringFromView()
void KAddStringDlg::slotHelp() void KAddStringDlg::slotHelp()
{ {
kapp->invokeHelp(TQString(), "kfilereplace"); kapp->invokeHelp(TQString(), "tdefilereplace");
} }
#include "kaddstringdlg.moc" #include "kaddstringdlg.moc"

@ -32,8 +32,8 @@
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kcharsets.h> #include <kcharsets.h>
#include <kcombobox.h> #include <kcombobox.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <klineedit.h> #include <klineedit.h>
#include <kglobal.h> #include <kglobal.h>
#include <klocale.h> #include <klocale.h>

@ -56,7 +56,7 @@ class KNewProjectDlg : public KNewProjectDlgS
void slotEnableChbUser(bool b); void slotEnableChbUser(bool b);
void slotEnableChbGroup(bool b); void slotEnableChbGroup(bool b);
void slotEnableChbBackup(bool b); void slotEnableChbBackup(bool b);
void slotHelp(){ kapp->invokeHelp(TQString(), "kfilereplace"); } void slotHelp(){ kapp->invokeHelp(TQString(), "tdefilereplace"); }
private: private:
void initGUI(); void initGUI();

@ -27,7 +27,7 @@
// KDE // KDE
#include <kcharsets.h> #include <kcharsets.h>
#include <kcombobox.h> #include <kcombobox.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kglobal.h> #include <kglobal.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
#include <kapplication.h> #include <kapplication.h>
@ -43,7 +43,7 @@ using namespace whatthisNameSpace;
KOptionsDlg::KOptionsDlg(RCOptions* info, TQWidget *parent, const char *name) : KOptionsDlgS(parent,name,true) KOptionsDlg::KOptionsDlg(RCOptions* info, TQWidget *parent, const char *name) : KOptionsDlgS(parent,name,true)
{ {
m_config = new TDEConfig("kfilereplacerc"); m_config = new TDEConfig("tdefilereplacerc");
m_option = info; m_option = info;
initGUI(); initGUI();

@ -48,7 +48,7 @@ class KOptionsDlg : public KOptionsDlgS
void slotChbBackup(bool b); void slotChbBackup(bool b);
void slotChbConfirmStrings(bool b); void slotChbConfirmStrings(bool b);
void slotChbShowConfirmDialog(bool b); void slotChbShowConfirmDialog(bool b);
void slotHelp(){ kapp->invokeHelp(TQString(), "kfilereplace"); } void slotHelp(){ kapp->invokeHelp(TQString(), "tdefilereplace"); }
private: private:
void initGUI(); void initGUI();

@ -14,7 +14,7 @@
* * * *
***************************************************************************/ ***************************************************************************/
#include "kfilereplace.h" #include "tdefilereplace.h"
#include <kapplication.h> #include <kapplication.h>
#include <kaboutdata.h> #include <kaboutdata.h>
@ -34,7 +34,7 @@ static KCmdLineOptions options[] =
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
TDEAboutData about("kfilereplace", I18N_NOOP("KFileReplace"), version, description, TDEAboutData about("tdefilereplace", I18N_NOOP("KFileReplace"), 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."), 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.tdewebdev.org"); "http://www.tdewebdev.org");

@ -1,5 +1,5 @@
/*************************************************************************** /***************************************************************************
kfilereplace.cpp - KFileReplace shell implementation tdefilereplace.cpp - KFileReplace shell implementation
------------------- -------------------
begin : Thu Sep 16 14:14:09 2004 begin : Thu Sep 16 14:14:09 2004
copyright : (C) 2004 by Andras Mantia <amantia@kde.org> copyright : (C) 2004 by Andras Mantia <amantia@kde.org>
@ -22,16 +22,16 @@
#include <kmessagebox.h> #include <kmessagebox.h>
//app includes //app includes
#include "kfilereplace.h" #include "tdefilereplace.h"
KFileReplace::KFileReplace() KFileReplace::KFileReplace()
: KParts::MainWindow(0L, "KFileReplace") : KParts::MainWindow(0L, "KFileReplace")
{ {
KLibFactory *factory = KLibLoader::self()->factory("libkfilereplacepart"); KLibFactory *factory = KLibLoader::self()->factory("libtdefilereplacepart");
if (factory) if (factory)
{ {
m_part = static_cast<KParts::ReadOnlyPart *>(factory->create(TQT_TQOBJECT(this), m_part = static_cast<KParts::ReadOnlyPart *>(factory->create(TQT_TQOBJECT(this),
"kfilereplace_part", "KParts::ReadOnlyPart" )); "tdefilereplace_part", "KParts::ReadOnlyPart" ));
if (m_part) if (m_part)
{ {
@ -92,9 +92,9 @@ void KFileReplace::applyNewToolbarConfig()
void KFileReplace::removeDuplicatedActions() void KFileReplace::removeDuplicatedActions()
{ {
KActionCollection* part_action_collection = m_part->actionCollection(); KActionCollection* part_action_collection = m_part->actionCollection();
KAction* part_about_action = part_action_collection->action("help_about_kfilereplace"); KAction* part_about_action = part_action_collection->action("help_about_tdefilereplace");
KAction* part_report_action = part_action_collection->action("report_bug"); KAction* part_report_action = part_action_collection->action("report_bug");
KAction* part_help_action= part_action_collection->action("help_kfilereplace"); KAction* part_help_action= part_action_collection->action("help_tdefilereplace");
if (!part_about_action || !part_report_action || !part_help_action || !part_action_collection) if (!part_about_action || !part_report_action || !part_help_action || !part_action_collection)
return; return;
@ -108,4 +108,4 @@ void KFileReplace::removeDuplicatedActions()
part_action_collection->remove(part_help_action); part_action_collection->remove(part_help_action);
} }
#include "kfilereplace.moc" #include "tdefilereplace.moc"

@ -8,10 +8,10 @@ Name[sv]=Kfilereplace
Name[ta]=Kகோப்பு இடமாற்று Name[ta]=Kகோப்பு இடமாற்று
Name[tg]=KФайлро ҷойгузор кардан Name[tg]=KФайлро ҷойгузор кардан
Name[tr]=K Dosya Değiştirme Name[tr]=K Dosya Değiştirme
Exec=kfilereplace %i %m -caption "%c" Exec=tdefilereplace %i %m -caption "%c"
Icon=kfilereplace Icon=tdefilereplace
Type=Application Type=Application
DocPath=kfilereplace/index.html DocPath=tdefilereplace/index.html
Terminal=false Terminal=false
GenericName=Search & Replace Tool GenericName=Search & Replace Tool
GenericName[bg]=Търсене и замяна GenericName[bg]=Търсене и замяна

@ -1,5 +1,5 @@
/*************************************************************************** /***************************************************************************
kfilereplace.h - KFileReplace header tdefilereplace.h - KFileReplace header
------------------- -------------------
begin : Thu Sep 16 14:14:09 2004 begin : Thu Sep 16 14:14:09 2004
copyright : (C) 2004 by Andras Mantia <amantia@kde.org> copyright : (C) 2004 by Andras Mantia <amantia@kde.org>

@ -112,7 +112,7 @@
<run> <run>
<directoryradio>build</directoryradio> <directoryradio>build</directoryradio>
<customdirectory>/</customdirectory> <customdirectory>/</customdirectory>
<mainprogram>kfilereplace/kfilereplace</mainprogram> <mainprogram>tdefilereplace/tdefilereplace</mainprogram>
<programargs/> <programargs/>
<terminal>false</terminal> <terminal>false</terminal>
<autocompile>true</autocompile> <autocompile>true</autocompile>
@ -120,7 +120,7 @@
</run> </run>
<general> <general>
<useconfiguration>default</useconfiguration> <useconfiguration>default</useconfiguration>
<activetarget>kfilereplace</activetarget> <activetarget>tdefilereplace</activetarget>
</general> </general>
<configurations> <configurations>
<default> <default>

@ -1,5 +1,5 @@
/*************************************************************************** /***************************************************************************
kfilereplaceif.h - description tdefilereplaceif.h - description
------------------- -------------------
copyright : (C) 1999 by François Dupoux copyright : (C) 1999 by François Dupoux
(C) 2003 Andras Mantia (C) 2003 Andras Mantia

@ -1,5 +1,5 @@
/*************************************************************************** /***************************************************************************
kfilereplacelib.cpp - File library tdefilereplacelib.cpp - File library
------------------- -------------------
begin : lun mai 3 20:19:52 CEST 1999 begin : lun mai 3 20:19:52 CEST 1999
@ -35,7 +35,7 @@
#include <stdlib.h> #include <stdlib.h>
// local // local
#include "kfilereplacelib.h" #include "tdefilereplacelib.h"
const double kilo = 1024.0; const double kilo = 1024.0;
const double mega = 1048576.0;//1024^2 const double mega = 1048576.0;//1024^2

@ -1,5 +1,5 @@
/*************************************************************************** /***************************************************************************
kfilereplacelib.h - File library, derived from filelib.h tdefilereplacelib.h - File library, derived from filelib.h
------------------- -------------------
begin : lun mai 3 20:19:52 CEST 1999 begin : lun mai 3 20:19:52 CEST 1999

@ -1,6 +1,6 @@
// //
// //
// C++ Implementation: kfilereplacepart // C++ Implementation: tdefilereplacepart
// //
// Description: // Description:
// //
@ -26,10 +26,10 @@
#include <kapplication.h> #include <kapplication.h>
#include <kaction.h> #include <kaction.h>
#include <kbugreport.h> #include <kbugreport.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kinstance.h> #include <kinstance.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
#include <klocale.h> #include <klocale.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <tdeparts/genericfactory.h> #include <tdeparts/genericfactory.h>
@ -43,9 +43,9 @@
#include <kguiitem.h> #include <kguiitem.h>
// local // local
#include "kfilereplacelib.h" #include "tdefilereplacelib.h"
#include "kfilereplacepart.h" #include "tdefilereplacepart.h"
#include "kfilereplaceview.h" #include "tdefilereplaceview.h"
#include "koptionsdlg.h" #include "koptionsdlg.h"
#include "knewprojectdlg.h" #include "knewprojectdlg.h"
#include "report.h" #include "report.h"
@ -58,14 +58,14 @@ using namespace whatthisNameSpace;
// Factory code for KDE 3 // Factory code for KDE 3
typedef KParts::GenericFactory<KFileReplacePart> FileReplaceFactory; typedef KParts::GenericFactory<KFileReplacePart> FileReplaceFactory;
K_EXPORT_COMPONENT_FACTORY( libkfilereplacepart, FileReplaceFactory ) K_EXPORT_COMPONENT_FACTORY( libtdefilereplacepart, FileReplaceFactory )
KFileReplacePart::KFileReplacePart(TQWidget* parentWidget, const char* , TQObject* parent, const char* name, const TQStringList & ) : KParts::ReadOnlyPart(parent,name) KFileReplacePart::KFileReplacePart(TQWidget* parentWidget, const char* , TQObject* parent, const char* name, const TQStringList & ) : KParts::ReadOnlyPart(parent,name)
{ {
setInstance(FileReplaceFactory::instance()); setInstance(FileReplaceFactory::instance());
TDEGlobal::locale()->insertCatalogue("kfilereplace"); TDEGlobal::locale()->insertCatalogue("tdefilereplace");
m_parentWidget = parentWidget; m_parentWidget = parentWidget;
m_config = new TDEConfig("kfilereplacerc"); m_config = new TDEConfig("tdefilereplacerc");
m_aboutDlg = 0; m_aboutDlg = 0;
m_stop = false; m_stop = false;
m_optionMask = TQDir::Files; m_optionMask = TQDir::Files;
@ -443,7 +443,7 @@ void KFileReplacePart::showAboutApplication()
void KFileReplacePart::appHelpActivated() void KFileReplacePart::appHelpActivated()
{ {
kapp->invokeHelp(TQString(), "kfilereplace"); kapp->invokeHelp(TQString(), "tdefilereplace");
} }
void KFileReplacePart::reportBug() void KFileReplacePart::reportBug()
@ -484,7 +484,7 @@ void KFileReplacePart::resetActions()
actionCollection()->action("options_case")->setEnabled(true); actionCollection()->action("options_case")->setEnabled(true);
actionCollection()->action("options_var")->setEnabled(!searchOnlyMode); actionCollection()->action("options_var")->setEnabled(!searchOnlyMode);
actionCollection()->action("options_regularexpressions")->setEnabled(true); actionCollection()->action("options_regularexpressions")->setEnabled(true);
actionCollection()->action("configure_kfilereplace")->setEnabled(true); actionCollection()->action("configure_tdefilereplace")->setEnabled(true);
hasItems = (rv->firstChild() != 0); hasItems = (rv->firstChild() != 0);
@ -509,7 +509,7 @@ void KFileReplacePart::resetActions()
//PUBLIC METHODS //PUBLIC METHODS
TDEAboutData* KFileReplacePart::createAboutData() TDEAboutData* KFileReplacePart::createAboutData()
{ {
TDEAboutData * aboutData = new TDEAboutData("kfilereplacepart", TDEAboutData * aboutData = new TDEAboutData("tdefilereplacepart",
I18N_NOOP("KFileReplacePart"), I18N_NOOP("KFileReplacePart"),
KFR_VERSION, KFR_VERSION,
I18N_NOOP( "Batch search and replace tool."), I18N_NOOP( "Batch search and replace tool."),
@ -551,7 +551,7 @@ bool KFileReplacePart::openURL(const KURL &url)
//PRIVATE METHODS //PRIVATE METHODS
void KFileReplacePart::initGUI() void KFileReplacePart::initGUI()
{ {
setXMLFile("kfilereplacepartui.rc"); setXMLFile("tdefilereplacepartui.rc");
actionCollection()->setHighlightingEnabled(true); actionCollection()->setHighlightingEnabled(true);
@ -592,7 +592,7 @@ void KFileReplacePart::initGUI()
(void)new KToggleAction(i18n("Case &Sensitive"), "casesensitive_option", 0, TQT_TQOBJECT(this), TQT_SLOT(slotOptionCaseSensitive()), actionCollection(), "options_case"); (void)new KToggleAction(i18n("Case &Sensitive"), "casesensitive_option", 0, TQT_TQOBJECT(this), TQT_SLOT(slotOptionCaseSensitive()), actionCollection(), "options_case");
(void)new KToggleAction(i18n("Enable Commands &in Replace String: [$command:option$]"), "command_option", 0, TQT_TQOBJECT(this), TQT_SLOT(slotOptionVariables()), actionCollection(), "options_var"); (void)new KToggleAction(i18n("Enable Commands &in Replace String: [$command:option$]"), "command_option", 0, TQT_TQOBJECT(this), TQT_SLOT(slotOptionVariables()), actionCollection(), "options_var");
(void)new KToggleAction(i18n("Enable &Regular Expressions"), "regularexpression_option", 0, TQT_TQOBJECT(this), TQT_SLOT(slotOptionRegularExpressions()), actionCollection(), "options_regularexpressions"); (void)new KToggleAction(i18n("Enable &Regular Expressions"), "regularexpression_option", 0, TQT_TQOBJECT(this), TQT_SLOT(slotOptionRegularExpressions()), actionCollection(), "options_regularexpressions");
(void)new KAction(i18n("Configure &KFileReplace..."), "configure", 0, TQT_TQOBJECT(this), TQT_SLOT(slotOptionPreferences()), actionCollection(), "configure_kfilereplace"); (void)new KAction(i18n("Configure &KFileReplace..."), "configure", 0, TQT_TQOBJECT(this), TQT_SLOT(slotOptionPreferences()), actionCollection(), "configure_tdefilereplace");
// Results // Results
(void)new KAction(i18n("&Properties"), "informations", 0, TQT_TQOBJECT(m_view), TQT_SLOT(slotResultProperties()), actionCollection(), "results_infos"); (void)new KAction(i18n("&Properties"), "informations", 0, TQT_TQOBJECT(m_view), TQT_SLOT(slotResultProperties()), actionCollection(), "results_infos");
@ -606,8 +606,8 @@ void KFileReplacePart::initGUI()
(void)new KAction(i18n("&Delete"), "editdelete", 0, TQT_TQOBJECT(m_view), TQT_SLOT(slotResultDelete()), actionCollection(), "results_delete"); (void)new KAction(i18n("&Delete"), "editdelete", 0, TQT_TQOBJECT(m_view), TQT_SLOT(slotResultDelete()), actionCollection(), "results_delete");
(void)new KAction(i18n("E&xpand Tree"), 0, TQT_TQOBJECT(m_view), TQT_SLOT(slotResultTreeExpand()), actionCollection(), "results_treeexpand"); (void)new KAction(i18n("E&xpand Tree"), 0, TQT_TQOBJECT(m_view), TQT_SLOT(slotResultTreeExpand()), actionCollection(), "results_treeexpand");
(void)new KAction(i18n("&Reduce Tree"), 0, TQT_TQOBJECT(m_view), TQT_SLOT(slotResultTreeReduce()), actionCollection(), "results_treereduce"); (void)new KAction(i18n("&Reduce Tree"), 0, TQT_TQOBJECT(m_view), TQT_SLOT(slotResultTreeReduce()), actionCollection(), "results_treereduce");
(void)new KAction(i18n("&About KFileReplace"), "kfilereplace", 0, TQT_TQOBJECT(this), TQT_SLOT(showAboutApplication()), actionCollection(), "help_about_kfilereplace"); (void)new KAction(i18n("&About KFileReplace"), "tdefilereplace", 0, TQT_TQOBJECT(this), TQT_SLOT(showAboutApplication()), actionCollection(), "help_about_tdefilereplace");
(void)new KAction(i18n("KFileReplace &Handbook"), "help", 0, TQT_TQOBJECT(this), TQT_SLOT(appHelpActivated()), actionCollection(), "help_kfilereplace"); (void)new KAction(i18n("KFileReplace &Handbook"), "help", 0, TQT_TQOBJECT(this), TQT_SLOT(appHelpActivated()), actionCollection(), "help_tdefilereplace");
(void)new KAction(i18n("&Report Bug"), 0, 0, TQT_TQOBJECT(this), TQT_SLOT(reportBug()), actionCollection(), "report_bug"); (void)new KAction(i18n("&Report Bug"), 0, 0, TQT_TQOBJECT(this), TQT_SLOT(reportBug()), actionCollection(), "report_bug");
} }
@ -645,7 +645,7 @@ void KFileReplacePart::freezeActions()
actionCollection()->action("options_case")->setEnabled(false); actionCollection()->action("options_case")->setEnabled(false);
actionCollection()->action("options_var")->setEnabled(false); actionCollection()->action("options_var")->setEnabled(false);
actionCollection()->action("options_regularexpressions")->setEnabled(false); actionCollection()->action("options_regularexpressions")->setEnabled(false);
actionCollection()->action("configure_kfilereplace")->setEnabled(false); actionCollection()->action("configure_tdefilereplace")->setEnabled(false);
actionCollection()->action("results_infos")->setEnabled(false); actionCollection()->action("results_infos")->setEnabled(false);
actionCollection()->action("results_openfile")->setEnabled(false); actionCollection()->action("results_openfile")->setEnabled(false);
if (actionCollection()->action("results_editfile")) if (actionCollection()->action("results_editfile"))
@ -1517,7 +1517,7 @@ void KFileReplacePart::loadRulesFile(const TQString& fileName)
{ {
file.close(); file.close();
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 kfilereplace.</qt>").arg(fileName),i18n("Warning")); 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); KFileReplaceLib::convertOldToNewKFRFormat(fileName, sv);
@ -1676,4 +1676,4 @@ void KFileReplacePart::whatsThis()
actionCollection()->action("options_regularexpressions")->setWhatsThis(optionsRegularExpressionsWhatthis); actionCollection()->action("options_regularexpressions")->setWhatsThis(optionsRegularExpressionsWhatthis);
} }
#include "kfilereplacepart.moc" #include "tdefilereplacepart.moc"

@ -1,9 +1,9 @@
[Desktop Entry] [Desktop Entry]
Type=Service Type=Service
MimeType=inode/directory MimeType=inode/directory
Icon=kfilereplace.png Icon=tdefilereplace.png
ServiceTypes=KParts/ReadOnlyPart ServiceTypes=KParts/ReadOnlyPart
X-TDE-Library=libkfilereplacepart X-TDE-Library=libtdefilereplacepart
Comment=A batch search and replace tool Comment=A batch search and replace tool
Comment[bg]=Търсене и замяна във фонов режим Comment[bg]=Търсене и замяна във фонов режим
Comment[ca]=Una eina per a la cerca i substitució per lots Comment[ca]=Una eina per a la cerca i substitució per lots

@ -1,6 +1,6 @@
// //
// //
// C++ Interface: kfilereplacepart // C++ Interface: tdefilereplacepart
// //
// Description: // Description:
// //
@ -101,12 +101,12 @@ class KFileReplacePart: public KParts::ReadOnlyPart
void initView(); void initView();
/** /**
* This method freezes the GUI of kfilereplace during searching * This method freezes the GUI of tdefilereplace during searching
*/ */
void freezeActions(); void freezeActions();
/** /**
* These methods load the resources from kfilereplacerc * These methods load the resources from tdefilereplacerc
*/ */
void loadOptionsFromRC(); void loadOptionsFromRC();
void loadOptions(); void loadOptions();
@ -118,7 +118,7 @@ class KFileReplacePart: public KParts::ReadOnlyPart
void loadBackupExtensionOptions(); void loadBackupExtensionOptions();
/** /**
* These methods save the resources to kfilereplacerc * These methods save the resources to tdefilereplacerc
*/ */
void saveOptionsToRC(); void saveOptionsToRC();
void saveOptions(); void saveOptions();

@ -1,7 +1,7 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui name="kfilereplace" version="6"> <kpartgui name="tdefilereplace" version="6">
<MenuBar> <MenuBar>
<Menu name="kfilerepace"><text>Search/&amp;Replace</text> <Menu name="tdefilerepace"><text>Search/&amp;Replace</text>
<Action name="new_project"/> <Action name="new_project"/>
<Action name="search"/> <Action name="search"/>
<Action name="file_simulate"/> <Action name="file_simulate"/>
@ -42,13 +42,13 @@
</Menu> </Menu>
</Menu> </Menu>
<Menu name="settings"><text>&amp;Settings</text> <Menu name="settings"><text>&amp;Settings</text>
<Action name="configure_kfilereplace"/> <Action name="configure_tdefilereplace"/>
</Menu> </Menu>
<Menu name="help"><text>&amp;Help</text> <Menu name="help"><text>&amp;Help</text>
<Separator/> <Separator/>
<Action name="help_kfilereplace" /> <Action name="help_tdefilereplace" />
<Action name="report_bug" /> <Action name="report_bug" />
<Action name="help_about_kfilereplace" /> <Action name="help_about_tdefilereplace" />
</Menu> </Menu>
</MenuBar> </MenuBar>
<ToolBar noMerge="1" name="mainToolBar"> <ToolBar noMerge="1" name="mainToolBar">

@ -1,10 +1,10 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui name="kfilereplace" version="1"> <kpartgui name="tdefilereplace" version="1">
<MenuBar> <MenuBar>
<Menu noMerge="1" name="file"><text>&amp;File</text> <Menu noMerge="1" name="file"><text>&amp;File</text>
<Action name="file_quit"/> <Action name="file_quit"/>
</Menu> </Menu>
<Menu name="kfilerepace"><text>Search/&amp;Replace</text> <Menu name="tdefilerepace"><text>Search/&amp;Replace</text>
</Menu> </Menu>
</MenuBar> </MenuBar>
</kpartgui> </kpartgui>

@ -1,5 +1,5 @@
/***************************************************************************** /*****************************************************************************
kfilereplaceview.cpp - description tdefilereplaceview.cpp - description
------------------- -------------------
begin : sam oct 16 15:28:00 CEST 1999 begin : sam oct 16 15:28:00 CEST 1999
copyright : (C) 1999 by Fran<EFBFBD>is Dupoux <dupoux@dupoux.com> copyright : (C) 1999 by Fran<EFBFBD>is Dupoux <dupoux@dupoux.com>
@ -33,11 +33,11 @@
//#include <kdebug.h> //#include <kdebug.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <kled.h> #include <kled.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
// local // local
#include "kfilereplaceview.h" #include "tdefilereplaceview.h"
#include "kfilereplacelib.h" #include "tdefilereplacelib.h"
#include "kaddstringdlg.h" #include "kaddstringdlg.h"
#include "whatthis.h" #include "whatthis.h"
@ -669,4 +669,4 @@ void KFileReplaceView::whatsThis()
TQWhatsThis::add(getResultsView(), lvResultWhatthis); TQWhatsThis::add(getResultsView(), lvResultWhatthis);
TQWhatsThis::add(getStringsView(), lvStringsWhatthis); TQWhatsThis::add(getStringsView(), lvStringsWhatthis);
} }
#include "kfilereplaceview.moc" #include "tdefilereplaceview.moc"

@ -1,5 +1,5 @@
/*************************************************************************** /***************************************************************************
kfilereplaceview.h - description tdefilereplaceview.h - description
------------------- -------------------
begin : sam oct 16 15:28:00 CEST 1999 begin : sam oct 16 15:28:00 CEST 1999
copyright : (C) 1999 by François Dupoux <dupoux@dupoux.com> copyright : (C) 1999 by François Dupoux <dupoux@dupoux.com>
@ -32,7 +32,7 @@ class KPopupMenu;
class KListView; class KListView;
//local //local
#include "kfilereplaceviewwdg.h" #include "tdefilereplaceviewwdg.h"
#include "configurationclasses.h" #include "configurationclasses.h"
class coord class coord

@ -10,4 +10,4 @@
################################################# #################################################
tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kfilereplacepart/icons ) tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/tdefilereplacepart/icons )

@ -0,0 +1,3 @@
appdir = $(kde_datadir)/tdefilereplacepart/icons
app_ICON = AUTO

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

@ -62,7 +62,7 @@ namespace whatthisNameSpace
const TQString chbIgnoreWhitespacesWhatthis =""; const TQString chbIgnoreWhitespacesWhatthis ="";
const TQString chbFollowSymLinksWhatthis = i18n("If kfilereplace encounters a symbolic link treats it like a normal folder or file."); const TQString chbFollowSymLinksWhatthis = i18n("If tdefilereplace encounters a symbolic link treats it like a normal folder or file.");
const TQString chbIgnoreHiddenWhatthis = i18n("Enable this option to ignore hidden files or folders."); const TQString chbIgnoreHiddenWhatthis = i18n("Enable this option to ignore hidden files or folders.");
Loading…
Cancel
Save