summaryrefslogtreecommitdiffstats
path: root/tdeioslave/smb
diff options
context:
space:
mode:
Diffstat (limited to 'tdeioslave/smb')
-rw-r--r--tdeioslave/smb/CMakeLists.txt8
-rw-r--r--tdeioslave/smb/Makefile.am24
-rw-r--r--tdeioslave/smb/smb.protocol2
-rw-r--r--tdeioslave/smb/tdeio_smb.cpp (renamed from tdeioslave/smb/kio_smb.cpp)10
-rw-r--r--tdeioslave/smb/tdeio_smb.h (renamed from tdeioslave/smb/kio_smb.h)32
-rw-r--r--tdeioslave/smb/tdeio_smb_auth.cpp (renamed from tdeioslave/smb/kio_smb_auth.cpp)6
-rw-r--r--tdeioslave/smb/tdeio_smb_browse.cpp (renamed from tdeioslave/smb/kio_smb_browse.cpp)6
-rw-r--r--tdeioslave/smb/tdeio_smb_config.cpp (renamed from tdeioslave/smb/kio_smb_config.cpp)6
-rw-r--r--tdeioslave/smb/tdeio_smb_dir.cpp (renamed from tdeioslave/smb/kio_smb_dir.cpp)6
-rw-r--r--tdeioslave/smb/tdeio_smb_file.cpp (renamed from tdeioslave/smb/kio_smb_file.cpp)6
-rw-r--r--tdeioslave/smb/tdeio_smb_internal.cpp (renamed from tdeioslave/smb/kio_smb_internal.cpp)6
-rw-r--r--tdeioslave/smb/tdeio_smb_internal.h (renamed from tdeioslave/smb/kio_smb_internal.h)2
-rw-r--r--tdeioslave/smb/tdeio_smb_mount.cpp (renamed from tdeioslave/smb/kio_smb_mount.cpp)4
13 files changed, 59 insertions, 59 deletions
diff --git a/tdeioslave/smb/CMakeLists.txt b/tdeioslave/smb/CMakeLists.txt
index 2493c2a85..23cc1f000 100644
--- a/tdeioslave/smb/CMakeLists.txt
+++ b/tdeioslave/smb/CMakeLists.txt
@@ -32,12 +32,12 @@ install( FILES smb-network.desktop DESTINATION ${DATA_INSTALL_DIR}/remoteview )
install( FILES x-smb-workgroup.desktop x-smb-server.desktop DESTINATION ${MIME_INSTALL_DIR}/application )
-##### kio_smb (module) ##########################
+##### tdeio_smb (module) ##########################
-tde_add_kpart( kio_smb AUTOMOC
+tde_add_kpart( tdeio_smb AUTOMOC
SOURCES
- kio_smb.cpp kio_smb_auth.cpp kio_smb_browse.cpp kio_smb_config.cpp
- kio_smb_dir.cpp kio_smb_file.cpp kio_smb_internal.cpp kio_smb_mount.cpp
+ tdeio_smb.cpp tdeio_smb_auth.cpp tdeio_smb_browse.cpp tdeio_smb_config.cpp
+ tdeio_smb_dir.cpp tdeio_smb_file.cpp tdeio_smb_internal.cpp tdeio_smb_mount.cpp
LINK tdeio-shared ${SMBCLIENT_LIBRARIES}
DESTINATION ${PLUGIN_INSTALL_DIR}
)
diff --git a/tdeioslave/smb/Makefile.am b/tdeioslave/smb/Makefile.am
index 97a4034da..ed3ef6d46 100644
--- a/tdeioslave/smb/Makefile.am
+++ b/tdeioslave/smb/Makefile.am
@@ -2,21 +2,21 @@
INCLUDES=$(all_includes)
-kde_module_LTLIBRARIES = kio_smb.la
-kio_smb_la_SOURCES = kio_smb.cpp \
- kio_smb_auth.cpp \
- kio_smb_browse.cpp \
- kio_smb_config.cpp \
- kio_smb_dir.cpp \
- kio_smb_file.cpp \
- kio_smb_internal.cpp \
- kio_smb_mount.cpp
+kde_module_LTLIBRARIES = tdeio_smb.la
+tdeio_smb_la_SOURCES = tdeio_smb.cpp \
+ tdeio_smb_auth.cpp \
+ tdeio_smb_browse.cpp \
+ tdeio_smb_config.cpp \
+ tdeio_smb_dir.cpp \
+ tdeio_smb_file.cpp \
+ tdeio_smb_internal.cpp \
+ tdeio_smb_mount.cpp
-kio_smb_la_LIBADD = -lkio -lsmbclient $(SMBCLIENT_EXTRA_LIBS)
+tdeio_smb_la_LIBADD = -ltdeio -lsmbclient $(SMBCLIENT_EXTRA_LIBS)
-kio_smb_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+tdeio_smb_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
-noinst_HEADERS = kio_smb.h kio_smb_internal.h
+noinst_HEADERS = tdeio_smb.h tdeio_smb_internal.h
kdelnk_DATA = smb.protocol
diff --git a/tdeioslave/smb/smb.protocol b/tdeioslave/smb/smb.protocol
index 2c0bda020..06ac69a10 100644
--- a/tdeioslave/smb/smb.protocol
+++ b/tdeioslave/smb/smb.protocol
@@ -1,5 +1,5 @@
[Protocol]
-exec=kio_smb
+exec=tdeio_smb
protocol=smb
input=none
output=filesystem
diff --git a/tdeioslave/smb/kio_smb.cpp b/tdeioslave/smb/tdeio_smb.cpp
index 193df965f..8ee270256 100644
--- a/tdeioslave/smb/kio_smb.cpp
+++ b/tdeioslave/smb/tdeio_smb.cpp
@@ -2,7 +2,7 @@
//
// Project: SMB tdeioslave for KDE2
//
-// File: Top level implementation file for kio_smb.cpp
+// File: Top level implementation file for tdeio_smb.cpp
//
// Abstract: member function implementations for SMBSlave
//
@@ -28,8 +28,8 @@
//
/////////////////////////////////////////////////////////////////////////////
-#include "kio_smb.h"
-#include "kio_smb_internal.h"
+#include "tdeio_smb.h"
+#include "tdeio_smb_internal.h"
//===========================================================================
SMBSlave::SMBSlave(const TQCString& pool, const TQCString& app)
@@ -59,10 +59,10 @@ SMBSlave* G_TheSlave;
int KDE_EXPORT kdemain( int argc, char **argv )
{
- TDEInstance instance( "kio_smb" );
+ TDEInstance instance( "tdeio_smb" );
if( argc != 4 )
{
- kdDebug(KIO_SMB) << "Usage: kio_smb protocol domain-socket1 domain-socket2"
+ kdDebug(KIO_SMB) << "Usage: tdeio_smb protocol domain-socket1 domain-socket2"
<< endl;
return -1;
}
diff --git a/tdeioslave/smb/kio_smb.h b/tdeioslave/smb/tdeio_smb.h
index 34ad0200a..0c89eae95 100644
--- a/tdeioslave/smb/kio_smb.h
+++ b/tdeioslave/smb/tdeio_smb.h
@@ -2,9 +2,9 @@
//
// Project: SMB tdeioslave for KDE2
//
-// File: kio_smb.h
+// File: tdeio_smb.h
//
-// Abstract: The main kio slave class declaration. For convenience,
+// Abstract: The main tdeio slave class declaration. For convenience,
// in concurrent devlopment, the implementation for this class
// is separated into several .cpp files -- the file containing
// the implementation should be noted in the comments for each
@@ -79,9 +79,9 @@ extern "C"
}
//---------------------------
-// kio_smb internal includes
+// tdeio_smb internal includes
//---------------------------
-#include "kio_smb_internal.h"
+#include "tdeio_smb_internal.h"
#define MAX_XFER_BUF_SIZE 16348
#define KIO_SMB 7106
@@ -129,7 +129,7 @@ private:
struct stat st;
protected:
//---------------------------------------------
- // Authentication functions (kio_smb_auth.cpp)
+ // Authentication functions (tdeio_smb_auth.cpp)
//---------------------------------------------
// (please prefix functions with auth)
@@ -144,13 +144,13 @@ protected:
//---------------------------------------------
- // Cache functions (kio_smb_auth.cpp)
+ // Cache functions (tdeio_smb_auth.cpp)
//---------------------------------------------
//Stat methods
//-----------------------------------------
- // Browsing functions (kio_smb_browse.cpp)
+ // Browsing functions (tdeio_smb_browse.cpp)
//-----------------------------------------
// (please prefix functions with browse)
@@ -175,19 +175,19 @@ protected:
int cache_stat( const SMBUrl& url, struct stat* st );
//---------------------------------------------
- // Configuration functions (kio_smb_config.cpp)
+ // Configuration functions (tdeio_smb_config.cpp)
//---------------------------------------------
// (please prefix functions with config)
//---------------------------------------
- // Directory functions (kio_smb_dir.cpp)
+ // Directory functions (tdeio_smb_dir.cpp)
//---------------------------------------
// (please prefix functions with dir)
//--------------------------------------
- // File IO functions (kio_smb_file.cpp)
+ // File IO functions (tdeio_smb_file.cpp)
//--------------------------------------
// (please prefix functions with file)
@@ -233,24 +233,24 @@ public:
// details)
//-----------------------------------------------------------------------
- // Functions overwritten in kio_smb.cpp
+ // Functions overwritten in tdeio_smb.cpp
SMBSlave(const TQCString& pool, const TQCString& app);
virtual ~SMBSlave();
- // Functions overwritten in kio_smb_browse.cpp
+ // Functions overwritten in tdeio_smb_browse.cpp
virtual void listDir( const KURL& url );
virtual void stat( const KURL& url );
- // Functions overwritten in kio_smb_config.cpp
+ // Functions overwritten in tdeio_smb_config.cpp
virtual void reparseConfiguration();
- // Functions overwritten in kio_smb_dir.cpp
+ // Functions overwritten in tdeio_smb_dir.cpp
virtual void copy( const KURL& src, const KURL &dest, int permissions, bool overwrite );
virtual void del( const KURL& kurl, bool isfile);
virtual void mkdir( const KURL& kurl, int permissions );
virtual void rename( const KURL& src, const KURL& dest, bool overwrite );
- // Functions overwritten in kio_smb_file.cpp
+ // Functions overwritten in tdeio_smb_file.cpp
virtual void get( const KURL& kurl );
virtual void put( const KURL& kurl, int permissions, bool overwrite, bool resume );
@@ -289,7 +289,7 @@ void auth_smbc_get_data(const char *server,const char *share,
//===========================================================================
-// Main slave entrypoint (see kio_smb.cpp)
+// Main slave entrypoint (see tdeio_smb.cpp)
extern "C"
{
diff --git a/tdeioslave/smb/kio_smb_auth.cpp b/tdeioslave/smb/tdeio_smb_auth.cpp
index f11d80b3a..ebc15c1c6 100644
--- a/tdeioslave/smb/kio_smb_auth.cpp
+++ b/tdeioslave/smb/tdeio_smb_auth.cpp
@@ -2,7 +2,7 @@
//
// Project: SMB tdeioslave for KDE2
//
-// File: kio_smb_auth.cpp
+// File: tdeio_smb_auth.cpp
//
// Abstract: member function implementations for SMBSlave that deal with
// SMB directory access
@@ -29,8 +29,8 @@
//
/////////////////////////////////////////////////////////////////////////////
-#include "kio_smb.h"
-#include "kio_smb_internal.h"
+#include "tdeio_smb.h"
+#include "tdeio_smb_internal.h"
#include <ksimpleconfig.h>
#include <tqdir.h>
diff --git a/tdeioslave/smb/kio_smb_browse.cpp b/tdeioslave/smb/tdeio_smb_browse.cpp
index 26c379bde..e06bb81d1 100644
--- a/tdeioslave/smb/kio_smb_browse.cpp
+++ b/tdeioslave/smb/tdeio_smb_browse.cpp
@@ -3,7 +3,7 @@
//
// Project: SMB tdeioslave for KDE2
//
-// File: kio_smb_browse.cpp
+// File: tdeio_smb_browse.cpp
//
// Abstract: member function implementations for SMBSlave that deal with
// SMB browsing
@@ -38,8 +38,8 @@
#include <kglobal.h>
-#include "kio_smb.h"
-#include "kio_smb_internal.h"
+#include "tdeio_smb.h"
+#include "tdeio_smb_internal.h"
using namespace TDEIO;
diff --git a/tdeioslave/smb/kio_smb_config.cpp b/tdeioslave/smb/tdeio_smb_config.cpp
index 8179371e7..f2f1ce562 100644
--- a/tdeioslave/smb/kio_smb_config.cpp
+++ b/tdeioslave/smb/tdeio_smb_config.cpp
@@ -2,7 +2,7 @@
//
// Project: SMB tdeioslave for KDE2
//
-// File: kio_smb_config.cpp
+// File: tdeio_smb_config.cpp
//
// Abstract: member function implementations for SMBSlave that deal with
// KDE/SMB slave configuration
@@ -29,8 +29,8 @@
//
/////////////////////////////////////////////////////////////////////////////
-#include "kio_smb.h"
-#include "kio_smb_internal.h"
+#include "tdeio_smb.h"
+#include "tdeio_smb_internal.h"
#include <tdeconfig.h>
#include <tqtextcodec.h>
diff --git a/tdeioslave/smb/kio_smb_dir.cpp b/tdeioslave/smb/tdeio_smb_dir.cpp
index 02dfc8100..e27420336 100644
--- a/tdeioslave/smb/kio_smb_dir.cpp
+++ b/tdeioslave/smb/tdeio_smb_dir.cpp
@@ -2,7 +2,7 @@
//
// Project: SMB tdeioslave for KDE2
//
-// File: kio_smb_dir.cpp
+// File: tdeio_smb_dir.cpp
//
// Abstract: member function implementations for SMBSlave that deal with
// SMB directory access
@@ -29,8 +29,8 @@
//
/////////////////////////////////////////////////////////////////////////////
-#include "kio_smb.h"
-#include "kio_smb_internal.h"
+#include "tdeio_smb.h"
+#include "tdeio_smb_internal.h"
//===========================================================================
diff --git a/tdeioslave/smb/kio_smb_file.cpp b/tdeioslave/smb/tdeio_smb_file.cpp
index b65f79f42..a6c010526 100644
--- a/tdeioslave/smb/kio_smb_file.cpp
+++ b/tdeioslave/smb/tdeio_smb_file.cpp
@@ -2,7 +2,7 @@
//
// Project: SMB tdeioslave for KDE2
//
-// File: kio_smb_file.cpp
+// File: tdeio_smb_file.cpp
//
// Abstract: member function implementations for SMBSlave that deal with
// SMB file access
@@ -30,8 +30,8 @@
/////////////////////////////////////////////////////////////////////////////
-#include "kio_smb.h"
-#include "kio_smb_internal.h"
+#include "tdeio_smb.h"
+#include "tdeio_smb_internal.h"
#include <kmimetype.h>
diff --git a/tdeioslave/smb/kio_smb_internal.cpp b/tdeioslave/smb/tdeio_smb_internal.cpp
index 8f56a8f62..de3f98127 100644
--- a/tdeioslave/smb/kio_smb_internal.cpp
+++ b/tdeioslave/smb/tdeio_smb_internal.cpp
@@ -2,7 +2,7 @@
//
// Project: SMB tdeioslave for KDE2
//
-// File: kio_smb_internal.cpp
+// File: tdeio_smb_internal.cpp
//
// Abstract: Utility class implementation used by SMBSlave
//
@@ -28,8 +28,8 @@
//
/////////////////////////////////////////////////////////////////////////////
-#include "kio_smb.h"
-#include "kio_smb_internal.h"
+#include "tdeio_smb.h"
+#include "tdeio_smb_internal.h"
#include <tqtextcodec.h>
diff --git a/tdeioslave/smb/kio_smb_internal.h b/tdeioslave/smb/tdeio_smb_internal.h
index 2d97aee31..3eeae43a7 100644
--- a/tdeioslave/smb/kio_smb_internal.h
+++ b/tdeioslave/smb/tdeio_smb_internal.h
@@ -2,7 +2,7 @@
//
// Project: SMB tdeioslave for KDE2
//
-// File: kio_smb_internal.h
+// File: tdeio_smb_internal.h
//
// Abstract: Utility classes used by SMBSlave
//
diff --git a/tdeioslave/smb/kio_smb_mount.cpp b/tdeioslave/smb/tdeio_smb_mount.cpp
index ad421f631..1cda7f5f4 100644
--- a/tdeioslave/smb/kio_smb_mount.cpp
+++ b/tdeioslave/smb/tdeio_smb_mount.cpp
@@ -18,7 +18,7 @@
Boston, MA 02110-1301, USA.
*/
-#include "kio_smb.h"
+#include "tdeio_smb.h"
#include <kstandarddirs.h>
#include <tqcstring.h>
#include <unistd.h>
@@ -208,4 +208,4 @@ void SMBSlave::special( const TQByteArray & data)
finished();
}
-#include "kio_smb.moc"
+#include "tdeio_smb.moc"