summaryrefslogtreecommitdiffstats
path: root/tdeioslave/man
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 15:11:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 15:11:21 -0600
commit472156a41b1348c714986c772759ad950fffbe75 (patch)
tree86369dab3bbe3d52c49051665bdfb49b9dfc16e3 /tdeioslave/man
parent3e891e81335e5243583dab27faeebf001b8139a6 (diff)
downloadtdebase-472156a41b1348c714986c772759ad950fffbe75.tar.gz
tdebase-472156a41b1348c714986c772759ad950fffbe75.zip
Rename kioslaves
Diffstat (limited to 'tdeioslave/man')
-rw-r--r--tdeioslave/man/CMakeLists.txt10
-rw-r--r--tdeioslave/man/Makefile.am24
-rw-r--r--tdeioslave/man/man.protocol2
-rw-r--r--tdeioslave/man/man2html.cpp2
-rw-r--r--tdeioslave/man/tdeio_man.cpp (renamed from tdeioslave/man/kio_man.cpp)10
-rw-r--r--tdeioslave/man/tdeio_man.css (renamed from tdeioslave/man/kio_man.css)0
-rw-r--r--tdeioslave/man/tdeio_man.h (renamed from tdeioslave/man/kio_man.h)6
-rw-r--r--tdeioslave/man/tdeio_man_test.cpp (renamed from tdeioslave/man/kio_man_test.cpp)6
8 files changed, 30 insertions, 30 deletions
diff --git a/tdeioslave/man/CMakeLists.txt b/tdeioslave/man/CMakeLists.txt
index fca109df0..ad3ed012b 100644
--- a/tdeioslave/man/CMakeLists.txt
+++ b/tdeioslave/man/CMakeLists.txt
@@ -9,7 +9,7 @@
#
#################################################
-# FIXME not built: man2html, kio_man_test
+# FIXME not built: man2html, tdeio_man_test
##### system checks #############################
@@ -35,15 +35,15 @@ link_directories(
##### other data ################################
install( FILES man.protocol kmanpart.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kio_man.css DESTINATION ${DATA_INSTALL_DIR}/tdeio_man )
+install( FILES tdeio_man.css DESTINATION ${DATA_INSTALL_DIR}/tdeio_man )
-##### kio_man (module) ##########################
+##### tdeio_man (module) ##########################
-set( target kio_man )
+set( target tdeio_man )
tde_add_kpart( ${target} AUTOMOC
- SOURCES man2html.cpp kio_man.cpp
+ SOURCES man2html.cpp tdeio_man.cpp
LINK tdeio-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
diff --git a/tdeioslave/man/Makefile.am b/tdeioslave/man/Makefile.am
index d43edb74d..7b2554ba0 100644
--- a/tdeioslave/man/Makefile.am
+++ b/tdeioslave/man/Makefile.am
@@ -3,22 +3,22 @@
INCLUDES= $(all_includes)
AM_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
-EXTRA_PROGRAMS = kio_man_test man2html
+EXTRA_PROGRAMS = tdeio_man_test man2html
####### just for testing (j.habenicht@europemail.com, 15.02.2001)
-kio_man_test_SOURCES = kio_man_test.cpp
-kio_man_test_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
-kio_man_test_LDADD = man2html.lo kio_man.lo $(LIB_KIO) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_QT)
+tdeio_man_test_SOURCES = tdeio_man_test.cpp
+tdeio_man_test_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
+tdeio_man_test_LDADD = man2html.lo tdeio_man.lo $(LIB_KIO) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_QT)
####### Files
-kde_module_LTLIBRARIES = kio_man.la libkmanpart.la
+kde_module_LTLIBRARIES = tdeio_man.la libkmanpart.la
-kio_man_la_SOURCES = man2html.cpp kio_man.cpp
-kio_man_la_LIBADD = $(LIB_KSYCOCA)
-kio_man_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-noinst_HEADERS = kio_man.h
+tdeio_man_la_SOURCES = man2html.cpp tdeio_man.cpp
+tdeio_man_la_LIBADD = $(LIB_KSYCOCA)
+tdeio_man_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+noinst_HEADERS = tdeio_man.h
### TODO Why is man2htmk.h distributed?
libkmanpart_la_SOURCES = kmanpart.cpp
@@ -28,9 +28,9 @@ libkmanpart_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
kdelnk_DATA = man.protocol kmanpart.desktop
kdelnkdir = $(kde_servicesdir)
-kio_man_data_DATA = kio_man.css
-kio_man_datadir = $(kde_datadir)/tdeio_man
-EXTRA_DIST=$(kio_man_data_DATA)
+tdeio_man_data_DATA = tdeio_man.css
+tdeio_man_datadir = $(kde_datadir)/tdeio_man
+EXTRA_DIST=$(tdeio_man_data_DATA)
METASOURCES = AUTO
diff --git a/tdeioslave/man/man.protocol b/tdeioslave/man/man.protocol
index 555970fdc..37a57cec4 100644
--- a/tdeioslave/man/man.protocol
+++ b/tdeioslave/man/man.protocol
@@ -1,5 +1,5 @@
[Protocol]
-exec=kio_man
+exec=tdeio_man
protocol=man
input=none
output=filesystem
diff --git a/tdeioslave/man/man2html.cpp b/tdeioslave/man/man2html.cpp
index ec46b2d3d..577f7d53a 100644
--- a/tdeioslave/man/man2html.cpp
+++ b/tdeioslave/man/man2html.cpp
@@ -4073,7 +4073,7 @@ static char *scan_request(char *c)
// Most English man pages are in ISO-8859-1
out_html("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">\n");
#else
- // kio_man transforms from local to UTF-8
+ // tdeio_man transforms from local to UTF-8
out_html("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=");
out_html(TQTextCodec::codecForLocale()->mimeName());
out_html("\">\n");
diff --git a/tdeioslave/man/kio_man.cpp b/tdeioslave/man/tdeio_man.cpp
index d2ef8cb94..4c4f1945c 100644
--- a/tdeioslave/man/kio_man.cpp
+++ b/tdeioslave/man/tdeio_man.cpp
@@ -39,8 +39,8 @@
#include <klocale.h>
#include <kmimetype.h>
-#include "kio_man.h"
-#include "kio_man.moc"
+#include "tdeio_man.h"
+#include "tdeio_man.moc"
#include "man2html.h"
#include <assert.h>
#include <kfilterbase.h>
@@ -122,7 +122,7 @@ MANProtocol::MANProtocol(const TQCString &pool_socket, const TQCString &app_sock
m_cssPath=strPath.local8Bit(); // ### TODO encode for CSS
section_names << "1" << "2" << "3" << "3n" << "3p" << "4" << "5" << "6" << "7"
<< "8" << "9" << "l" << "n";
- m_manCSSFile = locate( "data", "kio_man/tdeio_man.css" );
+ m_manCSSFile = locate( "data", "tdeio_man/tdeio_man.css" );
}
MANProtocol *MANProtocol::self() { return _self; }
@@ -692,13 +692,13 @@ extern "C"
int KDE_EXPORT kdemain( int argc, char **argv ) {
- TDEInstance instance("kio_man");
+ TDEInstance instance("tdeio_man");
kdDebug(7107) << "STARTING " << getpid() << endl;
if (argc != 4)
{
- fprintf(stderr, "Usage: kio_man protocol domain-socket1 domain-socket2\n");
+ fprintf(stderr, "Usage: tdeio_man protocol domain-socket1 domain-socket2\n");
exit(-1);
}
diff --git a/tdeioslave/man/kio_man.css b/tdeioslave/man/tdeio_man.css
index 8a9f378bc..8a9f378bc 100644
--- a/tdeioslave/man/kio_man.css
+++ b/tdeioslave/man/tdeio_man.css
diff --git a/tdeioslave/man/kio_man.h b/tdeioslave/man/tdeio_man.h
index 829a07964..7ba9d1dbc 100644
--- a/tdeioslave/man/kio_man.h
+++ b/tdeioslave/man/tdeio_man.h
@@ -17,8 +17,8 @@
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
-#ifndef __kio_man_h__
-#define __kio_man_h__
+#ifndef __tdeio_man_h__
+#define __tdeio_man_h__
#include <tqstring.h>
@@ -93,7 +93,7 @@ private:
TQCString m_htmlPath; ///< Path to TDE resources, encoded for HTML
TQCString m_cssPath; ///< Path to TDE resources, encoded for CSS
TQBuffer m_outputBuffer; ///< Buffer for the output
- TQString m_manCSSFile; ///< Path to kio_man.css
+ TQString m_manCSSFile; ///< Path to tdeio_man.css
};
diff --git a/tdeioslave/man/kio_man_test.cpp b/tdeioslave/man/tdeio_man_test.cpp
index a181c47b3..a7f41434e 100644
--- a/tdeioslave/man/kio_man_test.cpp
+++ b/tdeioslave/man/tdeio_man_test.cpp
@@ -2,19 +2,19 @@
#include <tqobject.h>
-#include "kio_man.h"
+#include "tdeio_man.h"
#include <kapplication.h>
#include <klocale.h>
-class kio_man_test : public MANProtocol
+class tdeio_man_test : public MANProtocol
{
Q_OBJECT
public:
- kio_man_test(const TQCString &pool_socket, const TQCString &app_socket);
+ tdeio_man_test(const TQCString &pool_socket, const TQCString &app_socket);
protected:
virtual void data(int);