summaryrefslogtreecommitdiffstats
path: root/sip/kio
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:18:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:18:41 -0600
commit352b2ef6c06332062d35211d7f49942315d2f36a (patch)
tree842a828f1f3c6686c33cd8512d00b80d6feaefdd /sip/kio
parent8bd906c03534d2ad9cff2f22e957bf30987c99a9 (diff)
downloadpytde-352b2ef6c06332062d35211d7f49942315d2f36a.tar.gz
pytde-352b2ef6c06332062d35211d7f49942315d2f36a.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'sip/kio')
-rw-r--r--sip/kio/authinfo.sip14
-rw-r--r--sip/kio/chmodjob.sip12
-rw-r--r--sip/kio/connection.sip6
-rw-r--r--sip/kio/davjob.sip12
-rw-r--r--sip/kio/defaultprogress.sip44
-rw-r--r--sip/kio/forwardingslavebase.sip8
-rw-r--r--sip/kio/global.sip66
-rw-r--r--sip/kio/job.sip76
-rw-r--r--sip/kio/jobclasses.sip250
-rw-r--r--sip/kio/kautomount.sip4
-rw-r--r--sip/kio/kdirlister.sip6
-rw-r--r--sip/kio/kfileitem.sip10
-rw-r--r--sip/kio/kmimetype.sip4
-rw-r--r--sip/kio/kprotocolmanager.sip4
-rw-r--r--sip/kio/krun.sip6
-rw-r--r--sip/kio/kshred.sip2
-rw-r--r--sip/kio/kurifilter.sip2
-rw-r--r--sip/kio/kurlcompletion.sip4
-rw-r--r--sip/kio/metainfojob.sip12
-rw-r--r--sip/kio/netaccess.sip10
-rw-r--r--sip/kio/observer.sip46
-rw-r--r--sip/kio/passdlg.sip4
-rw-r--r--sip/kio/paste.sip12
-rw-r--r--sip/kio/previewjob.sip12
-rw-r--r--sip/kio/progressbase.sip38
-rw-r--r--sip/kio/renamedlg.sip8
-rw-r--r--sip/kio/renamedlgplugin.sip2
-rw-r--r--sip/kio/scheduler.sip34
-rw-r--r--sip/kio/sessiondata.sip6
-rw-r--r--sip/kio/skipdlg.sip6
-rw-r--r--sip/kio/slave.sip22
-rw-r--r--sip/kio/slavebase.sip50
-rw-r--r--sip/kio/slaveconfig.sip10
-rw-r--r--sip/kio/slaveinterface.sip32
-rw-r--r--sip/kio/statusbarprogress.sip14
-rw-r--r--sip/kio/tcpslavebase.sip6
36 files changed, 427 insertions, 427 deletions
diff --git a/sip/kio/authinfo.sip b/sip/kio/authinfo.sip
index 33531f4..71ca01c 100644
--- a/sip/kio/authinfo.sip
+++ b/sip/kio/authinfo.sip
@@ -23,7 +23,7 @@
// If not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-namespace KIO
+namespace TDEIO
{
class AuthInfo
@@ -35,7 +35,7 @@ class AuthInfo
public:
AuthInfo ();
- AuthInfo (const KIO::AuthInfo&);
+ AuthInfo (const TDEIO::AuthInfo&);
bool isModified () const;
void setModified (bool);
KURL url;
@@ -57,8 +57,8 @@ protected:
%If ( KDE_3_1_4 - )
-//igx TQDataStream& operator << (TQDataStream&, const KIO::AuthInfo&);
-//igx TQDataStream& operator >> (TQDataStream&, KIO::AuthInfo&);
+//igx TQDataStream& operator << (TQDataStream&, const TDEIO::AuthInfo&);
+//igx TQDataStream& operator >> (TQDataStream&, TDEIO::AuthInfo&);
%End
@@ -93,8 +93,8 @@ public:
public:
- static KIO::NetRC* self ();
- bool lookup (const KURL&, KIO::NetRC::AutoLogin&, bool = 0, TQString = TQString ::null , int = 6);
+ static TDEIO::NetRC* self ();
+ bool lookup (const KURL&, TDEIO::NetRC::AutoLogin&, bool = 0, TQString = TQString ::null , int = 6);
void reload ();
protected:
@@ -119,7 +119,7 @@ protected:
}; // class NetRC
-}; // namespace KIO
+}; // namespace TDEIO
diff --git a/sip/kio/chmodjob.sip b/sip/kio/chmodjob.sip
index df93c7a..b977552 100644
--- a/sip/kio/chmodjob.sip
+++ b/sip/kio/chmodjob.sip
@@ -23,10 +23,10 @@
// If not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-namespace KIO
+namespace TDEIO
{
-class ChmodJob : KIO::Job
+class ChmodJob : TDEIO::Job
{
%TypeHeaderCode
#include <jobclasses.h>
@@ -41,8 +41,8 @@ protected:
void chmodNextFile ();
protected slots:
- virtual void slotResult (KIO::Job*);
- void slotEntries (KIO::Job*, const KIO::UDSEntryList&);
+ virtual void slotResult (TDEIO::Job*);
+ void slotEntries (TDEIO::Job*, const TDEIO::UDSEntryList&);
void processList ();
protected:
@@ -50,6 +50,6 @@ protected:
}; // class ChmodJob
-KIO::ChmodJob* chmod (const KFileItemList&, int, int, TQString, TQString, bool, bool = 1);
-}; // namespace KIO
+TDEIO::ChmodJob* chmod (const KFileItemList&, int, int, TQString, TQString, bool, bool = 1);
+}; // namespace TDEIO
diff --git a/sip/kio/connection.sip b/sip/kio/connection.sip
index 4b35123..aef53cc 100644
--- a/sip/kio/connection.sip
+++ b/sip/kio/connection.sip
@@ -23,7 +23,7 @@
// If not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-namespace KIO
+namespace TDEIO
{
class Task
@@ -49,7 +49,7 @@ class Connection : TQObject
public:
Connection ();
- void init (KSocket*);
+ void init (TDESocket*);
void init (int, int);
void connect (TQObject* = 0, const char* = 0);
void close ();
@@ -68,5 +68,5 @@ protected slots:
}; // class Connection
-}; // namespace KIO
+}; // namespace TDEIO
diff --git a/sip/kio/davjob.sip b/sip/kio/davjob.sip
index 3336f86..ed50fa5 100644
--- a/sip/kio/davjob.sip
+++ b/sip/kio/davjob.sip
@@ -25,10 +25,10 @@
%If ( KDE_3_1_0 - )
-namespace KIO
+namespace TDEIO
{
-class DavJob : KIO::TransferJob
+class DavJob : TDEIO::TransferJob
{
%TypeHeaderCode
#include <davjob.h>
@@ -47,10 +47,10 @@ protected:
}; // class DavJob
-KIO::DavJob* davPropFind (const KURL&, const TQDomDocument&, TQString, bool = 1);
-KIO::DavJob* davPropPatch (const KURL&, const TQDomDocument&, bool = 1);
-KIO::DavJob* davSearch (const KURL&, const TQString&, const TQString&, const TQString&, bool = 1);
-}; // namespace KIO
+TDEIO::DavJob* davPropFind (const KURL&, const TQDomDocument&, TQString, bool = 1);
+TDEIO::DavJob* davPropPatch (const KURL&, const TQDomDocument&, bool = 1);
+TDEIO::DavJob* davSearch (const KURL&, const TQString&, const TQString&, const TQString&, bool = 1);
+}; // namespace TDEIO
%End
diff --git a/sip/kio/defaultprogress.sip b/sip/kio/defaultprogress.sip
index aedaa56..25893b8 100644
--- a/sip/kio/defaultprogress.sip
+++ b/sip/kio/defaultprogress.sip
@@ -23,10 +23,10 @@
// If not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-namespace KIO
+namespace TDEIO
{
-class DefaultProgress : KIO::ProgressBase
+class DefaultProgress : TDEIO::ProgressBase
{
%TypeHeaderCode
#include <defaultprogress.h>
@@ -43,7 +43,7 @@ public:
bool keepOpen () const;
%If ( KDE_3_4_0 - )
- static TQString makePercentString (ulong, KIO::filesize_t, ulong);
+ static TQString makePercentString (ulong, TDEIO::filesize_t, ulong);
%End
%End
@@ -52,28 +52,28 @@ public:
public slots:
- virtual void slotTotalSize (KIO::Job*, KIO::filesize_t);
- virtual void slotTotalFiles (KIO::Job*, ulong);
- virtual void slotTotalDirs (KIO::Job*, ulong);
- virtual void slotProcessedSize (KIO::Job*, KIO::filesize_t);
- virtual void slotProcessedFiles (KIO::Job*, ulong);
- virtual void slotProcessedDirs (KIO::Job*, ulong);
- virtual void slotSpeed (KIO::Job*, ulong);
- virtual void slotPercent (KIO::Job*, ulong);
- virtual void slotInfoMessage (KIO::Job*, const TQString&);
- virtual void slotCopying (KIO::Job*, const KURL&, const KURL&);
- virtual void slotMoving (KIO::Job*, const KURL&, const KURL&);
- virtual void slotDeleting (KIO::Job*, const KURL&);
+ virtual void slotTotalSize (TDEIO::Job*, TDEIO::filesize_t);
+ virtual void slotTotalFiles (TDEIO::Job*, ulong);
+ virtual void slotTotalDirs (TDEIO::Job*, ulong);
+ virtual void slotProcessedSize (TDEIO::Job*, TDEIO::filesize_t);
+ virtual void slotProcessedFiles (TDEIO::Job*, ulong);
+ virtual void slotProcessedDirs (TDEIO::Job*, ulong);
+ virtual void slotSpeed (TDEIO::Job*, ulong);
+ virtual void slotPercent (TDEIO::Job*, ulong);
+ virtual void slotInfoMessage (TDEIO::Job*, const TQString&);
+ virtual void slotCopying (TDEIO::Job*, const KURL&, const KURL&);
+ virtual void slotMoving (TDEIO::Job*, const KURL&, const KURL&);
+ virtual void slotDeleting (TDEIO::Job*, const KURL&);
%If ( KDE_3_1_0 - )
- void slotTransferring (KIO::Job*, const KURL&);
+ void slotTransferring (TDEIO::Job*, const KURL&);
%End
- virtual void slotCreatingDir (KIO::Job*, const KURL&);
- virtual void slotStating (KIO::Job*, const KURL&);
- virtual void slotMounting (KIO::Job*, const TQString&, const TQString&);
- virtual void slotUnmounting (KIO::Job*, const TQString&);
- virtual void slotCanResume (KIO::Job*, KIO::filesize_t);
+ virtual void slotCreatingDir (TDEIO::Job*, const KURL&);
+ virtual void slotStating (TDEIO::Job*, const KURL&);
+ virtual void slotMounting (TDEIO::Job*, const TQString&, const TQString&);
+ virtual void slotUnmounting (TDEIO::Job*, const TQString&);
+ virtual void slotCanResume (TDEIO::Job*, TDEIO::filesize_t);
%If ( KDE_3_1_0 - )
void slotClean ();
@@ -99,5 +99,5 @@ protected:
}; // class DefaultProgress
-}; // namespace KIO
+}; // namespace TDEIO
diff --git a/sip/kio/forwardingslavebase.sip b/sip/kio/forwardingslavebase.sip
index 18ea824..65dca49 100644
--- a/sip/kio/forwardingslavebase.sip
+++ b/sip/kio/forwardingslavebase.sip
@@ -25,10 +25,10 @@
%If ( KDE_3_4_0 - )
-namespace KIO
+namespace TDEIO
{
-class ForwardingSlaveBase : TQObject, KIO::SlaveBase
+class ForwardingSlaveBase : TQObject, TDEIO::SlaveBase
{
%TypeHeaderCode
#include <forwardingslavebase.h>
@@ -51,13 +51,13 @@ public:
protected:
virtual bool rewriteURL (const KURL&, KURL&) = 0;
- virtual void prepareUDSEntry (KIO::UDSEntry&, bool = 0) const;
+ virtual void prepareUDSEntry (TDEIO::UDSEntry&, bool = 0) const;
KURL processedURL () const;
KURL requestedURL () const;
}; // class ForwardingSlaveBase
-}; // namespace KIO
+}; // namespace TDEIO
%End
diff --git a/sip/kio/global.sip b/sip/kio/global.sip
index 8fb1e3f..6ba32e2 100644
--- a/sip/kio/global.sip
+++ b/sip/kio/global.sip
@@ -27,26 +27,26 @@
#include <kio/global.h>
%End
-namespace KIO
+namespace TDEIO
{
typedef long long fileoffset_t;
typedef unsigned long long filesize_t;
-TQString convertSize (KIO::filesize_t);
+TQString convertSize (TDEIO::filesize_t);
%If ( KDE_3_5_0 - )
-TQString convertSizeWithBytes (KIO::filesize_t);
+TQString convertSizeWithBytes (TDEIO::filesize_t);
%End
-TQString number (KIO::filesize_t);
-TQString convertSizeFromKB (KIO::filesize_t);
+TQString number (TDEIO::filesize_t);
+TQString convertSizeFromKB (TDEIO::filesize_t);
%If ( KDE_3_4_0 - )
-uint calculateRemainingSeconds (KIO::filesize_t, KIO::filesize_t, KIO::filesize_t);
+uint calculateRemainingSeconds (TDEIO::filesize_t, TDEIO::filesize_t, TDEIO::filesize_t);
TQString convertSeconds (uint);
%End
-TQTime calculateRemaining (KIO::filesize_t, KIO::filesize_t, KIO::filesize_t);
-TQString itemsSummaryString (uint, uint, uint, KIO::filesize_t, bool);
+TQTime calculateRemaining (TDEIO::filesize_t, TDEIO::filesize_t, TDEIO::filesize_t);
+TQString itemsSummaryString (uint, uint, uint, TDEIO::filesize_t, bool);
TQString encodeFileName (const TQString&);
TQString decodeFileName (const TQString&);
@@ -214,8 +214,8 @@ enum CacheControl
%End
-KIO::CacheControl parseCacheControl (const TQString&);
-TQString getCacheControlString (KIO::CacheControl);
+TDEIO::CacheControl parseCacheControl (const TQString&);
+TQString getCacheControlString (TDEIO::CacheControl);
TQString findDeviceMountPoint (const TQString&);
TQString findPathMountPoint (const TQString&);
bool probably_slow_mounted (const TQString&);
@@ -234,7 +234,7 @@ enum FileSystemFlag
CaseInsensitive
};
-bool testFileSystemFlag (const TQString&, KIO::FileSystemFlag);
+bool testFileSystemFlag (const TQString&, TDEIO::FileSystemFlag);
%End
%End
@@ -254,8 +254,8 @@ public:
}; // class UDSAtom
-//ig typedef TQValueList<KIO::UDSAtom> UDSEntry;
-//ig typedef TQValueList<KIO::UDSEntry> UDSEntryList;
+//ig typedef TQValueList<TDEIO::UDSAtom> UDSEntry;
+//ig typedef TQValueList<TDEIO::UDSEntry> UDSEntryList;
//ig typedef TQValueListIterator<UDSEntry> UDSEntryListIterator;
//ig typedef TQValueListConstIterator<UDSEntry> UDSEntryListConstIterator;
@@ -452,17 +452,17 @@ enum CacheControl
//force
//ig typedef TQMap<TQString,TQString> MetaData;
//end
-}; // namespace KIO
+}; // namespace TDEIO
//force
-KIO::UDSEntry testKIOUDSEntry (KIO::UDSEntry);
+TDEIO::UDSEntry testKIOUDSEntry (TDEIO::UDSEntry);
%MethodCode
//takes list | (KIO.UDSEntry)
//returns (KIO.UDSEntry)
sipRes = a0;
%End
-KIO::UDSEntryList testKIOUDSEntryList (KIO::UDSEntryList);
+TDEIO::UDSEntryList testKIOUDSEntryList (TDEIO::UDSEntryList);
%MethodCode
//takes list | (KIO.UDSEntryList)
//returns (KIO.UDSEntryList)
@@ -473,7 +473,7 @@ KIO::UDSEntryList testKIOUDSEntryList (KIO::UDSEntryList);
#include <tqmap.h>
%End
-KIO::MetaData testKIOMetaData (KIO::MetaData);
+TDEIO::MetaData testKIOMetaData (TDEIO::MetaData);
%MethodCode
//takes dict | (KIO.MetaData)
//returns (KIO.MetaData)
@@ -483,7 +483,7 @@ KIO::MetaData testKIOMetaData (KIO::MetaData);
//end
-%MappedType KIO::UDSEntry
+%MappedType TDEIO::UDSEntry
//converts a Python list of KIO.UDSAtom
{
%TypeHeaderCode
@@ -500,14 +500,14 @@ KIO::MetaData testKIOMetaData (KIO::MetaData);
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- TQValueList<KIO::UDSAtom> *cpplist = (TQValueList<KIO::UDSAtom> *)sipCpp;
+ TQValueList<TDEIO::UDSAtom> *cpplist = (TQValueList<TDEIO::UDSAtom> *)sipCpp;
PyObject *inst;
// Get it.
- TQValueList<KIO::UDSAtom>::Iterator it;
+ TQValueList<TDEIO::UDSAtom>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
- if (((inst = sipConvertFromNewType(new KIO::UDSAtom(*it), sipType_KIO_UDSAtom, NULL)) == NULL)
+ if (((inst = sipConvertFromNewType(new TDEIO::UDSAtom(*it), sipType_KIO_UDSAtom, NULL)) == NULL)
|| PyList_Append (pylist, inst) < 0)
{
Py_DECREF (pylist);
@@ -523,16 +523,16 @@ KIO::MetaData testKIOMetaData (KIO::MetaData);
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- TQValueList<KIO::UDSAtom> *cpplist = new TQValueList<KIO::UDSAtom>;
+ TQValueList<TDEIO::UDSAtom> *cpplist = new TQValueList<TDEIO::UDSAtom>;
PyObject *elem;
- KIO::UDSAtom *cpp;
+ TDEIO::UDSAtom *cpp;
int iserr = 0;
for (int i = 0; i < PyList_Size (sipPy); i++)
{
elem = PyList_GET_ITEM (sipPy, i);
- cpp = (KIO::UDSAtom *)sipForceConvertToType(elem, sipType_KIO_UDSAtom, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
+ cpp = (TDEIO::UDSAtom *)sipForceConvertToType(elem, sipType_KIO_UDSAtom, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr)
{
@@ -551,7 +551,7 @@ KIO::MetaData testKIOMetaData (KIO::MetaData);
};
-%MappedType KIO::UDSEntryList
+%MappedType TDEIO::UDSEntryList
//converts a Python list of KIO.UDSEntry
{
%TypeHeaderCode
@@ -568,14 +568,14 @@ KIO::MetaData testKIOMetaData (KIO::MetaData);
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- TQValueList<KIO::UDSEntry> *cpplist = (TQValueList<KIO::UDSEntry> *)sipCpp;
+ TQValueList<TDEIO::UDSEntry> *cpplist = (TQValueList<TDEIO::UDSEntry> *)sipCpp;
PyObject *inst;
// Get it.
- TQValueList<KIO::UDSEntry>::Iterator it;
+ TQValueList<TDEIO::UDSEntry>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
- KIO::UDSEntry cpp = *it;
+ TDEIO::UDSEntry cpp = *it;
inst = sipConvertFromType(&cpp, sipType_KIO_UDSEntry, sipTransferObj);
if (PyList_Append (pylist, inst) < 0)
@@ -593,16 +593,16 @@ KIO::MetaData testKIOMetaData (KIO::MetaData);
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- TQValueList<KIO::UDSEntry> *cpplist = new TQValueList<KIO::UDSEntry>;
+ TQValueList<TDEIO::UDSEntry> *cpplist = new TQValueList<TDEIO::UDSEntry>;
PyObject *elem;
- KIO::UDSEntry *cpp;
+ TDEIO::UDSEntry *cpp;
int iserr = 0;
for (int i = 0; i < PyList_Size (sipPy); i++)
{
elem = PyList_GET_ITEM (sipPy, i);
- cpp = (KIO::UDSEntry *)sipForceConvertToType(elem, sipType_KIO_UDSEntry, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
+ cpp = (TDEIO::UDSEntry *)sipForceConvertToType(elem, sipType_KIO_UDSEntry, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr)
{
@@ -621,7 +621,7 @@ KIO::MetaData testKIOMetaData (KIO::MetaData);
};
-%MappedType KIO::MetaData
+%MappedType TDEIO::MetaData
//converts a Python dict of TQString, TQString
{
%TypeHeaderCode
@@ -705,7 +705,7 @@ KIO::MetaData testKIOMetaData (KIO::MetaData);
sipReleaseType(bcpp, sipType_TQString, bcpp_state);
}
- *sipCppPtr = (KIO::MetaData *)cppmap;
+ *sipCppPtr = (TDEIO::MetaData *)cppmap;
return 1;
%End
diff --git a/sip/kio/job.sip b/sip/kio/job.sip
index 511b625..dc6f887 100644
--- a/sip/kio/job.sip
+++ b/sip/kio/job.sip
@@ -23,51 +23,51 @@
// If not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-namespace KIO
+namespace TDEIO
{
-KIO::SimpleJob* mkdir (const KURL&, int = -1);
-KIO::SimpleJob* rmdir (const KURL&);
-KIO::SimpleJob* chmod (const KURL&, int);
-KIO::SimpleJob* rename (const KURL&, const KURL&, bool);
-KIO::SimpleJob* symlink (const TQString&, const KURL&, bool, bool = 1);
-KIO::SimpleJob* special (const KURL&, const TQByteArray&, bool = 1);
-KIO::SimpleJob* mount (bool, const char*, const TQString&, const TQString&, bool = 1);
-KIO::SimpleJob* unmount (const TQString&, bool = 1);
-KIO::SimpleJob* http_update_cache (const KURL&, bool, time_t);
-KIO::StatJob* stat (const KURL&, bool = 1);
-KIO::StatJob* stat (const KURL&, bool, short, bool = 1);
-KIO::TransferJob* get (const KURL&, bool = 0, bool = 1);
-KIO::TransferJob* put (const KURL&, int, bool, bool, bool = 1);
-KIO::TransferJob* http_post (const KURL&, const TQByteArray&, bool = 1);
+TDEIO::SimpleJob* mkdir (const KURL&, int = -1);
+TDEIO::SimpleJob* rmdir (const KURL&);
+TDEIO::SimpleJob* chmod (const KURL&, int);
+TDEIO::SimpleJob* rename (const KURL&, const KURL&, bool);
+TDEIO::SimpleJob* symlink (const TQString&, const KURL&, bool, bool = 1);
+TDEIO::SimpleJob* special (const KURL&, const TQByteArray&, bool = 1);
+TDEIO::SimpleJob* mount (bool, const char*, const TQString&, const TQString&, bool = 1);
+TDEIO::SimpleJob* unmount (const TQString&, bool = 1);
+TDEIO::SimpleJob* http_update_cache (const KURL&, bool, time_t);
+TDEIO::StatJob* stat (const KURL&, bool = 1);
+TDEIO::StatJob* stat (const KURL&, bool, short, bool = 1);
+TDEIO::TransferJob* get (const KURL&, bool = 0, bool = 1);
+TDEIO::TransferJob* put (const KURL&, int, bool, bool, bool = 1);
+TDEIO::TransferJob* http_post (const KURL&, const TQByteArray&, bool = 1);
%If ( KDE_3_3_0 - )
-KIO::StoredTransferJob* storedGet (const KURL&, bool = 0, bool = 1);
-KIO::StoredTransferJob* storedPut (const TQByteArray&, const KURL&, int, bool, bool, bool = 1);
+TDEIO::StoredTransferJob* storedGet (const KURL&, bool = 0, bool = 1);
+TDEIO::StoredTransferJob* storedPut (const TQByteArray&, const KURL&, int, bool, bool, bool = 1);
%End
-KIO::MultiGetJob* multi_get (long, const KURL&, const KIO::MetaData&);
-KIO::MimetypeJob* mimetype (const KURL&, bool = 1);
-KIO::FileCopyJob* file_copy (const KURL&, const KURL&, int = -1, bool = 0, bool = 0, bool = 1);
-KIO::FileCopyJob* file_move (const KURL&, const KURL&, int = -1, bool = 0, bool = 0, bool = 1);
-KIO::SimpleJob* file_delete (const KURL&, bool = 1);
-KIO::ListJob* listDir (const KURL&, bool = 1, bool = 1);
-KIO::ListJob* listRecursive (const KURL&, bool = 1, bool = 1);
-KIO::CopyJob* copy (const KURL&, const KURL&, bool = 1);
-KIO::CopyJob* copyAs (const KURL&, const KURL&, bool = 1);
-KIO::CopyJob* copy (const KURL::List&, const KURL&, bool = 1);
-KIO::CopyJob* move (const KURL&, const KURL&, bool = 1);
-KIO::CopyJob* moveAs (const KURL&, const KURL&, bool = 1);
-KIO::CopyJob* move (const KURL::List&, const KURL&, bool = 1);
-KIO::CopyJob* link (const KURL&, const KURL&, bool = 1);
-KIO::CopyJob* link (const KURL::List&, const KURL&, bool = 1);
-KIO::CopyJob* linkAs (const KURL&, const KURL&, bool = 1);
+TDEIO::MultiGetJob* multi_get (long, const KURL&, const TDEIO::MetaData&);
+TDEIO::MimetypeJob* mimetype (const KURL&, bool = 1);
+TDEIO::FileCopyJob* file_copy (const KURL&, const KURL&, int = -1, bool = 0, bool = 0, bool = 1);
+TDEIO::FileCopyJob* file_move (const KURL&, const KURL&, int = -1, bool = 0, bool = 0, bool = 1);
+TDEIO::SimpleJob* file_delete (const KURL&, bool = 1);
+TDEIO::ListJob* listDir (const KURL&, bool = 1, bool = 1);
+TDEIO::ListJob* listRecursive (const KURL&, bool = 1, bool = 1);
+TDEIO::CopyJob* copy (const KURL&, const KURL&, bool = 1);
+TDEIO::CopyJob* copyAs (const KURL&, const KURL&, bool = 1);
+TDEIO::CopyJob* copy (const KURL::List&, const KURL&, bool = 1);
+TDEIO::CopyJob* move (const KURL&, const KURL&, bool = 1);
+TDEIO::CopyJob* moveAs (const KURL&, const KURL&, bool = 1);
+TDEIO::CopyJob* move (const KURL::List&, const KURL&, bool = 1);
+TDEIO::CopyJob* link (const KURL&, const KURL&, bool = 1);
+TDEIO::CopyJob* link (const KURL::List&, const KURL&, bool = 1);
+TDEIO::CopyJob* linkAs (const KURL&, const KURL&, bool = 1);
%If ( KDE_3_4_0 - )
-KIO::CopyJob* trash (const KURL&, bool = 1);
-KIO::CopyJob* trash (const KURL::List&, bool = 1);
+TDEIO::CopyJob* trash (const KURL&, bool = 1);
+TDEIO::CopyJob* trash (const KURL::List&, bool = 1);
%End
-KIO::DeleteJob* del (const KURL&, bool = 0, bool = 1) /PyName=del_/;
-KIO::DeleteJob* del (const KURL::List&, bool = 0, bool = 1) /PyName=del_/;
-}; // namespace KIO
+TDEIO::DeleteJob* del (const KURL&, bool = 0, bool = 1) /PyName=del_/;
+TDEIO::DeleteJob* del (const KURL::List&, bool = 0, bool = 1) /PyName=del_/;
+}; // namespace TDEIO
diff --git a/sip/kio/jobclasses.sip b/sip/kio/jobclasses.sip
index d27caf9..3be8048 100644
--- a/sip/kio/jobclasses.sip
+++ b/sip/kio/jobclasses.sip
@@ -23,7 +23,7 @@
// If not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-namespace KIO
+namespace TDEIO
{
class Job : TQObject
@@ -62,58 +62,58 @@ public:
TQWidget* window () const;
%If ( KDE_3_1_0 - )
- void setParentJob (KIO::Job*);
- KIO::Job* parentJob () const;
+ void setParentJob (TDEIO::Job*);
+ TDEIO::Job* parentJob () const;
%End
- void setMetaData (const KIO::MetaData&);
+ void setMetaData (const TDEIO::MetaData&);
void addMetaData (const TQString&, const TQString&);
void addMetaData (const TQMap<TQString,TQString>&);
void mergeMetaData (const TQMap<TQString,TQString>&);
- KIO::MetaData outgoingMetaData () const;
- KIO::MetaData metaData () const;
+ TDEIO::MetaData outgoingMetaData () const;
+ TDEIO::MetaData metaData () const;
TQString queryMetaData (const TQString&);
%If ( KDE_3_2_0 - )
- KIO::filesize_t getProcessedSize ();
+ TDEIO::filesize_t getProcessedSize ();
%End
signals:
- void result (KIO::Job*);
- void canceled (KIO::Job*);
- void infoMessage (KIO::Job*, const TQString&);
+ void result (TDEIO::Job*);
+ void canceled (TDEIO::Job*);
+ void infoMessage (TDEIO::Job*, const TQString&);
%If ( KDE_3_5_0 - )
- void warning (KIO::Job*, const TQString&);
+ void warning (TDEIO::Job*, const TQString&);
%End
- void connected (KIO::Job*);
- void percent (KIO::Job*, ulong);
- void totalSize (KIO::Job*, KIO::filesize_t);
- void processedSize (KIO::Job*, KIO::filesize_t);
- void speed (KIO::Job*, ulong);
+ void connected (TDEIO::Job*);
+ void percent (TDEIO::Job*, ulong);
+ void totalSize (TDEIO::Job*, TDEIO::filesize_t);
+ void processedSize (TDEIO::Job*, TDEIO::filesize_t);
+ void speed (TDEIO::Job*, ulong);
protected slots:
- virtual void slotResult (KIO::Job*);
- void slotSpeed (KIO::Job*, ulong);
- void slotInfoMessage (KIO::Job*, const TQString&);
+ virtual void slotResult (TDEIO::Job*);
+ void slotSpeed (TDEIO::Job*, ulong);
+ void slotInfoMessage (TDEIO::Job*, const TQString&);
void slotSpeedTimeout ();
protected:
- virtual void addSubjob (KIO::Job*, bool = 1);
- virtual void removeSubjob (KIO::Job*);
+ virtual void addSubjob (TDEIO::Job*, bool = 1);
+ virtual void removeSubjob (TDEIO::Job*);
%If ( KDE_3_4_0 - )
- void removeSubjob (KIO::Job*, bool, bool);
+ void removeSubjob (TDEIO::Job*, bool, bool);
%End
- void emitPercent (KIO::filesize_t, KIO::filesize_t);
+ void emitPercent (TDEIO::filesize_t, TDEIO::filesize_t);
void emitSpeed (ulong);
void emitResult ();
%If ( KDE_3_2_0 - )
- void setProcessedSize (KIO::filesize_t);
+ void setProcessedSize (TDEIO::filesize_t);
%End
//ig int& extraFlags ();
@@ -138,7 +138,7 @@ protected:
}; // class Job
-class SimpleJob : KIO::Job
+class SimpleJob : TDEIO::Job
{
%TypeHeaderCode
#include <jobclasses.h>
@@ -151,15 +151,15 @@ public:
virtual void kill (bool = 1);
virtual void putOnHold ();
static void removeOnHold ();
- virtual void start (KIO::Slave*);
+ virtual void start (TDEIO::Slave*);
void slaveDone ();
- KIO::Slave* slave ();
+ TDEIO::Slave* slave ();
int command ();
public slots:
%If ( KDE_3_1_0 - )
- void slotTotalSize (KIO::filesize_t);
+ void slotTotalSize (TDEIO::filesize_t);
%End
@@ -168,9 +168,9 @@ protected slots:
void slotWarning (const TQString&);
void slotInfoMessage (const TQString&);
void slotConnected ();
- void slotProcessedSize (KIO::filesize_t);
+ void slotProcessedSize (TDEIO::filesize_t);
void slotSpeed (ulong);
- virtual void slotMetaData (const KIO::MetaData&);
+ virtual void slotMetaData (const TDEIO::MetaData&);
public slots:
virtual void slotError (int, const TQString&);
@@ -191,14 +191,14 @@ protected:
protected slots:
%If ( - KDE_3_1_0 )
- void slotTotalSize (KIO::filesize_t);
+ void slotTotalSize (TDEIO::filesize_t);
%End
}; // class SimpleJob
-class StatJob : KIO::SimpleJob
+class StatJob : TDEIO::SimpleJob
{
%TypeHeaderCode
#include <jobclasses.h>
@@ -209,24 +209,24 @@ public:
StatJob (const KURL&, int, const TQByteArray&, bool);
void setSide (bool);
void setDetails (short);
- const KIO::UDSEntry& statResult () const;
- virtual void start (KIO::Slave*);
+ const TDEIO::UDSEntry& statResult () const;
+ virtual void start (TDEIO::Slave*);
signals:
- void redirection (KIO::Job*, const KURL&);
+ void redirection (TDEIO::Job*, const KURL&);
%If ( KDE_3_1_0 - )
- void permanentRedirection (KIO::Job*, const KURL&, const KURL&);
+ void permanentRedirection (TDEIO::Job*, const KURL&, const KURL&);
%End
protected slots:
- void slotStatEntry (const KIO::UDSEntry&);
+ void slotStatEntry (const TDEIO::UDSEntry&);
void slotRedirection (const KURL&);
virtual void slotFinished ();
%If ( KDE_3_2_0 - )
- virtual void slotMetaData (const KIO::MetaData&);
+ virtual void slotMetaData (const TDEIO::MetaData&);
%End
@@ -240,7 +240,7 @@ protected:
%If ( KDE_3_3_0 - )
-class MkdirJob : KIO::SimpleJob
+class MkdirJob : TDEIO::SimpleJob
{
%TypeHeaderCode
#include <jobclasses.h>
@@ -249,11 +249,11 @@ class MkdirJob : KIO::SimpleJob
public:
MkdirJob (const KURL&, int, const TQByteArray&, bool);
- virtual void start (KIO::Slave*);
+ virtual void start (TDEIO::Slave*);
signals:
- void redirection (KIO::Job*, const KURL&);
- void permanentRedirection (KIO::Job*, const KURL&, const KURL&);
+ void redirection (TDEIO::Job*, const KURL&);
+ void permanentRedirection (TDEIO::Job*, const KURL&, const KURL&);
protected slots:
void slotRedirection (const KURL&);
@@ -271,7 +271,7 @@ protected:
%If ( KDE_3_3_0 - )
-class DirectCopyJob : KIO::SimpleJob
+class DirectCopyJob : TDEIO::SimpleJob
{
%TypeHeaderCode
#include <jobclasses.h>
@@ -280,17 +280,17 @@ class DirectCopyJob : KIO::SimpleJob
public:
DirectCopyJob (const KURL&, int, const TQByteArray&, bool);
- virtual void start (KIO::Slave*);
+ virtual void start (TDEIO::Slave*);
signals:
- void canResume (KIO::Job*, KIO::filesize_t);
+ void canResume (TDEIO::Job*, TDEIO::filesize_t);
}; // class DirectCopyJob
%End
-class TransferJob : KIO::SimpleJob
+class TransferJob : TDEIO::SimpleJob
{
%TypeHeaderCode
#include <jobclasses.h>
@@ -299,8 +299,8 @@ class TransferJob : KIO::SimpleJob
public:
TransferJob (const KURL&, int, const TQByteArray&, const TQByteArray&, bool);
- virtual void start (KIO::Slave*);
- virtual void slotResult (KIO::Job*);
+ virtual void start (TDEIO::Slave*);
+ virtual void slotResult (TDEIO::Job*);
void suspend ();
void resume ();
bool isSuspended () const;
@@ -315,16 +315,16 @@ public:
signals:
- void data (KIO::Job*, const TQByteArray&);
- void dataReq (KIO::Job*, TQByteArray&);
- void redirection (KIO::Job*, const KURL&);
+ void data (TDEIO::Job*, const TQByteArray&);
+ void dataReq (TDEIO::Job*, TQByteArray&);
+ void redirection (TDEIO::Job*, const KURL&);
%If ( KDE_3_1_0 - )
- void permanentRedirection (KIO::Job*, const KURL&, const KURL&);
+ void permanentRedirection (TDEIO::Job*, const KURL&, const KURL&);
%End
- void mimetype (KIO::Job*, const TQString&);
- void canResume (KIO::Job*, KIO::filesize_t);
+ void mimetype (TDEIO::Job*, const TQString&);
+ void canResume (TDEIO::Job*, TDEIO::filesize_t);
protected slots:
virtual void slotRedirection (const KURL&);
@@ -333,14 +333,14 @@ protected slots:
virtual void slotDataReq ();
virtual void slotMimetype (const TQString&);
virtual void slotNeedSubURLData ();
- virtual void slotSubURLData (KIO::Job*, const TQByteArray&);
+ virtual void slotSubURLData (TDEIO::Job*, const TQByteArray&);
%If ( KDE_3_2_0 - )
- virtual void slotMetaData (const KIO::MetaData&);
+ virtual void slotMetaData (const TDEIO::MetaData&);
%End
void slotErrorPage ();
- void slotCanResume (KIO::filesize_t);
+ void slotCanResume (TDEIO::filesize_t);
%If ( KDE_3_2_0 - )
void slotPostRedirection ();
@@ -357,7 +357,7 @@ protected:
%If ( KDE_3_3_0 - )
-class StoredTransferJob : KIO::TransferJob
+class StoredTransferJob : TDEIO::TransferJob
{
%TypeHeaderCode
#include <jobclasses.h>
@@ -374,7 +374,7 @@ public:
%End
-class MultiGetJob : KIO::TransferJob
+class MultiGetJob : TDEIO::TransferJob
{
%TypeHeaderCode
#include <jobclasses.h>
@@ -383,8 +383,8 @@ class MultiGetJob : KIO::TransferJob
public:
MultiGetJob (const KURL&, bool);
- virtual void start (KIO::Slave*);
- void get (long, const KURL&, const KIO::MetaData&);
+ virtual void start (TDEIO::Slave*);
+ void get (long, const KURL&, const TDEIO::MetaData&);
signals:
void data (long, const TQByteArray&);
@@ -403,7 +403,7 @@ protected:
}; // class MultiGetJob
-class MimetypeJob : KIO::TransferJob
+class MimetypeJob : TDEIO::TransferJob
{
%TypeHeaderCode
#include <jobclasses.h>
@@ -413,7 +413,7 @@ class MimetypeJob : KIO::TransferJob
public:
MimetypeJob (const KURL&, int, const TQByteArray&, bool);
TQString mimetype () const;
- virtual void start (KIO::Slave*);
+ virtual void start (TDEIO::Slave*);
protected slots:
virtual void slotFinished ();
@@ -424,7 +424,7 @@ protected:
}; // class MimetypeJob
-class FileCopyJob : KIO::Job
+class FileCopyJob : TDEIO::Job
{
%TypeHeaderCode
#include <jobclasses.h>
@@ -435,7 +435,7 @@ public:
FileCopyJob (const KURL&, const KURL&, int, bool, bool, bool, bool);
%If ( KDE_3_2_0 - )
- void setSourceSize64 (KIO::filesize_t);
+ void setSourceSize64 (TDEIO::filesize_t);
%If ( KDE_3_5_2 - )
void setModificationTime (time_t);
@@ -449,15 +449,15 @@ public:
public slots:
void slotStart ();
- void slotData (KIO::Job*, const TQByteArray&);
- void slotDataReq (KIO::Job*, TQByteArray&);
+ void slotData (TDEIO::Job*, const TQByteArray&);
+ void slotDataReq (TDEIO::Job*, TQByteArray&);
protected slots:
- virtual void slotResult (KIO::Job*);
- void slotProcessedSize (KIO::Job*, KIO::filesize_t);
- void slotTotalSize (KIO::Job*, KIO::filesize_t);
- void slotPercent (KIO::Job*, ulong);
- void slotCanResume (KIO::Job*, KIO::filesize_t);
+ virtual void slotResult (TDEIO::Job*);
+ void slotProcessedSize (TDEIO::Job*, TDEIO::filesize_t);
+ void slotTotalSize (TDEIO::Job*, TDEIO::filesize_t);
+ void slotPercent (TDEIO::Job*, ulong);
+ void slotCanResume (TDEIO::Job*, TDEIO::filesize_t);
protected:
void startCopyJob ();
@@ -468,7 +468,7 @@ protected:
%End
void startDataPump ();
- void connectSubjob (KIO::SimpleJob*);
+ void connectSubjob (TDEIO::SimpleJob*);
protected:
@@ -478,7 +478,7 @@ protected:
}; // class FileCopyJob
-class ListJob : KIO::SimpleJob
+class ListJob : TDEIO::SimpleJob
{
%TypeHeaderCode
#include <jobclasses.h>
@@ -487,7 +487,7 @@ class ListJob : KIO::SimpleJob
public:
ListJob (const KURL&, bool, bool = 0, TQString = TQString ::null , bool = 1);
- virtual void start (KIO::Slave*);
+ virtual void start (TDEIO::Slave*);
%If ( KDE_3_4_3 - )
const KURL& redirectionURL () const;
@@ -500,11 +500,11 @@ public:
signals:
- void entries (KIO::Job*, const KIO::UDSEntryList&);
- void redirection (KIO::Job*, const KURL&);
+ void entries (TDEIO::Job*, const TDEIO::UDSEntryList&);
+ void redirection (TDEIO::Job*, const KURL&);
%If ( KDE_3_1_0 - )
- void permanentRedirection (KIO::Job*, const KURL&, const KURL&);
+ void permanentRedirection (TDEIO::Job*, const KURL&, const KURL&);
%End
@@ -512,13 +512,13 @@ protected slots:
virtual void slotFinished ();
%If ( KDE_3_2_0 - )
- virtual void slotMetaData (const KIO::MetaData&);
+ virtual void slotMetaData (const TDEIO::MetaData&);
%End
- virtual void slotResult (KIO::Job*);
- void slotListEntries (const KIO::UDSEntryList&);
+ virtual void slotResult (TDEIO::Job*);
+ void slotListEntries (const TDEIO::UDSEntryList&);
void slotRedirection (const KURL&);
- void gotEntries (KIO::Job*, const KIO::UDSEntryList&);
+ void gotEntries (TDEIO::Job*, const TDEIO::UDSEntryList&);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -545,7 +545,7 @@ public:
}; // class CopyInfo
-class CopyJob : KIO::Job
+class CopyJob : TDEIO::Job
{
%TypeHeaderCode
#include <jobclasses.h>
@@ -561,7 +561,7 @@ public:
Link
};
- CopyJob (const KURL::List&, const KURL&, KIO::CopyJob::CopyMode, bool, bool);
+ CopyJob (const KURL::List&, const KURL&, TDEIO::CopyJob::CopyMode, bool, bool);
KURL::List srcURLs () const;
KURL destURL () const;
@@ -576,22 +576,22 @@ public:
signals:
- void totalFiles (KIO::Job*, ulong);
- void totalDirs (KIO::Job*, ulong);
+ void totalFiles (TDEIO::Job*, ulong);
+ void totalDirs (TDEIO::Job*, ulong);
%If ( KDE_3_2_0 - )
- void aboutToCreate (KIO::Job*, const TQValueList<KIO::CopyInfo>&);
+ void aboutToCreate (TDEIO::Job*, const TQValueList<TDEIO::CopyInfo>&);
%End
- void processedFiles (KIO::Job*, ulong);
- void processedDirs (KIO::Job*, ulong);
- void copying (KIO::Job*, const KURL&, const KURL&);
- void linking (KIO::Job*, const TQString&, const KURL&);
- void moving (KIO::Job*, const KURL&, const KURL&);
- void creatingDir (KIO::Job*, const KURL&);
- void renamed (KIO::Job*, const KURL&, const KURL&);
- void copyingDone (KIO::Job*, const KURL&, const KURL&, bool, bool);
- void copyingLinkDone (KIO::Job*, const KURL&, const TQString&, const KURL&);
+ void processedFiles (TDEIO::Job*, ulong);
+ void processedDirs (TDEIO::Job*, ulong);
+ void copying (TDEIO::Job*, const KURL&, const KURL&);
+ void linking (TDEIO::Job*, const TQString&, const KURL&);
+ void moving (TDEIO::Job*, const KURL&, const KURL&);
+ void creatingDir (TDEIO::Job*, const KURL&);
+ void renamed (TDEIO::Job*, const KURL&, const KURL&);
+ void copyingDone (TDEIO::Job*, const KURL&, const KURL&, bool, bool);
+ void copyingLinkDone (TDEIO::Job*, const KURL&, const TQString&, const KURL&);
protected:
@@ -600,20 +600,20 @@ protected:
%End
void statNextSrc ();
- void slotResultStating (KIO::Job*);
+ void slotResultStating (TDEIO::Job*);
void startListing (const KURL&);
- void slotResultCreatingDirs (KIO::Job*);
- void slotResultConflictCreatingDirs (KIO::Job*);
+ void slotResultCreatingDirs (TDEIO::Job*);
+ void slotResultConflictCreatingDirs (TDEIO::Job*);
void createNextDir ();
- void slotResultCopyingFiles (KIO::Job*);
- void slotResultConflictCopyingFiles (KIO::Job*);
+ void slotResultCopyingFiles (TDEIO::Job*);
+ void slotResultConflictCopyingFiles (TDEIO::Job*);
void copyNextFile ();
- void slotResultDeletingDirs (KIO::Job*);
+ void slotResultDeletingDirs (TDEIO::Job*);
void deleteNextDir ();
void skip (const KURL&);
%If ( KDE_3_3_2 - )
- void slotResultRenaming (KIO::Job*);
+ void slotResultRenaming (TDEIO::Job*);
%If ( KDE_3_5_2 - )
void setNextDirAttribute ();
@@ -624,10 +624,10 @@ protected:
protected slots:
void slotStart ();
- void slotEntries (KIO::Job*, const KIO::UDSEntryList&);
- virtual void slotResult (KIO::Job*);
- void slotProcessedSize (KIO::Job*, KIO::filesize_t);
- void slotTotalSize (KIO::Job*, KIO::filesize_t);
+ void slotEntries (TDEIO::Job*, const TDEIO::UDSEntryList&);
+ virtual void slotResult (TDEIO::Job*);
+ void slotProcessedSize (TDEIO::Job*, TDEIO::filesize_t);
+ void slotTotalSize (TDEIO::Job*, TDEIO::filesize_t);
void slotReport ();
protected:
@@ -636,7 +636,7 @@ protected:
}; // class CopyJob
-class DeleteJob : KIO::Job
+class DeleteJob : TDEIO::Job
{
%TypeHeaderCode
#include <jobclasses.h>
@@ -648,17 +648,17 @@ public:
KURL::List urls () const;
signals:
- void totalFiles (KIO::Job*, ulong);
- void totalDirs (KIO::Job*, ulong);
- void processedFiles (KIO::Job*, ulong);
- void processedDirs (KIO::Job*, ulong);
- void deleting (KIO::Job*, const KURL&);
+ void totalFiles (TDEIO::Job*, ulong);
+ void totalDirs (TDEIO::Job*, ulong);
+ void processedFiles (TDEIO::Job*, ulong);
+ void processedDirs (TDEIO::Job*, ulong);
+ void deleting (TDEIO::Job*, const KURL&);
protected slots:
void slotStart ();
- void slotEntries (KIO::Job*, const KIO::UDSEntryList&);
- virtual void slotResult (KIO::Job*);
- void slotProcessedSize (KIO::Job*, KIO::filesize_t);
+ void slotEntries (TDEIO::Job*, const TDEIO::UDSEntryList&);
+ virtual void slotResult (TDEIO::Job*);
+ void slotProcessedSize (TDEIO::Job*, TDEIO::filesize_t);
void slotReport ();
protected:
@@ -675,12 +675,12 @@ protected:
}; // class DeleteJob
-}; // namespace KIO
+}; // namespace TDEIO
-%MappedType TQValueList<KIO::CopyInfo>
-//converts a Python list of KIO::CopyInfo
+%MappedType TQValueList<TDEIO::CopyInfo>
+//converts a Python list of TDEIO::CopyInfo
{
%TypeHeaderCode
#include <tqvaluelist.h>
@@ -695,14 +695,14 @@ protected:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- TQValueList<KIO::CopyInfo> *cpplist = (TQValueList<KIO::CopyInfo> *)sipCpp;
+ TQValueList<TDEIO::CopyInfo> *cpplist = (TQValueList<TDEIO::CopyInfo> *)sipCpp;
PyObject *inst;
// Get it.
- TQValueList<KIO::CopyInfo>::Iterator it;
+ TQValueList<TDEIO::CopyInfo>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
- if (((inst = sipConvertFromNewType(new KIO::CopyInfo(*it), sipType_KIO_CopyInfo, NULL)) == NULL)
+ if (((inst = sipConvertFromNewType(new TDEIO::CopyInfo(*it), sipType_KIO_CopyInfo, NULL)) == NULL)
|| PyList_Append (pylist, inst) < 0)
{
Py_DECREF (pylist);
@@ -718,16 +718,16 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- TQValueList<KIO::CopyInfo> *cpplist = new TQValueList<KIO::CopyInfo>;
+ TQValueList<TDEIO::CopyInfo> *cpplist = new TQValueList<TDEIO::CopyInfo>;
PyObject *elem;
- KIO::CopyInfo *cpp;
+ TDEIO::CopyInfo *cpp;
int iserr = 0;
for (int i = 0; i < PyList_Size (sipPy); i++)
{
elem = PyList_GET_ITEM (sipPy, i);
- cpp = (KIO::CopyInfo *)sipForceConvertToType(elem, sipType_KIO_CopyInfo, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
+ cpp = (TDEIO::CopyInfo *)sipForceConvertToType(elem, sipType_KIO_CopyInfo, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr)
{
diff --git a/sip/kio/kautomount.sip b/sip/kio/kautomount.sip
index 924d670..65643a1 100644
--- a/sip/kio/kautomount.sip
+++ b/sip/kio/kautomount.sip
@@ -39,7 +39,7 @@ signals:
void error ();
protected slots:
- void slotResult (KIO::Job*);
+ void slotResult (TDEIO::Job*);
protected:
//force
@@ -66,7 +66,7 @@ signals:
void error ();
protected slots:
- void slotResult (KIO::Job*);
+ void slotResult (TDEIO::Job*);
//force
private:
diff --git a/sip/kio/kdirlister.sip b/sip/kio/kdirlister.sip
index 473c8cb..f41aa68 100644
--- a/sip/kio/kdirlister.sip
+++ b/sip/kio/kdirlister.sip
@@ -101,8 +101,8 @@ signals:
void refreshItems (const KFileItemList&);
void infoMessage (const TQString&);
void percent (int);
- void totalSize (KIO::filesize_t);
- void processedSize (KIO::filesize_t);
+ void totalSize (TDEIO::filesize_t);
+ void processedSize (TDEIO::filesize_t);
void speed (int);
protected:
@@ -116,7 +116,7 @@ protected:
%End
virtual bool validURL (const KURL&) const;
- virtual void handleError (KIO::Job*);
+ virtual void handleError (TDEIO::Job*);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/kio/kfileitem.sip b/sip/kio/kfileitem.sip
index 985efdf..3cf982b 100644
--- a/sip/kio/kfileitem.sip
+++ b/sip/kio/kfileitem.sip
@@ -38,7 +38,7 @@ public:
Unknown
};
- KFileItem (const KIO::UDSEntry&, const KURL&, bool = 0, bool = 0);
+ KFileItem (const TDEIO::UDSEntry&, const KURL&, bool = 0, bool = 0);
KFileItem (mode_t, mode_t, const KURL&, bool = 0);
KFileItem (const KURL&, const TQString&, mode_t);
KFileItem (const KFileItem&);
@@ -83,10 +83,10 @@ public:
TQString localPath () const;
%End
- KIO::filesize_t size () const;
+ TDEIO::filesize_t size () const;
%If ( KDE_3_5_0 - )
- KIO::filesize_t size (bool& /Out/) const /PyName=sizeAndExists/;
+ TDEIO::filesize_t size (bool& /Out/) const /PyName=sizeAndExists/;
%End
time_t time (uint) const;
@@ -111,7 +111,7 @@ public:
TQString getToolTipText (int = 6);
bool acceptsDrops ();
void run ();
- const KIO::UDSEntry& entry () const;
+ const TDEIO::UDSEntry& entry () const;
bool isMarked () const;
void mark ();
void unmark ();
@@ -130,7 +130,7 @@ public:
void assign (const KFileItem&);
%If ( KDE_3_4_3 - )
- void setUDSEntry (const KIO::UDSEntry&, const KURL&, bool = 0, bool = 0);
+ void setUDSEntry (const TDEIO::UDSEntry&, const KURL&, bool = 0, bool = 0);
%End
diff --git a/sip/kio/kmimetype.sip b/sip/kio/kmimetype.sip
index 2cfbd86..34ece6b 100644
--- a/sip/kio/kmimetype.sip
+++ b/sip/kio/kmimetype.sip
@@ -195,10 +195,10 @@ public:
static TQValueList<KDEDesktopMimeType::Service> userDefinedServices (const TQString&, bool);
%If ( KDE_3_4_0 - )
- static TQValueList<KDEDesktopMimeType::Service> userDefinedServices (const TQString&, KConfig&, bool);
+ static TQValueList<KDEDesktopMimeType::Service> userDefinedServices (const TQString&, TDEConfig&, bool);
%If ( KDE_3_5_0 - )
- static TQValueList<KDEDesktopMimeType::Service> userDefinedServices (const TQString&, KConfig&, bool, const KURL::List&);
+ static TQValueList<KDEDesktopMimeType::Service> userDefinedServices (const TQString&, TDEConfig&, bool, const KURL::List&);
%End
%End
diff --git a/sip/kio/kprotocolmanager.sip b/sip/kio/kprotocolmanager.sip
index 093e537..7713c88 100644
--- a/sip/kio/kprotocolmanager.sip
+++ b/sip/kio/kprotocolmanager.sip
@@ -74,7 +74,7 @@ public:
static int maxCacheAge ();
static int maxCacheSize ();
static TQString cacheDir ();
- static KIO::CacheControl cacheControl ();
+ static TDEIO::CacheControl cacheControl ();
static bool autoResume ();
static bool markPartial ();
static int minimumKeepSize ();
@@ -86,7 +86,7 @@ public:
static bool persistentConnections ();
static void reparseConfiguration ();
static TQString slaveProtocol (const KURL&, TQString&);
- static KConfig* config ();
+ static TDEConfig* config ();
public:
diff --git a/sip/kio/krun.sip b/sip/kio/krun.sip
index e180301..4cfc58d 100644
--- a/sip/kio/krun.sip
+++ b/sip/kio/krun.sip
@@ -144,9 +144,9 @@ signals:
protected slots:
void slotTimeout ();
- void slotScanFinished (KIO::Job*);
- void slotScanMimeType (KIO::Job*, const TQString&);
- virtual void slotStatResult (KIO::Job*);
+ void slotScanFinished (TDEIO::Job*);
+ void slotScanMimeType (TDEIO::Job*, const TQString&);
+ virtual void slotStatResult (TDEIO::Job*);
protected:
virtual void init ();
diff --git a/sip/kio/kshred.sip b/sip/kio/kshred.sip
index 966a3bf..33a1b35 100644
--- a/sip/kio/kshred.sip
+++ b/sip/kio/kshred.sip
@@ -42,7 +42,7 @@ public:
static bool shred (TQString);
signals:
- void processedSize (KIO::filesize_t);
+ void processedSize (TDEIO::filesize_t);
void infoMessage (const TQString&);
}; // class KShred
diff --git a/sip/kio/kurifilter.sip b/sip/kio/kurifilter.sip
index ad87fa0..125ab82 100644
--- a/sip/kio/kurifilter.sip
+++ b/sip/kio/kurifilter.sip
@@ -102,7 +102,7 @@ public:
virtual TQString name () const;
virtual double priority () const;
virtual bool filterURI (KURIFilterData&) const = 0;
- virtual KCModule* configModule (TQWidget*, const char*) const;
+ virtual TDECModule* configModule (TQWidget*, const char*) const;
virtual TQString configName () const;
protected:
diff --git a/sip/kio/kurlcompletion.sip b/sip/kio/kurlcompletion.sip
index 237fb44..b270129 100644
--- a/sip/kio/kurlcompletion.sip
+++ b/sip/kio/kurlcompletion.sip
@@ -71,8 +71,8 @@ protected:
protected slots:
- void slotEntries (KIO::Job*, const KIO::UDSEntryList&);
- void slotIOFinished (KIO::Job*);
+ void slotEntries (TDEIO::Job*, const TDEIO::UDSEntryList&);
+ void slotIOFinished (TDEIO::Job*);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/kio/metainfojob.sip b/sip/kio/metainfojob.sip
index 1abee91..3433bd3 100644
--- a/sip/kio/metainfojob.sip
+++ b/sip/kio/metainfojob.sip
@@ -25,10 +25,10 @@
%If ( KDE_3_1_0 - )
-namespace KIO
+namespace TDEIO
{
-class MetaInfoJob : KIO::Job
+class MetaInfoJob : TDEIO::Job
{
%TypeHeaderCode
#include <kfileitem.h>
@@ -51,13 +51,13 @@ protected:
void getMetaInfo ();
protected slots:
- virtual void slotResult (KIO::Job*);
+ virtual void slotResult (TDEIO::Job*);
}; // class MetaInfoJob
-KIO::MetaInfoJob* fileMetaInfo (const KFileItemList&);
-KIO::MetaInfoJob* fileMetaInfo (const KURL::List&);
-}; // namespace KIO
+TDEIO::MetaInfoJob* fileMetaInfo (const KFileItemList&);
+TDEIO::MetaInfoJob* fileMetaInfo (const KURL::List&);
+}; // namespace TDEIO
%End
diff --git a/sip/kio/netaccess.sip b/sip/kio/netaccess.sip
index cbe0869..840c621 100644
--- a/sip/kio/netaccess.sip
+++ b/sip/kio/netaccess.sip
@@ -23,7 +23,7 @@
// If not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-namespace KIO
+namespace TDEIO
{
class NetAccess : TQObject
@@ -76,12 +76,12 @@ public:
static bool exists (const KURL&, bool);
%If ( KDE_3_2_0 - )
- static bool stat (const KURL&, KIO::UDSEntry&, TQWidget*);
+ static bool stat (const KURL&, TDEIO::UDSEntry&, TQWidget*);
%End
%End
- static bool stat (const KURL&, KIO::UDSEntry&);
+ static bool stat (const KURL&, TDEIO::UDSEntry&);
%If ( KDE_3_5_0 - )
static KURL mostLocalURL (const KURL&, TQWidget*);
@@ -104,7 +104,7 @@ public:
static TQString fish_execute (const KURL&, const TQString, TQWidget*);
%If ( KDE_3_3_1 - )
- static bool synchronousRun (KIO::Job*, TQWidget*, TQByteArray* = 0, KURL* = 0, TQMap<TQString,TQString>* = 0);
+ static bool synchronousRun (TDEIO::Job*, TQWidget*, TQByteArray* = 0, KURL* = 0, TQMap<TQString,TQString>* = 0);
%End
static TQString mimetype (const KURL&, TQWidget*);
@@ -124,5 +124,5 @@ private:
}; // class NetAccess
-}; // namespace KIO
+}; // namespace TDEIO
diff --git a/sip/kio/observer.sip b/sip/kio/observer.sip
index 47fe218..36aeae5 100644
--- a/sip/kio/observer.sip
+++ b/sip/kio/observer.sip
@@ -42,52 +42,52 @@ public:
public:
static Observer* self ();
- int newJob (KIO::Job*, bool);
+ int newJob (TDEIO::Job*, bool);
void jobFinished (int);
bool openPassDlg (const TQString&, TQString&, TQString&, bool);
- bool openPassDlg (KIO::AuthInfo&);
+ bool openPassDlg (TDEIO::AuthInfo&);
int messageBox (int, int, const TQString&, const TQString&, const TQString&, const TQString&);
%If ( KDE_3_3_0 - )
static int messageBox (int, int, const TQString&, const TQString&, const TQString&, const TQString&, const TQString&);
%End
- KIO::RenameDlg_Result open_RenameDlg (KIO::Job*, const TQString&, const TQString&, const TQString&, KIO::RenameDlg_Mode, TQString&, KIO::filesize_t = -1, KIO::filesize_t = -1, time_t = -1, time_t = -1, time_t = -1, time_t = -1);
- KIO::SkipDlg_Result open_SkipDlg (KIO::Job*, bool, const TQString&);
+ TDEIO::RenameDlg_Result open_RenameDlg (TDEIO::Job*, const TQString&, const TQString&, const TQString&, TDEIO::RenameDlg_Mode, TQString&, TDEIO::filesize_t = -1, TDEIO::filesize_t = -1, time_t = -1, time_t = -1, time_t = -1, time_t = -1);
+ TDEIO::SkipDlg_Result open_SkipDlg (TDEIO::Job*, bool, const TQString&);
public:
void killJob (int);
- KIO::MetaData metadata (int);
+ TDEIO::MetaData metadata (int);
protected:
Observer ();
~Observer ();
public slots:
- void slotTotalSize (KIO::Job*, KIO::filesize_t);
- void slotTotalFiles (KIO::Job*, ulong);
- void slotTotalDirs (KIO::Job*, ulong);
- void slotProcessedSize (KIO::Job*, KIO::filesize_t);
- void slotProcessedFiles (KIO::Job*, ulong);
- void slotProcessedDirs (KIO::Job*, ulong);
- void slotSpeed (KIO::Job*, ulong);
- void slotPercent (KIO::Job*, ulong);
- void slotInfoMessage (KIO::Job*, const TQString&);
- void slotCopying (KIO::Job*, const KURL&, const KURL&);
- void slotMoving (KIO::Job*, const KURL&, const KURL&);
- void slotDeleting (KIO::Job*, const KURL&);
+ void slotTotalSize (TDEIO::Job*, TDEIO::filesize_t);
+ void slotTotalFiles (TDEIO::Job*, ulong);
+ void slotTotalDirs (TDEIO::Job*, ulong);
+ void slotProcessedSize (TDEIO::Job*, TDEIO::filesize_t);
+ void slotProcessedFiles (TDEIO::Job*, ulong);
+ void slotProcessedDirs (TDEIO::Job*, ulong);
+ void slotSpeed (TDEIO::Job*, ulong);
+ void slotPercent (TDEIO::Job*, ulong);
+ void slotInfoMessage (TDEIO::Job*, const TQString&);
+ void slotCopying (TDEIO::Job*, const KURL&, const KURL&);
+ void slotMoving (TDEIO::Job*, const KURL&, const KURL&);
+ void slotDeleting (TDEIO::Job*, const KURL&);
%If ( KDE_3_1_0 - )
- void slotTransferring (KIO::Job*, const KURL&);
+ void slotTransferring (TDEIO::Job*, const KURL&);
%End
- void slotCreatingDir (KIO::Job*, const KURL&);
- void slotCanResume (KIO::Job*, KIO::filesize_t);
+ void slotCreatingDir (TDEIO::Job*, const KURL&);
+ void slotCanResume (TDEIO::Job*, TDEIO::filesize_t);
public:
- void stating (KIO::Job*, const KURL&);
- void mounting (KIO::Job*, const TQString&, const TQString&);
- void unmounting (KIO::Job*, const TQString&);
+ void stating (TDEIO::Job*, const KURL&);
+ void mounting (TDEIO::Job*, const TQString&, const TQString&);
+ void unmounting (TDEIO::Job*, const TQString&);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/kio/passdlg.sip b/sip/kio/passdlg.sip
index 1a4d96d..d7a4844 100644
--- a/sip/kio/passdlg.sip
+++ b/sip/kio/passdlg.sip
@@ -23,7 +23,7 @@
// If not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-namespace KIO
+namespace TDEIO
{
class PasswordDialog : KDialogBase
@@ -64,5 +64,5 @@ protected:
}; // class PasswordDialog
-}; // namespace KIO
+}; // namespace TDEIO
diff --git a/sip/kio/paste.sip b/sip/kio/paste.sip
index 64deae4..d39282c 100644
--- a/sip/kio/paste.sip
+++ b/sip/kio/paste.sip
@@ -27,19 +27,19 @@
#include <paste.h>
%End
-namespace KIO
+namespace TDEIO
{
-KIO::Job* pasteClipboard (const KURL&, bool = 0);
+TDEIO::Job* pasteClipboard (const KURL&, bool = 0);
void pasteData (const KURL&, const TQByteArray&);
%If ( KDE_3_2_0 - )
-KIO::CopyJob* pasteDataAsync (const KURL&, const TQByteArray&);
+TDEIO::CopyJob* pasteDataAsync (const KURL&, const TQByteArray&);
%If ( KDE_3_3_0 - )
-KIO::CopyJob* pasteDataAsync (const KURL&, const TQByteArray&, const TQString&);
+TDEIO::CopyJob* pasteDataAsync (const KURL&, const TQByteArray&, const TQString&);
%If ( KDE_3_5_0 - )
-KIO::CopyJob* pasteMimeSource (TQMimeSource*, const KURL&, const TQString&, TQWidget*, bool = 0);
+TDEIO::CopyJob* pasteMimeSource (TQMimeSource*, const KURL&, const TQString&, TQWidget*, bool = 0);
%End
%End
@@ -52,5 +52,5 @@ bool isClipboardEmpty ();
TQString pasteActionText ();
%End
-}; // namespace KIO
+}; // namespace TDEIO
diff --git a/sip/kio/previewjob.sip b/sip/kio/previewjob.sip
index 195b634..c4e2011 100644
--- a/sip/kio/previewjob.sip
+++ b/sip/kio/previewjob.sip
@@ -23,10 +23,10 @@
// If not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-namespace KIO
+namespace TDEIO
{
-class PreviewJob : KIO::Job
+class PreviewJob : TDEIO::Job
{
%TypeHeaderCode
#include <previewjob.h>
@@ -59,14 +59,14 @@ protected:
void createThumbnail (TQString);
protected slots:
- virtual void slotResult (KIO::Job*);
+ virtual void slotResult (TDEIO::Job*);
protected:
//igx virtual void virtual_hook (int, void*);
}; // class PreviewJob
-KIO::PreviewJob* filePreview (const KFileItemList&, int, int = 0, int = 0, int = 70, bool = 1, bool = 1, const TQStringList* = 0);
-KIO::PreviewJob* filePreview (const KURL::List&, int, int = 0, int = 0, int = 70, bool = 1, bool = 1, const TQStringList* = 0);
-}; // namespace KIO
+TDEIO::PreviewJob* filePreview (const KFileItemList&, int, int = 0, int = 0, int = 70, bool = 1, bool = 1, const TQStringList* = 0);
+TDEIO::PreviewJob* filePreview (const KURL::List&, int, int = 0, int = 0, int = 70, bool = 1, bool = 1, const TQStringList* = 0);
+}; // namespace TDEIO
diff --git a/sip/kio/progressbase.sip b/sip/kio/progressbase.sip
index 2dd106f..5392383 100644
--- a/sip/kio/progressbase.sip
+++ b/sip/kio/progressbase.sip
@@ -27,7 +27,7 @@
#include <progressbase.h>
%End
-namespace KIO
+namespace TDEIO
{
enum Progress
@@ -47,9 +47,9 @@ class ProgressBase : TQWidget
public:
ProgressBase (TQWidget* /TransferThis/);
- void setJob (KIO::Job*);
- void setJob (KIO::CopyJob*);
- void setJob (KIO::DeleteJob*);
+ void setJob (TDEIO::Job*);
+ void setJob (TDEIO::CopyJob*);
+ void setJob (TDEIO::DeleteJob*);
void setStopOnClose (bool);
bool stopOnClose () const;
void setOnlyClean (bool);
@@ -63,25 +63,25 @@ public:
public slots:
void slotStop ();
virtual void slotClean ();
- virtual void slotTotalSize (KIO::Job*, KIO::filesize_t);
- virtual void slotTotalFiles (KIO::Job*, ulong);
- virtual void slotTotalDirs (KIO::Job*, ulong);
- virtual void slotProcessedSize (KIO::Job*, KIO::filesize_t);
- virtual void slotProcessedFiles (KIO::Job*, ulong);
- virtual void slotProcessedDirs (KIO::Job*, ulong);
- virtual void slotSpeed (KIO::Job*, ulong);
- virtual void slotPercent (KIO::Job*, ulong);
- virtual void slotCopying (KIO::Job*, const KURL&, const KURL&);
- virtual void slotMoving (KIO::Job*, const KURL&, const KURL&);
- virtual void slotDeleting (KIO::Job*, const KURL&);
- virtual void slotCreatingDir (KIO::Job*, const KURL&);
- virtual void slotCanResume (KIO::Job*, KIO::filesize_t);
+ virtual void slotTotalSize (TDEIO::Job*, TDEIO::filesize_t);
+ virtual void slotTotalFiles (TDEIO::Job*, ulong);
+ virtual void slotTotalDirs (TDEIO::Job*, ulong);
+ virtual void slotProcessedSize (TDEIO::Job*, TDEIO::filesize_t);
+ virtual void slotProcessedFiles (TDEIO::Job*, ulong);
+ virtual void slotProcessedDirs (TDEIO::Job*, ulong);
+ virtual void slotSpeed (TDEIO::Job*, ulong);
+ virtual void slotPercent (TDEIO::Job*, ulong);
+ virtual void slotCopying (TDEIO::Job*, const KURL&, const KURL&);
+ virtual void slotMoving (TDEIO::Job*, const KURL&, const KURL&);
+ virtual void slotDeleting (TDEIO::Job*, const KURL&);
+ virtual void slotCreatingDir (TDEIO::Job*, const KURL&);
+ virtual void slotCanResume (TDEIO::Job*, TDEIO::filesize_t);
signals:
void stopped ();
protected slots:
- void slotFinished (KIO::Job*);
+ void slotFinished (TDEIO::Job*);
protected:
virtual void closeEvent (TQCloseEvent*);
@@ -91,5 +91,5 @@ protected:
}; // class ProgressBase
-}; // namespace KIO
+}; // namespace TDEIO
diff --git a/sip/kio/renamedlg.sip b/sip/kio/renamedlg.sip
index 5890497..a4a4f51 100644
--- a/sip/kio/renamedlg.sip
+++ b/sip/kio/renamedlg.sip
@@ -27,7 +27,7 @@
#include <renamedlg.h>
%End
-namespace KIO
+namespace TDEIO
{
enum RenameDlg_Mode
@@ -57,11 +57,11 @@ enum RenameDlg_Result
//ig class RenameDlg : TQDialog;
-//ig KIO::RenameDlg_Result open_RenameDlg (const TQString&, const TQString&, const TQString&, KIO::RenameDlg_Mode, TQString&, KIO::filesize_t = (KIO ::filesize_t )-1 , KIO::filesize_t = (KIO ::filesize_t )-1 , time_t = -1 , time_t = -1 , time_t = -1 , time_t = -1 );
+//ig TDEIO::RenameDlg_Result open_RenameDlg (const TQString&, const TQString&, const TQString&, TDEIO::RenameDlg_Mode, TQString&, TDEIO::filesize_t = (KIO ::filesize_t )-1 , TDEIO::filesize_t = (KIO ::filesize_t )-1 , time_t = -1 , time_t = -1 , time_t = -1 , time_t = -1 );
%If ( - KDE_3_1_5 )
-//ig KIO::RenameDlg_Result open_RenameDlg (const TQString&, const TQString&, const TQString&, KIO::RenameDlg_Mode, TQString&, ulong = -1, ulong = -1, time_t = -1, time_t = -1, time_t = -1, time_t = -1);
+//ig TDEIO::RenameDlg_Result open_RenameDlg (const TQString&, const TQString&, const TQString&, TDEIO::RenameDlg_Mode, TQString&, ulong = -1, ulong = -1, time_t = -1, time_t = -1, time_t = -1, time_t = -1);
%End
-}; // namespace KIO
+}; // namespace TDEIO
diff --git a/sip/kio/renamedlgplugin.sip b/sip/kio/renamedlgplugin.sip
index 24e96ee..6891a08 100644
--- a/sip/kio/renamedlgplugin.sip
+++ b/sip/kio/renamedlgplugin.sip
@@ -33,7 +33,7 @@ class RenameDlgPlugin : TQWidget
public:
RenameDlgPlugin (TQDialog*, const char*, const TQStringList& = TQStringList ());
- virtual bool initialize (KIO::RenameDlg_Mode, const TQString&, const TQString&, const TQString&, const TQString&, KIO::filesize_t, KIO::filesize_t, time_t, time_t, time_t, time_t);
+ virtual bool initialize (TDEIO::RenameDlg_Mode, const TQString&, const TQString&, const TQString&, const TQString&, TDEIO::filesize_t, TDEIO::filesize_t, time_t, time_t, time_t, time_t);
}; // class RenameDlgPlugin
diff --git a/sip/kio/scheduler.sip b/sip/kio/scheduler.sip
index 1ec06f0..4459906 100644
--- a/sip/kio/scheduler.sip
+++ b/sip/kio/scheduler.sip
@@ -23,7 +23,7 @@
// If not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-namespace KIO
+namespace TDEIO
{
class Scheduler : TQObject, DCOPObject
@@ -34,21 +34,21 @@ class Scheduler : TQObject, DCOPObject
public:
-//ig typedef TQPtrList<KIO::SimpleJob> JobList;
- static void doJob (KIO::SimpleJob*);
- static void scheduleJob (KIO::SimpleJob*);
- static void cancelJob (KIO::SimpleJob*);
- static void jobFinished (KIO::SimpleJob*, KIO::Slave*);
- static void putSlaveOnHold (KIO::SimpleJob*, const KURL&);
+//ig typedef TQPtrList<TDEIO::SimpleJob> JobList;
+ static void doJob (TDEIO::SimpleJob*);
+ static void scheduleJob (TDEIO::SimpleJob*);
+ static void cancelJob (TDEIO::SimpleJob*);
+ static void jobFinished (TDEIO::SimpleJob*, TDEIO::Slave*);
+ static void putSlaveOnHold (TDEIO::SimpleJob*, const KURL&);
static void removeSlaveOnHold ();
static void publishSlaveOnHold ();
//doc
// There is no default value for config (KIO.MetaData) - pass an
// empty Python dict if you need the default value
//end
- static KIO::Slave* getConnectedSlave (const KURL&, const KIO::MetaData&);
- static bool assignJobToSlave (KIO::Slave*, KIO::SimpleJob*);
- static bool disconnectSlave (KIO::Slave*);
+ static TDEIO::Slave* getConnectedSlave (const KURL&, const TDEIO::MetaData&);
+ static bool assignJobToSlave (TDEIO::Slave*, TDEIO::SimpleJob*);
+ static bool disconnectSlave (TDEIO::Slave*);
%If ( KDE_3_1_0 - )
static void registerWindow (TQWidget*);
@@ -69,16 +69,16 @@ public:
virtual QCStringList functions ();
public slots:
- void slotSlaveDied (KIO::Slave*);
+ void slotSlaveDied (TDEIO::Slave*);
void slotSlaveStatus (pid_t, const TQCString&, const TQString&, bool);
signals:
- void slaveConnected (KIO::Slave*);
- void slaveError (KIO::Slave*, int, const TQString&);
+ void slaveConnected (TDEIO::Slave*);
+ void slaveError (TDEIO::Slave*, int, const TQString&);
protected:
- void setupSlave (KIO::Slave*, const KURL&, const TQString&, const TQString&, bool, const KIO::MetaData* = 0);
-//ig bool startJobScheduled (KIO::Scheduler::ProtocolInfo*);
+ void setupSlave (TDEIO::Slave*, const KURL&, const TQString&, const TQString&, bool, const TDEIO::MetaData* = 0);
+//ig bool startJobScheduled (TDEIO::Scheduler::ProtocolInfo*);
bool startJobDirect ();
Scheduler ();
@@ -95,12 +95,12 @@ protected slots:
private:
- Scheduler (const KIO::Scheduler&);
+ Scheduler (const TDEIO::Scheduler&);
protected:
//igx virtual void virtual_hook (int, void*);
}; // class Scheduler
-}; // namespace KIO
+}; // namespace TDEIO
diff --git a/sip/kio/sessiondata.sip b/sip/kio/sessiondata.sip
index ba8d723..507a2c3 100644
--- a/sip/kio/sessiondata.sip
+++ b/sip/kio/sessiondata.sip
@@ -23,7 +23,7 @@
// If not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-namespace KIO
+namespace TDEIO
{
class SessionData : TQObject
@@ -35,7 +35,7 @@ class SessionData : TQObject
public:
SessionData ();
- virtual void configDataFor (KIO::MetaData&, const TQString&, const TQString&);
+ virtual void configDataFor (TDEIO::MetaData&, const TQString&, const TQString&);
virtual void reset ();
public slots:
@@ -47,5 +47,5 @@ protected:
}; // class SessionData
-}; // namespace KIO
+}; // namespace TDEIO
diff --git a/sip/kio/skipdlg.sip b/sip/kio/skipdlg.sip
index c0f4ac2..75085e6 100644
--- a/sip/kio/skipdlg.sip
+++ b/sip/kio/skipdlg.sip
@@ -27,7 +27,7 @@
#include <skipdlg.h>
%End
-namespace KIO
+namespace TDEIO
{
enum SkipDlg_Result
@@ -37,9 +37,9 @@ enum SkipDlg_Result
S_CANCEL
};
-//ig KIO::SkipDlg_Result open_SkipDlg (bool, const TQString& = TQString ::null );
+//ig TDEIO::SkipDlg_Result open_SkipDlg (bool, const TQString& = TQString ::null );
//ig class SkipDlg : KDialog;
-}; // namespace KIO
+}; // namespace TDEIO
diff --git a/sip/kio/slave.sip b/sip/kio/slave.sip
index e2d4961..1acea8d 100644
--- a/sip/kio/slave.sip
+++ b/sip/kio/slave.sip
@@ -23,10 +23,10 @@
// If not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-namespace KIO
+namespace TDEIO
{
-class Slave : KIO::SlaveInterface
+class Slave : TDEIO::SlaveInterface
{
%TypeHeaderCode
#include <slave.h>
@@ -36,19 +36,19 @@ class Slave : KIO::SlaveInterface
protected:
%If ( KDE_3_2_0 - )
- Slave (bool, KServerSocket*, const TQString&, const TQString&);
+ Slave (bool, TDEServerSocket*, const TQString&, const TQString&);
%End
public:
- Slave (KServerSocket*, const TQString&, const TQString&);
+ Slave (TDEServerSocket*, const TQString&, const TQString&);
void setPID (pid_t);
int slave_pid ();
void kill ();
bool isAlive ();
void setHost (const TQString&, int, const TQString&, const TQString&);
void resetHost ();
- void setConfig (const KIO::MetaData&);
+ void setConfig (const TDEIO::MetaData&);
TQString protocol ();
void setProtocol (const TQString&);
TQString slaveProtocol ();
@@ -56,8 +56,8 @@ public:
int port ();
TQString user ();
TQString passwd ();
- static KIO::Slave* createSlave (const TQString&, const KURL&, int& /Out/, TQString& /Out/);
- static KIO::Slave* holdSlave (const TQString&, const KURL&);
+ static TDEIO::Slave* createSlave (const TQString&, const KURL&, int& /Out/, TQString& /Out/);
+ static TDEIO::Slave* holdSlave (const TQString&, const KURL&);
void suspend ();
void resume ();
bool suspended ();
@@ -71,17 +71,17 @@ public:
void setIdle ();
bool isConnected ();
void setConnected (bool);
- KIO::Connection* connection ();
+ TDEIO::Connection* connection ();
void ref ();
void deref ();
public slots:
- void accept (KSocket*);
+ void accept (TDESocket*);
void gotInput ();
void timeout ();
signals:
- void slaveDied (KIO::Slave*);
+ void slaveDied (TDEIO::Slave*);
protected:
void unlinkSocket ();
@@ -91,5 +91,5 @@ protected:
}; // class Slave
-}; // namespace KIO
+}; // namespace TDEIO
diff --git a/sip/kio/slavebase.sip b/sip/kio/slavebase.sip
index 6d7d68e..3a8bd05 100644
--- a/sip/kio/slavebase.sip
+++ b/sip/kio/slavebase.sip
@@ -23,7 +23,7 @@
// If not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-namespace KIO
+namespace TDEIO
{
class SlaveBase
@@ -41,8 +41,8 @@ public:
%End
void dispatchLoop ();
- void setConnection (KIO::Connection*);
- KIO::Connection* connection () const;
+ void setConnection (TDEIO::Connection*);
+ TDEIO::Connection* connection () const;
void data (const TQByteArray&);
void dataReq ();
void error (int, const TQString&);
@@ -50,12 +50,12 @@ public:
void finished ();
void needSubURLData ();
void slaveStatus (const TQString&, bool);
- void statEntry (const KIO::UDSEntry&);
- void listEntries (const KIO::UDSEntryList&);
- bool canResume (KIO::filesize_t);
+ void statEntry (const TDEIO::UDSEntry&);
+ void listEntries (const TDEIO::UDSEntryList&);
+ bool canResume (TDEIO::filesize_t);
void canResume ();
- void totalSize (KIO::filesize_t);
- void processedSize (KIO::filesize_t);
+ void totalSize (TDEIO::filesize_t);
+ void processedSize (TDEIO::filesize_t);
void processedPercent (float);
void speed (ulong);
void redirection (const KURL&);
@@ -74,10 +74,10 @@ public:
SSLMessageBox
};
- int messageBox (KIO::SlaveBase::MessageBoxType, const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null );
+ int messageBox (TDEIO::SlaveBase::MessageBoxType, const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null );
%If ( KDE_3_3_0 - )
- int messageBox (const TQString&, KIO::SlaveBase::MessageBoxType, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null );
+ int messageBox (const TQString&, TDEIO::SlaveBase::MessageBoxType, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null );
%End
void setMetaData (const TQString&, const TQString&);
@@ -85,10 +85,10 @@ public:
TQString metaData (const TQString&);
%If ( KDE_3_5_2 - )
- KIO::MetaData allMetaData () const;
+ TDEIO::MetaData allMetaData () const;
%End
- KConfigBase* config ();
+ TDEConfigBase* config ();
%If ( KDE_3_3_0 - )
KRemoteEncoding* remoteEncoding ();
@@ -129,13 +129,13 @@ public:
int readData (TQByteArray&);
%If ( KDE_3_1_0 - )
- void listEntry (const KIO::UDSEntry&, bool);
+ void listEntry (const TDEIO::UDSEntry&, bool);
void connectSlave (const TQString&);
void disconnectSlave ();
- bool openPassDlg (KIO::AuthInfo&, const TQString&);
- bool openPassDlg (KIO::AuthInfo&);
- bool checkCachedAuthentication (KIO::AuthInfo&);
- bool cacheAuthentication (const KIO::AuthInfo&);
+ bool openPassDlg (TDEIO::AuthInfo&, const TQString&);
+ bool openPassDlg (TDEIO::AuthInfo&);
+ bool checkCachedAuthentication (TDEIO::AuthInfo&);
+ bool cacheAuthentication (const TDEIO::AuthInfo&);
bool pingCacheDaemon () const;
TQString createAuthCacheKey (const KURL&);
void sendAuthenticationKey (const TQCString&, const TQCString&, bool);
@@ -148,9 +148,9 @@ public:
int waitForAnswer (int, int, TQByteArray&, int* = 0);
void sendMetaData ();
TQCString mProtocol;
- KIO::Connection* m_pConnection;
- KIO::MetaData mOutgoingMetaData;
- KIO::MetaData mIncomingMetaData;
+ TDEIO::Connection* m_pConnection;
+ TDEIO::MetaData mOutgoingMetaData;
+ TDEIO::MetaData mIncomingMetaData;
bool wasKilled () const;
void setKillFlag ();
%End
@@ -162,13 +162,13 @@ protected:
protected:
%If ( - KDE_3_1_0 )
- void listEntry (const KIO::UDSEntry&, bool);
+ void listEntry (const TDEIO::UDSEntry&, bool);
void connectSlave (const TQString&);
void disconnectSlave ();
bool pingCacheDaemon () const;
- bool openPassDlg (KIO::AuthInfo&);
- bool checkCachedAuthentication (KIO::AuthInfo&);
- bool cacheAuthentication (const KIO::AuthInfo&);
+ bool openPassDlg (TDEIO::AuthInfo&);
+ bool checkCachedAuthentication (TDEIO::AuthInfo&);
+ bool cacheAuthentication (const TDEIO::AuthInfo&);
TQString createAuthCacheKey (const KURL&);
void sendAuthenticationKey (const TQCString&, const TQCString&, bool);
void delCachedAuthentication (const TQString&);
@@ -183,5 +183,5 @@ protected:
}; // class SlaveBase
-}; // namespace KIO
+}; // namespace TDEIO
diff --git a/sip/kio/slaveconfig.sip b/sip/kio/slaveconfig.sip
index d8d2d10..c5789b7 100644
--- a/sip/kio/slaveconfig.sip
+++ b/sip/kio/slaveconfig.sip
@@ -23,7 +23,7 @@
// If not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-namespace KIO
+namespace TDEIO
{
class SlaveConfig : TQObject
@@ -34,10 +34,10 @@ class SlaveConfig : TQObject
public:
- static KIO::SlaveConfig* self ();
+ static TDEIO::SlaveConfig* self ();
void setConfigData (const TQString&, const TQString&, const TQString&, const TQString&);
- void setConfigData (const TQString&, const TQString&, const KIO::MetaData&);
- KIO::MetaData configData (const TQString&, const TQString&);
+ void setConfigData (const TQString&, const TQString&, const TDEIO::MetaData&);
+ TDEIO::MetaData configData (const TQString&, const TQString&);
TQString configData (const TQString&, const TQString&, const TQString&);
void reset ();
@@ -49,5 +49,5 @@ protected:
}; // class SlaveConfig
-}; // namespace KIO
+}; // namespace TDEIO
diff --git a/sip/kio/slaveinterface.sip b/sip/kio/slaveinterface.sip
index 80e2251..6eca9bc 100644
--- a/sip/kio/slaveinterface.sip
+++ b/sip/kio/slaveinterface.sip
@@ -27,7 +27,7 @@
#include <slaveinterface.h>
%End
-namespace KIO
+namespace TDEIO
{
enum Info
@@ -82,14 +82,14 @@ class SlaveInterface : TQObject
public:
- SlaveInterface (KIO::Connection*);
- void setConnection (KIO::Connection*);
- KIO::Connection* connection () const;
+ SlaveInterface (TDEIO::Connection*);
+ void setConnection (TDEIO::Connection*);
+ TDEIO::Connection* connection () const;
void setProgressId (int);
int progressId () const;
void sendResumeAnswer (bool);
- void setOffset (KIO::filesize_t);
- KIO::filesize_t offset () const;
+ void setOffset (TDEIO::filesize_t);
+ TDEIO::filesize_t offset () const;
signals:
void data (const TQByteArray&);
@@ -98,14 +98,14 @@ signals:
void connected ();
void finished ();
void slaveStatus (pid_t, const TQCString&, const TQString&, bool);
- void listEntries (const KIO::UDSEntryList&);
- void statEntry (const KIO::UDSEntry&);
+ void listEntries (const TDEIO::UDSEntryList&);
+ void statEntry (const TDEIO::UDSEntry&);
void needSubURLData ();
void needProgressId ();
- void canResume (KIO::filesize_t);
- void metaData (const KIO::MetaData&);
- void totalSize (KIO::filesize_t);
- void processedSize (KIO::filesize_t);
+ void canResume (TDEIO::filesize_t);
+ void metaData (const TDEIO::MetaData&);
+ void totalSize (TDEIO::filesize_t);
+ void processedSize (TDEIO::filesize_t);
void redirection (const KURL&);
void speed (ulong);
void errorPage ();
@@ -119,7 +119,7 @@ signals:
protected:
virtual bool dispatch ();
virtual bool dispatch (int, const TQByteArray&);
- void openPassDlg (KIO::AuthInfo&);
+ void openPassDlg (TDEIO::AuthInfo&);
void openPassDlg (const TQString&, const TQString&, const TQString&, const TQString&, const TQString&, bool);
void openPassDlg (const TQString&, const TQString&, bool);
void messageBox (int, const TQString&, const TQString&, const TQString&, const TQString&);
@@ -179,10 +179,10 @@ enum Command
%End
-}; // namespace KIO
+}; // namespace TDEIO
%If ( KDE_3_1_4 - )
-//igx TQDataStream& operator << (TQDataStream&, const KIO::UDSEntry&);
-//igx TQDataStream& operator >> (TQDataStream&, KIO::UDSEntry&);
+//igx TQDataStream& operator << (TQDataStream&, const TDEIO::UDSEntry&);
+//igx TQDataStream& operator >> (TQDataStream&, TDEIO::UDSEntry&);
%End
diff --git a/sip/kio/statusbarprogress.sip b/sip/kio/statusbarprogress.sip
index 4fa221d..2e8d4f7 100644
--- a/sip/kio/statusbarprogress.sip
+++ b/sip/kio/statusbarprogress.sip
@@ -23,10 +23,10 @@
// If not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-namespace KIO
+namespace TDEIO
{
-class StatusbarProgress : KIO::ProgressBase
+class StatusbarProgress : TDEIO::ProgressBase
{
%TypeHeaderCode
#include <statusbarprogress.h>
@@ -35,13 +35,13 @@ class StatusbarProgress : KIO::ProgressBase
public:
StatusbarProgress (TQWidget* /TransferThis/, bool = 1);
- void setJob (KIO::Job*);
+ void setJob (TDEIO::Job*);
public slots:
virtual void slotClean ();
- virtual void slotTotalSize (KIO::Job*, KIO::filesize_t);
- virtual void slotPercent (KIO::Job*, ulong);
- virtual void slotSpeed (KIO::Job*, ulong);
+ virtual void slotTotalSize (TDEIO::Job*, TDEIO::filesize_t);
+ virtual void slotPercent (TDEIO::Job*, ulong);
+ virtual void slotSpeed (TDEIO::Job*, ulong);
protected:
void setMode ();
@@ -52,5 +52,5 @@ protected:
}; // class StatusbarProgress
-}; // namespace KIO
+}; // namespace TDEIO
diff --git a/sip/kio/tcpslavebase.sip b/sip/kio/tcpslavebase.sip
index ec2c09d..deeb4e3 100644
--- a/sip/kio/tcpslavebase.sip
+++ b/sip/kio/tcpslavebase.sip
@@ -23,10 +23,10 @@
// If not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-namespace KIO
+namespace TDEIO
{
-class TCPSlaveBase : KIO::SlaveBase
+class TCPSlaveBase : TDEIO::SlaveBase
{
%TypeHeaderCode
#include <tcpslavebase.h>
@@ -87,5 +87,5 @@ protected:
}; // class TCPSlaveBase
-}; // namespace KIO
+}; // namespace TDEIO