summaryrefslogtreecommitdiffstats
path: root/sip/kio
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-13 18:29:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-13 18:29:02 -0600
commit8b572dea67da88257802f26be6f2dccfa04d3cc5 (patch)
tree07a63c433a00881de8cba186c5d29c51a8bdbeae /sip/kio
parent7de8f4c89ba9a767d88e327b627b14e6a0f94c76 (diff)
downloadpytde-8b572dea67da88257802f26be6f2dccfa04d3cc5.tar.gz
pytde-8b572dea67da88257802f26be6f2dccfa04d3cc5.zip
Rename additional kio references
Diffstat (limited to 'sip/kio')
-rw-r--r--sip/kio/authinfo.sip210
-rw-r--r--sip/kio/chmodjob.sip55
-rw-r--r--sip/kio/connection.sip72
-rw-r--r--sip/kio/davjob.sip56
-rw-r--r--sip/kio/defaultprogress.sip103
-rw-r--r--sip/kio/forwardingslavebase.sip63
-rw-r--r--sip/kio/global.sip714
-rw-r--r--sip/kio/job.sip73
-rw-r--r--sip/kio/jobclasses.sip748
-rw-r--r--sip/kio/kacl.sip168
-rw-r--r--sip/kio/kar.sip54
-rw-r--r--sip/kio/karchive.sip189
-rw-r--r--sip/kio/kautomount.sip77
-rw-r--r--sip/kio/kdatatool.sip172
-rw-r--r--sip/kio/kdcopservicestarter.sip48
-rw-r--r--sip/kio/kdirlister.sip267
-rw-r--r--sip/kio/kdirnotify.sip57
-rw-r--r--sip/kio/kdirwatch.sip96
-rw-r--r--sip/kio/kemailsettings.sip84
-rw-r--r--sip/kio/kfilterbase.sip74
-rw-r--r--sip/kio/kfilterdev.sip73
-rw-r--r--sip/kio/kimageio.sip59
-rw-r--r--sip/kio/kio-kde310.diff5
-rw-r--r--sip/kio/kio-kde311.diff4
-rw-r--r--sip/kio/kio-kde312.diff5
-rw-r--r--sip/kio/kio-kde313.diff5
-rw-r--r--sip/kio/kio-kde314.diff5
-rw-r--r--sip/kio/kio-kde315.diff5
-rw-r--r--sip/kio/kio-kde320.diff6
-rw-r--r--sip/kio/kio-kde321.diff6
-rw-r--r--sip/kio/kio-kde322.diff6
-rw-r--r--sip/kio/kio-kde323.diff6
-rw-r--r--sip/kio/kio-kde330.diff10
-rw-r--r--sip/kio/kio-kde331.diff10
-rw-r--r--sip/kio/kio-kde332.diff10
-rw-r--r--sip/kio/kio-kde340.diff11
-rw-r--r--sip/kio/kio-kde341.diff11
-rw-r--r--sip/kio/kio-kde342.diff11
-rw-r--r--sip/kio/kio-kde343.diff11
-rw-r--r--sip/kio/kio-kde350.diff12
-rw-r--r--sip/kio/kio-kde351.diff12
-rw-r--r--sip/kio/kio-kde352.diff12
-rw-r--r--sip/kio/kio-kde353.diff12
-rw-r--r--sip/kio/kiomod.sip.in97
-rw-r--r--sip/kio/kmimemagic.sip74
-rw-r--r--sip/kio/kmimetype.sip428
-rw-r--r--sip/kio/kmimetypechooser.sip74
-rw-r--r--sip/kio/knfsshare.sip51
-rw-r--r--sip/kio/kpac.sip44
-rw-r--r--sip/kio/kprotocolinfo.sip287
-rw-r--r--sip/kio/kprotocolmanager.sip99
-rw-r--r--sip/kio/kremoteencoding.sip60
-rw-r--r--sip/kio/krun.sip206
-rw-r--r--sip/kio/ksambashare.sip51
-rw-r--r--sip/kio/kscan.sip120
-rw-r--r--sip/kio/kservice.sip287
-rw-r--r--sip/kio/kservicegroup.sip288
-rw-r--r--sip/kio/kservicetype.sip293
-rw-r--r--sip/kio/kshellcompletion.sip47
-rw-r--r--sip/kio/kshred.sip49
-rw-r--r--sip/kio/ktar.sip73
-rw-r--r--sip/kio/ktrader.sip124
-rw-r--r--sip/kio/kurifilter.sip147
-rw-r--r--sip/kio/kurlcompletion.sip81
-rw-r--r--sip/kio/kurlpixmapprovider.sip41
-rw-r--r--sip/kio/kuserprofile.sip222
-rw-r--r--sip/kio/kzip.sip120
-rw-r--r--sip/kio/metainfojob.sip63
-rw-r--r--sip/kio/netaccess.sip128
-rw-r--r--sip/kio/observer.sip96
-rw-r--r--sip/kio/passdlg.sip68
-rw-r--r--sip/kio/paste.sip56
-rw-r--r--sip/kio/previewjob.sip72
-rw-r--r--sip/kio/progressbase.sip95
-rw-r--r--sip/kio/renamedlg.sip67
-rw-r--r--sip/kio/renamedlgplugin.sip39
-rw-r--r--sip/kio/scheduler.sip106
-rw-r--r--sip/kio/sessiondata.sip51
-rw-r--r--sip/kio/skipdlg.sip45
-rw-r--r--sip/kio/slave.sip95
-rw-r--r--sip/kio/slavebase.sip187
-rw-r--r--sip/kio/slaveconfig.sip53
-rw-r--r--sip/kio/slaveinterface.sip188
-rw-r--r--sip/kio/statusbarprogress.sip56
-rw-r--r--sip/kio/tcpslavebase.sip91
-rw-r--r--sip/kio/tdefilefilter.sip81
-rw-r--r--sip/kio/tdefileitem.sip171
-rw-r--r--sip/kio/tdefilemetainfo.sip460
-rw-r--r--sip/kio/tdefileshare.sip87
-rw-r--r--sip/kio/tdesycoca.sip171
-rw-r--r--sip/kio/tdesycocadict.sip51
-rw-r--r--sip/kio/tdesycocaentry.sip208
-rw-r--r--sip/kio/tdesycocafactory.sip63
-rw-r--r--sip/kio/tdesycocatype.sip76
-rw-r--r--sip/kio/thumbcreator.sip47
95 files changed, 0 insertions, 10021 deletions
diff --git a/sip/kio/authinfo.sip b/sip/kio/authinfo.sip
deleted file mode 100644
index 71ca01c..0000000
--- a/sip/kio/authinfo.sip
+++ /dev/null
@@ -1,210 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-namespace TDEIO
-{
-
-class AuthInfo
-{
-%TypeHeaderCode
-#include <authinfo.h>
-%End
-
-
-public:
- AuthInfo ();
- AuthInfo (const TDEIO::AuthInfo&);
- bool isModified () const;
- void setModified (bool);
- KURL url;
- TQString username;
- TQString password;
- TQString prompt;
- TQString caption;
- TQString comment;
- TQString commentLabel;
- TQString realmValue;
- TQString digestInfo;
- bool verifyPath;
- bool readOnly;
- bool keepPassword;
-
-protected:
-
-}; // class AuthInfo
-
-
-%If ( KDE_3_1_4 - )
-//igx TQDataStream& operator << (TQDataStream&, const TDEIO::AuthInfo&);
-//igx TQDataStream& operator >> (TQDataStream&, TDEIO::AuthInfo&);
-%End
-
-
-class NetRC
-{
-%TypeHeaderCode
-#include <authinfo.h>
-%End
-
-
-public:
-
- enum LookUpMode
- {
- exactOnly,
- defaultOnly,
- presetOnly
- };
-
-
- class AutoLogin
- {
-
- public:
- TQString type;
- TQString machine;
- TQString login;
- TQString password;
- KStringListMap macdef;
-
- }; // class AutoLogin
-
-
-public:
- static TDEIO::NetRC* self ();
- bool lookup (const KURL&, TDEIO::NetRC::AutoLogin&, bool = 0, TQString = TQString ::null , int = 6);
- void reload ();
-
-protected:
-//ig TQString extract (const char*, const char*, int&);
- int openf (const TQString&);
-
-%If ( KDE_3_2_0 - )
- bool parse (int);
-%End
-
-
-private:
- NetRC ();
- ~NetRC ();
-
-protected:
-
-%If ( - KDE_3_2_0 )
- void parse (int);
-%End
-
-
-}; // class NetRC
-
-}; // namespace TDEIO
-
-
-
-%MappedType KStringListMap
-{
-//converts a Python dict of TQString:TQStringList
-%TypeHeaderCode
-#include <tqmap.h>
-typedef TQMap<TQString, TQStringList> KStringListMap;
-%End
-
-%ConvertFromTypeCode
- // Convert to a Python dict.
-
- if (!sipCpp)
- return PyDict_New();
-
- PyObject *dict;
-
- // Create the dictionary.
-
- if ((dict = PyDict_New()) == NULL)
- return NULL;
-
- // Get it.
-
- const TQMap<TQString, TQStringList> map = *sipCpp;
- TQMap<TQString, TQStringList>::ConstIterator it;
-
- for (it = map.begin (); it != map.end (); ++it)
- {
- PyObject *sKey = PyString_FromString ((const char *)((TQString)it.key ()));
- PyObject *sData = sipConvertFromInstance ((void *)&it.data (), sipClass_TQStringList, sipTransferObj);
-
- if ((sKey == NULL) || (sData == NULL) || (PyDict_SetItem (dict, sKey, sData) < 0))
- {
- Py_XDECREF (sKey);
- Py_XDECREF (sData);
- Py_DECREF (dict);
- return NULL;
- }
- }
-
- return dict;
-%End
-
-
-%ConvertToTypeCode
- if (sipIsErr == NULL)
- return PyDict_Check(sipPy);
-
- TQMap<TQString, TQStringList> *map = new TQMap<TQString, TQStringList>;
-
- PyObject *key, *value;
- SIP_SSIZE_T pos = 0;
- TQString *sKey;
- TQStringList *sData;
-
- while (PyDict_Next(sipPy, &pos, &key, &value))
- {
- int iserr = 0, sKey_state, sData_state;
-
- sKey = (TQString *)sipForceConvertToType(key, sipType_TQString, sipTransferObj, SIP_NOT_NONE, &sKey_state, &iserr);
- sData = (TQStringList *)sipForceConvertToType(value, sipType_TQStringList, sipTransferObj, SIP_NOT_NONE, &sData_state, &iserr);
-
- if (iserr)
- {
- if (sKey)
- sipReleaseType(sKey, sipType_TQString, sKey_state);
-
- *sipIsErr = 1;
- delete map;
- return 0;
- }
-
- map->insert (*sKey, *sData);
-
- sipReleaseType(sKey, sipType_TQString, sKey_state);
- sipReleaseType(sData, sipType_TQStringList, sData_state);
- }
-
- *sipCppPtr = map;
-
- return 1;
-%End
-};
-
-
diff --git a/sip/kio/chmodjob.sip b/sip/kio/chmodjob.sip
deleted file mode 100644
index b977552..0000000
--- a/sip/kio/chmodjob.sip
+++ /dev/null
@@ -1,55 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-namespace TDEIO
-{
-
-class ChmodJob : TDEIO::Job
-{
-%TypeHeaderCode
-#include <jobclasses.h>
-#include <chmodjob.h>
-%End
-
-
-public:
- ChmodJob (const KFileItemList&, int, int, int, int, bool, bool);
-
-protected:
- void chmodNextFile ();
-
-protected slots:
- virtual void slotResult (TDEIO::Job*);
- void slotEntries (TDEIO::Job*, const TDEIO::UDSEntryList&);
- void processList ();
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class ChmodJob
-
-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
deleted file mode 100644
index aef53cc..0000000
--- a/sip/kio/connection.sip
+++ /dev/null
@@ -1,72 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-namespace TDEIO
-{
-
-class Task
-{
-%TypeHeaderCode
-#include <connection.h>
-%End
-
-
-public:
- int cmd;
- TQByteArray data;
-
-}; // class Task
-
-
-class Connection : TQObject
-{
-%TypeHeaderCode
-#include <connection.h>
-%End
-
-
-public:
- Connection ();
- void init (TDESocket*);
- void init (int, int);
- void connect (TQObject* = 0, const char* = 0);
- void close ();
- int fd_from () const;
- int fd_to () const;
- bool inited () const;
- void send (int, const TQByteArray& = TQByteArray ());
- bool sendnow (int, const TQByteArray&);
-//ig int read (int*, TQByteArray&);
- void suspend ();
- void resume ();
- bool suspended () const;
-
-protected slots:
- void dequeue ();
-
-}; // class Connection
-
-}; // namespace TDEIO
-
diff --git a/sip/kio/davjob.sip b/sip/kio/davjob.sip
deleted file mode 100644
index ed50fa5..0000000
--- a/sip/kio/davjob.sip
+++ /dev/null
@@ -1,56 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-%If ( KDE_3_1_0 - )
-namespace TDEIO
-{
-
-class DavJob : TDEIO::TransferJob
-{
-%TypeHeaderCode
-#include <davjob.h>
-%End
-
-
-public:
- DavJob (const KURL&, int, const TQString&, bool);
- TQDomDocument& response ();
-
-protected slots:
- virtual void slotFinished ();
- virtual void slotData (const TQByteArray&);
-
-protected:
-
-}; // class DavJob
-
-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
deleted file mode 100644
index 25893b8..0000000
--- a/sip/kio/defaultprogress.sip
+++ /dev/null
@@ -1,103 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-namespace TDEIO
-{
-
-class DefaultProgress : TDEIO::ProgressBase
-{
-%TypeHeaderCode
-#include <defaultprogress.h>
-%End
-
-
-public:
- DefaultProgress (bool = 1);
-
-%If ( KDE_3_1_0 - )
- DefaultProgress (TQWidget* /TransferThis/, const char* = 0);
-
-%If ( KDE_3_2_1 - )
- bool keepOpen () const;
-
-%If ( KDE_3_4_0 - )
- static TQString makePercentString (ulong, TDEIO::filesize_t, ulong);
-%End
-
-%End
-
-%End
-
-
-public slots:
- 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 (TDEIO::Job*, const KURL&);
-%End
-
- 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 ();
-%End
-
-
-protected:
-
-%If ( KDE_3_1_0 - )
- void init ();
-%End
-
- void showTotals ();
- void setDestVisible (bool);
-
-%If ( KDE_3_1_0 - )
- void checkDestination (const KURL&);
-%End
-
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class DefaultProgress
-
-}; // namespace TDEIO
-
diff --git a/sip/kio/forwardingslavebase.sip b/sip/kio/forwardingslavebase.sip
deleted file mode 100644
index 65dca49..0000000
--- a/sip/kio/forwardingslavebase.sip
+++ /dev/null
@@ -1,63 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-%If ( KDE_3_4_0 - )
-namespace TDEIO
-{
-
-class ForwardingSlaveBase : TQObject, TDEIO::SlaveBase
-{
-%TypeHeaderCode
-#include <forwardingslavebase.h>
-%End
-
-
-public:
- ForwardingSlaveBase (const TQCString&, const TQCString&, const TQCString&);
- virtual void get (const KURL&);
- virtual void put (const KURL&, int, bool, bool);
- virtual void stat (const KURL&);
- virtual void mimetype (const KURL&);
- virtual void listDir (const KURL&);
- virtual void mkdir (const KURL&, int);
- virtual void rename (const KURL&, const KURL&, bool);
- virtual void symlink (const TQString&, const KURL&, bool);
- virtual void chmod (const KURL&, int);
- virtual void copy (const KURL&, const KURL&, int, bool);
- virtual void del (const KURL&, bool);
-
-protected:
- virtual bool rewriteURL (const KURL&, KURL&) = 0;
- virtual void prepareUDSEntry (TDEIO::UDSEntry&, bool = 0) const;
- KURL processedURL () const;
- KURL requestedURL () const;
-
-}; // class ForwardingSlaveBase
-
-}; // namespace TDEIO
-
-%End
-
diff --git a/sip/kio/global.sip b/sip/kio/global.sip
deleted file mode 100644
index 0923e77..0000000
--- a/sip/kio/global.sip
+++ /dev/null
@@ -1,714 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-%ModuleHeaderCode
-#include <tdeio/global.h>
-%End
-
-namespace TDEIO
-{
-typedef long long fileoffset_t;
-typedef unsigned long long filesize_t;
-TQString convertSize (TDEIO::filesize_t);
-
-%If ( KDE_3_5_0 - )
-TQString convertSizeWithBytes (TDEIO::filesize_t);
-%End
-
-TQString number (TDEIO::filesize_t);
-TQString convertSizeFromKB (TDEIO::filesize_t);
-
-%If ( KDE_3_4_0 - )
-uint calculateRemainingSeconds (TDEIO::filesize_t, TDEIO::filesize_t, TDEIO::filesize_t);
-TQString convertSeconds (uint);
-%End
-
-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&);
-
-%If ( KDE_3_2_0 - )
-
-enum Command
-{
- CMD_HOST,
- CMD_CONNECT,
- CMD_DISCONNECT,
- CMD_SLAVE_STATUS,
- CMD_SLAVE_CONNECT,
- CMD_SLAVE_HOLD,
- CMD_NONE,
- CMD_TESTDIR,
- CMD_GET,
- CMD_PUT,
- CMD_STAT,
- CMD_MIMETYPE,
- CMD_LISTDIR,
- CMD_MKDIR,
- CMD_RENAME,
- CMD_COPY,
- CMD_DEL,
- CMD_CHMOD,
- CMD_SPECIAL,
- CMD_USERPASS,
- CMD_REPARSECONFIGURATION,
- CMD_META_DATA,
- CMD_SYMLINK,
- CMD_SUBURL,
- CMD_MESSAGEBOXANSWER,
- CMD_RESUMEANSWER,
- CMD_CONFIG,
- CMD_MULTI_GET
-};
-
-%End
-
-
-%If ( KDE_3_1_0 - )
-
-enum Error
-{
- ERR_CANNOT_OPEN_FOR_READING,
- ERR_CANNOT_OPEN_FOR_WRITING,
- ERR_CANNOT_LAUNCH_PROCESS,
- ERR_INTERNAL,
- ERR_MALFORMED_URL,
- ERR_UNSUPPORTED_PROTOCOL,
- ERR_NO_SOURCE_PROTOCOL,
- ERR_UNSUPPORTED_ACTION,
- ERR_IS_DIRECTORY,
- ERR_IS_FILE,
- ERR_DOES_NOT_EXIST,
- ERR_FILE_ALREADY_EXIST,
- ERR_DIR_ALREADY_EXIST,
- ERR_UNKNOWN_HOST,
- ERR_ACCESS_DENIED,
- ERR_WRITE_ACCESS_DENIED,
- ERR_CANNOT_ENTER_DIRECTORY,
- ERR_PROTOCOL_IS_NOT_A_FILESYSTEM,
- ERR_CYCLIC_LINK,
- ERR_USER_CANCELED,
- ERR_CYCLIC_COPY,
- ERR_COULD_NOT_CREATE_SOCKET,
- ERR_COULD_NOT_CONNECT,
- ERR_CONNECTION_BROKEN,
- ERR_NOT_FILTER_PROTOCOL,
- ERR_COULD_NOT_MOUNT,
- ERR_COULD_NOT_UNMOUNT,
- ERR_COULD_NOT_READ,
- ERR_COULD_NOT_WRITE,
- ERR_COULD_NOT_BIND,
- ERR_COULD_NOT_LISTEN,
- ERR_COULD_NOT_ACCEPT,
- ERR_COULD_NOT_LOGIN,
- ERR_COULD_NOT_STAT,
- ERR_COULD_NOT_CLOSEDIR,
- ERR_COULD_NOT_MKDIR,
- ERR_COULD_NOT_RMDIR,
- ERR_CANNOT_RESUME,
- ERR_CANNOT_RENAME,
- ERR_CANNOT_CHMOD,
- ERR_CANNOT_DELETE,
- ERR_SLAVE_DIED,
- ERR_OUT_OF_MEMORY,
- ERR_UNKNOWN_PROXY_HOST,
- ERR_COULD_NOT_AUTHENTICATE,
- ERR_ABORTED,
- ERR_INTERNAL_SERVER,
- ERR_SERVER_TIMEOUT,
- ERR_SERVICE_NOT_AVAILABLE,
- ERR_UNKNOWN,
- ERR_UNKNOWN_INTERRUPT,
- ERR_CANNOT_DELETE_ORIGINAL,
- ERR_CANNOT_DELETE_PARTIAL,
- ERR_CANNOT_RENAME_ORIGINAL,
- ERR_CANNOT_RENAME_PARTIAL,
- ERR_NEED_PASSWD,
- ERR_CANNOT_SYMLINK,
- ERR_NO_CONTENT,
- ERR_DISK_FULL,
- ERR_IDENTICAL_FILES,
- ERR_SLAVE_DEFINED,
- ERR_UPGRADE_REQUIRED,
- ERR_POST_DENIED
-};
-
-%End
-
-TQString buildErrorString (int, const TQString&);
-//ig TQString buildHTMLErrorString (int, const TQString&, const KURL* = 0, int = -1);
-TQByteArray rawErrorDetail (int, const TQString&, const KURL* = 0, int = -1);
-
-%If ( KDE_3_2_0 - )
-TQString unsupportedActionErrorString (const TQString&, int);
-
-%If ( KDE_3_5_1 - )
-
-enum UDSAtomTypes
-{
- UDS_STRING,
- UDS_LONG,
- UDS_TIME,
- UDS_SIZE,
- UDS_SIZE_LARGE,
- UDS_USER,
- UDS_ICON_NAME,
- UDS_GROUP,
- UDS_EXTRA,
- UDS_NAME,
- UDS_LOCAL_PATH,
- UDS_HIDDEN,
- UDS_EXTENDED_ACL,
- UDS_ACL_STRING,
- UDS_DEFAULT_ACL_STRING,
- UDS_ACCESS,
- UDS_MODIFICATION_TIME,
- UDS_ACCESS_TIME,
- UDS_CREATION_TIME,
- UDS_FILE_TYPE,
- UDS_LINK_DEST,
- UDS_URL,
- UDS_MIME_TYPE,
- UDS_GUESSED_MIME_TYPE,
- UDS_XML_PROPERTIES
-};
-
-%End
-
-%End
-
-
-%If ( KDE_3_0_1 - )
-
-enum CacheControl
-{
- CC_CacheOnly,
- CC_Cache,
- CC_Verify,
- CC_Refresh,
- CC_Reload
-};
-
-%End
-
-TDEIO::CacheControl parseCacheControl (const TQString&);
-TQString getCacheControlString (TDEIO::CacheControl);
-TQString findDeviceMountPoint (const TQString&);
-TQString findPathMountPoint (const TQString&);
-bool probably_slow_mounted (const TQString&);
-
-%If ( KDE_3_1_0 - )
-bool manually_mounted (const TQString&);
-
-%If ( KDE_3_2_0 - )
-
-enum FileSystemFlag
-{
- SupportsChmod,
- SupportsChown,
- SupportsUTime,
- SupportsSymlinks,
- CaseInsensitive
-};
-
-bool testFileSystemFlag (const TQString&, TDEIO::FileSystemFlag);
-%End
-
-%End
-
-
-class UDSAtom
-{
-%TypeHeaderCode
-#include <global.h>
-%End
-
-
-public:
- TQString m_str;
- long m_long;
- uint m_uds;
-
-}; // class UDSAtom
-
-//ig typedef TQValueList<TDEIO::UDSAtom> UDSEntry;
-//ig typedef TQValueList<TDEIO::UDSEntry> UDSEntryList;
-//ig typedef TQValueListIterator<UDSEntry> UDSEntryListIterator;
-//ig typedef TQValueListConstIterator<UDSEntry> UDSEntryListConstIterator;
-
-%If ( KDE_3_4_0 - KDE_3_5_1 )
-
-enum UDSAtomTypes
-{
- UDS_STRING,
- UDS_LONG,
- UDS_TIME,
- UDS_SIZE,
- UDS_SIZE_LARGE,
- UDS_USER,
- UDS_ICON_NAME,
- UDS_GROUP,
- UDS_EXTRA,
- UDS_NAME,
- UDS_LOCAL_PATH,
- UDS_ACCESS,
- UDS_MODIFICATION_TIME,
- UDS_ACCESS_TIME,
- UDS_CREATION_TIME,
- UDS_FILE_TYPE,
- UDS_LINK_DEST,
- UDS_URL,
- UDS_MIME_TYPE,
- UDS_GUESSED_MIME_TYPE,
- UDS_XML_PROPERTIES
-};
-
-%End
-
-
-%If ( KDE_3_2_0 - KDE_3_4_0 )
-
-enum UDSAtomTypes
-{
- UDS_STRING,
- UDS_LONG,
- UDS_TIME,
- UDS_SIZE,
- UDS_SIZE_LARGE,
- UDS_USER,
- UDS_ICON_NAME,
- UDS_GROUP,
- UDS_EXTRA,
- UDS_NAME,
- UDS_ACCESS,
- UDS_MODIFICATION_TIME,
- UDS_ACCESS_TIME,
- UDS_CREATION_TIME,
- UDS_FILE_TYPE,
- UDS_LINK_DEST,
- UDS_URL,
- UDS_MIME_TYPE,
- UDS_GUESSED_MIME_TYPE,
- UDS_XML_PROPERTIES
-};
-
-%End
-
-
-%If ( KDE_3_1_0 - KDE_3_2_0 )
-
-enum UDSAtomTypes
-{
- UDS_STRING,
- UDS_LONG,
- UDS_TIME,
- UDS_SIZE,
- UDS_SIZE_LARGE,
- UDS_USER,
- UDS_GROUP,
- UDS_NAME,
- UDS_ACCESS,
- UDS_MODIFICATION_TIME,
- UDS_ACCESS_TIME,
- UDS_CREATION_TIME,
- UDS_FILE_TYPE,
- UDS_LINK_DEST,
- UDS_URL,
- UDS_MIME_TYPE,
- UDS_GUESSED_MIME_TYPE,
- UDS_XML_PROPERTIES
-};
-
-%End
-
-
-%If ( - KDE_3_1_0 )
-
-enum UDSAtomTypes
-{
- UDS_STRING,
- UDS_LONG,
- UDS_TIME,
- UDS_SIZE,
- UDS_SIZE_LARGE,
- UDS_USER,
- UDS_GROUP,
- UDS_NAME,
- UDS_ACCESS,
- UDS_MODIFICATION_TIME,
- UDS_ACCESS_TIME,
- UDS_CREATION_TIME,
- UDS_FILE_TYPE,
- UDS_LINK_DEST,
- UDS_URL,
- UDS_MIME_TYPE,
- UDS_GUESSED_MIME_TYPE
-};
-
-
-enum Error
-{
- ERR_CANNOT_OPEN_FOR_READING,
- ERR_CANNOT_OPEN_FOR_WRITING,
- ERR_CANNOT_LAUNCH_PROCESS,
- ERR_INTERNAL,
- ERR_MALFORMED_URL,
- ERR_UNSUPPORTED_PROTOCOL,
- ERR_NO_SOURCE_PROTOCOL,
- ERR_UNSUPPORTED_ACTION,
- ERR_IS_DIRECTORY,
- ERR_IS_FILE,
- ERR_DOES_NOT_EXIST,
- ERR_FILE_ALREADY_EXIST,
- ERR_DIR_ALREADY_EXIST,
- ERR_UNKNOWN_HOST,
- ERR_ACCESS_DENIED,
- ERR_WRITE_ACCESS_DENIED,
- ERR_CANNOT_ENTER_DIRECTORY,
- ERR_PROTOCOL_IS_NOT_A_FILESYSTEM,
- ERR_CYCLIC_LINK,
- ERR_USER_CANCELED,
- ERR_CYCLIC_COPY,
- ERR_COULD_NOT_CREATE_SOCKET,
- ERR_COULD_NOT_CONNECT,
- ERR_CONNECTION_BROKEN,
- ERR_NOT_FILTER_PROTOCOL,
- ERR_COULD_NOT_MOUNT,
- ERR_COULD_NOT_UNMOUNT,
- ERR_COULD_NOT_READ,
- ERR_COULD_NOT_WRITE,
- ERR_COULD_NOT_BIND,
- ERR_COULD_NOT_LISTEN,
- ERR_COULD_NOT_ACCEPT,
- ERR_COULD_NOT_LOGIN,
- ERR_COULD_NOT_STAT,
- ERR_COULD_NOT_CLOSEDIR,
- ERR_COULD_NOT_MKDIR,
- ERR_COULD_NOT_RMDIR,
- ERR_CANNOT_RESUME,
- ERR_CANNOT_RENAME,
- ERR_CANNOT_CHMOD,
- ERR_CANNOT_DELETE,
- ERR_SLAVE_DIED,
- ERR_OUT_OF_MEMORY,
- ERR_UNKNOWN_PROXY_HOST,
- ERR_COULD_NOT_AUTHENTICATE,
- ERR_ABORTED,
- ERR_INTERNAL_SERVER,
- ERR_SERVER_TIMEOUT,
- ERR_SERVICE_NOT_AVAILABLE,
- ERR_UNKNOWN,
- ERR_UNKNOWN_INTERRUPT,
- ERR_CANNOT_DELETE_ORIGINAL,
- ERR_CANNOT_DELETE_PARTIAL,
- ERR_CANNOT_RENAME_ORIGINAL,
- ERR_CANNOT_RENAME_PARTIAL,
- ERR_NEED_PASSWD,
- ERR_CANNOT_SYMLINK,
- ERR_NO_CONTENT,
- ERR_DISK_FULL,
- ERR_IDENTICAL_FILES,
- ERR_SLAVE_DEFINED
-};
-
-
-%If ( - KDE_3_0_1 )
-
-enum CacheControl
-{
- CC_CacheOnly,
- CC_Cache,
- CC_Verify,
- CC_Reload
-};
-
-%End
-
-%End
-
-//force
-//ig typedef TQMap<TQString,TQString> MetaData;
-//end
-}; // namespace TDEIO
-
-//force
-TDEIO::UDSEntry testKIOUDSEntry (TDEIO::UDSEntry);
-%MethodCode
-//takes list | (KIO.UDSEntry)
-//returns (KIO.UDSEntry)
- sipRes = a0;
-%End
-
-TDEIO::UDSEntryList testKIOUDSEntryList (TDEIO::UDSEntryList);
-%MethodCode
-//takes list | (KIO.UDSEntryList)
-//returns (KIO.UDSEntryList)
- sipRes = a0;
-%End
-
-%ModuleHeaderCode
-#include <tqmap.h>
-%End
-
-TDEIO::MetaData testKIOMetaData (TDEIO::MetaData);
-%MethodCode
-//takes dict | (KIO.MetaData)
-//returns (KIO.MetaData)
- sipRes = a0;
-%End
-
-//end
-
-
-%MappedType TDEIO::UDSEntry
-//converts a Python list of KIO.UDSAtom
-{
-%TypeHeaderCode
-#include <tqvaluelist.h>
-#include <global.h>
-%End
-
-%ConvertFromTypeCode
- if (!sipCpp)
- return PyList_New(0);
-
- // Create the list
- PyObject *pylist;
- if ((pylist = PyList_New(0)) == NULL)
- return NULL;
-
- TQValueList<TDEIO::UDSAtom> *cpplist = (TQValueList<TDEIO::UDSAtom> *)sipCpp;
- PyObject *inst;
-
- // Get it.
- TQValueList<TDEIO::UDSAtom>::Iterator it;
- for( it = cpplist->begin(); it != cpplist->end(); ++it )
- {
- if (((inst = sipConvertFromNewType(new TDEIO::UDSAtom(*it), sipType_KIO_UDSAtom, NULL)) == NULL)
- || PyList_Append (pylist, inst) < 0)
- {
- Py_DECREF (pylist);
- return NULL;
- }
- }
-
- return pylist;
-%End
-
-
-%ConvertToTypeCode
- if (sipIsErr == NULL)
- return PyList_Check(sipPy);
-
- TQValueList<TDEIO::UDSAtom> *cpplist = new TQValueList<TDEIO::UDSAtom>;
-
- PyObject *elem;
- TDEIO::UDSAtom *cpp;
- int iserr = 0;
-
- for (int i = 0; i < PyList_Size (sipPy); i++)
- {
- elem = PyList_GET_ITEM (sipPy, i);
- cpp = (TDEIO::UDSAtom *)sipForceConvertToType(elem, sipType_KIO_UDSAtom, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- delete cpplist;
- return 0;
- }
-
- cpplist->append (*cpp);
- }
-
- *sipCppPtr = cpplist;
-
- return 1;
-%End
-};
-
-
-%MappedType TDEIO::UDSEntryList
-//converts a Python list of KIO.UDSEntry
-{
-%TypeHeaderCode
-#include <tqvaluelist.h>
-#include <global.h>
-%End
-
-%ConvertFromTypeCode
- if (!sipCpp)
- return PyList_New(0);
-
- // Create the list
- PyObject *pylist;
- if ((pylist = PyList_New(0)) == NULL)
- return NULL;
-
- TQValueList<TDEIO::UDSEntry> *cpplist = (TQValueList<TDEIO::UDSEntry> *)sipCpp;
- PyObject *inst;
-
- // Get it.
- TQValueList<TDEIO::UDSEntry>::Iterator it;
- for( it = cpplist->begin(); it != cpplist->end(); ++it )
- {
- TDEIO::UDSEntry cpp = *it;
- inst = sipConvertFromType(&cpp, sipType_KIO_UDSEntry, sipTransferObj);
-
- if (PyList_Append (pylist, inst) < 0)
- {
- Py_DECREF (pylist);
- return NULL;
- }
- }
-
- return pylist;
-%End
-
-
-%ConvertToTypeCode
- if (sipIsErr == NULL)
- return PyList_Check(sipPy);
-
- TQValueList<TDEIO::UDSEntry> *cpplist = new TQValueList<TDEIO::UDSEntry>;
-
- PyObject *elem;
- TDEIO::UDSEntry *cpp;
- int iserr = 0;
-
- for (int i = 0; i < PyList_Size (sipPy); i++)
- {
- elem = PyList_GET_ITEM (sipPy, i);
- cpp = (TDEIO::UDSEntry *)sipForceConvertToType(elem, sipType_KIO_UDSEntry, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- delete cpplist;
- return 0;
- }
-
- cpplist->append (*cpp);
- }
-
- *sipCppPtr = cpplist;
-
- return 1;
-%End
-};
-
-
-%MappedType TDEIO::MetaData
-//converts a Python dict of TQString, TQString
-{
-%TypeHeaderCode
-#include <tqmap.h>
-#include <global.h>
-%End
-
-%ConvertFromTypeCode
- // Convert to a Python dict
-
- if (!sipCpp)
- return PyDict_New();
-
- PyObject *dict;
-
- // Create the dictionary.
-
- if ((dict = PyDict_New()) == NULL)
- return NULL;
-
- // Get it.
-
- const TQMap<TQString,TQString> cppmap = *sipCpp;
- TQMap<TQString,TQString>::ConstIterator it;
-
- for (it = cppmap.begin (); it != cppmap.end (); ++it)
- {
- TQString acpp = it.key ();
- TQString bcpp = it.data ();
- PyObject *ainst;
- PyObject *binst;
- if (((ainst = sipConvertFromNewType(new TQString(acpp), sipType_TQString, sipTransferObj)) == NULL)
- || ((binst = sipConvertFromNewType(new TQString(bcpp), sipType_TQString, sipTransferObj)) == NULL)
- || (PyDict_SetItem (dict, ainst, binst) < 0))
- {
- Py_XDECREF (ainst);
- Py_XDECREF (binst);
- Py_DECREF (dict);
- return NULL;
- }
- }
-
- return dict;
-%End
-
-
-%ConvertToTypeCode
- // Convert a Python dictionary to a TQMap on the heap.
-
- if (sipIsErr == NULL)
- return PyDict_Check(sipPy);
-
-
- TQMap<TQString,TQString> *cppmap = new TQMap<TQString,TQString>;
-
- PyObject *aelem, *belem;
- SIP_SSIZE_T pos = 0;
- TQString *acpp;
- TQString *bcpp;
-
- while (PyDict_Next(sipPy, &pos, &aelem, &belem))
- {
- int iserr = 0, acpp_state, bcpp_state;
-
- acpp = (TQString *)sipForceConvertToType(aelem, sipType_TQString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr);
- bcpp = (TQString *)sipForceConvertToType(belem, sipType_TQString, sipTransferObj, SIP_NOT_NONE, &bcpp_state, &iserr);
-
- if (iserr)
- {
- if (acpp)
- sipReleaseType(acpp, sipType_TQString, acpp_state);
-
- *sipIsErr = 1;
- delete cppmap;
- return 0;
- }
-
- cppmap->insert (*acpp, *bcpp);
-
- sipReleaseType(acpp, sipType_TQString, acpp_state);
- sipReleaseType(bcpp, sipType_TQString, bcpp_state);
- }
-
- *sipCppPtr = (TDEIO::MetaData *)cppmap;
-
- return 1;
-%End
-};
-
-
diff --git a/sip/kio/job.sip b/sip/kio/job.sip
deleted file mode 100644
index dc6f887..0000000
--- a/sip/kio/job.sip
+++ /dev/null
@@ -1,73 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-namespace TDEIO
-{
-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 - )
-TDEIO::StoredTransferJob* storedGet (const KURL&, bool = 0, bool = 1);
-TDEIO::StoredTransferJob* storedPut (const TQByteArray&, const KURL&, int, bool, bool, bool = 1);
-%End
-
-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 - )
-TDEIO::CopyJob* trash (const KURL&, bool = 1);
-TDEIO::CopyJob* trash (const KURL::List&, bool = 1);
-%End
-
-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
deleted file mode 100644
index 3be8048..0000000
--- a/sip/kio/jobclasses.sip
+++ /dev/null
@@ -1,748 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-namespace TDEIO
-{
-
-class Job : TQObject
-{
-%TypeHeaderCode
-#include <jobclasses.h>
-%End
-
-
-protected:
- Job (bool);
-
-public:
- virtual void kill (bool = 1);
- int error ();
- int progressId ();
- const TQString& errorText ();
- TQString errorString ();
- TQStringList detailedErrorStrings (const KURL* = 0, int = -1) const;
- void showErrorDialog (TQWidget* = 0);
- void setAutoErrorHandlingEnabled (bool, TQWidget* = 0);
- bool isAutoErrorHandlingEnabled () const;
-
-%If ( KDE_3_5_0 - )
- void setAutoWarningHandlingEnabled (bool);
- bool isAutoWarningHandlingEnabled () const;
-%End
-
-
-%If ( KDE_3_4_3 - )
- void setInteractive (bool);
- bool isInteractive () const;
-%End
-
- void setWindow (TQWidget*);
- TQWidget* window () const;
-
-%If ( KDE_3_1_0 - )
- void setParentJob (TDEIO::Job*);
- TDEIO::Job* parentJob () const;
-%End
-
- void setMetaData (const TDEIO::MetaData&);
- void addMetaData (const TQString&, const TQString&);
- void addMetaData (const TQMap<TQString,TQString>&);
- void mergeMetaData (const TQMap<TQString,TQString>&);
- TDEIO::MetaData outgoingMetaData () const;
- TDEIO::MetaData metaData () const;
- TQString queryMetaData (const TQString&);
-
-%If ( KDE_3_2_0 - )
- TDEIO::filesize_t getProcessedSize ();
-%End
-
-
-signals:
- void result (TDEIO::Job*);
- void canceled (TDEIO::Job*);
- void infoMessage (TDEIO::Job*, const TQString&);
-
-%If ( KDE_3_5_0 - )
- void warning (TDEIO::Job*, const TQString&);
-%End
-
- 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 (TDEIO::Job*);
- void slotSpeed (TDEIO::Job*, ulong);
- void slotInfoMessage (TDEIO::Job*, const TQString&);
- void slotSpeedTimeout ();
-
-protected:
- virtual void addSubjob (TDEIO::Job*, bool = 1);
- virtual void removeSubjob (TDEIO::Job*);
-
-%If ( KDE_3_4_0 - )
- void removeSubjob (TDEIO::Job*, bool, bool);
-%End
-
- void emitPercent (TDEIO::filesize_t, TDEIO::filesize_t);
- void emitSpeed (ulong);
- void emitResult ();
-
-%If ( KDE_3_2_0 - )
- void setProcessedSize (TDEIO::filesize_t);
-%End
-
-//ig int& extraFlags ();
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-protected:
-
-%If ( KDE_3_2_0 - KDE_3_2_2 )
- int extraFlags ();
-%MethodCode
-//returns (int)
- Py_BEGIN_ALLOW_THREADS
- sipRes = sipCpp -> sipProtect_extraFlags ();
- Py_END_ALLOW_THREADS
-%End
-
-%End
-
-
-}; // class Job
-
-
-class SimpleJob : TDEIO::Job
-{
-%TypeHeaderCode
-#include <jobclasses.h>
-%End
-
-
-public:
- SimpleJob (const KURL&, int, const TQByteArray&, bool);
- const KURL& url () const;
- virtual void kill (bool = 1);
- virtual void putOnHold ();
- static void removeOnHold ();
- virtual void start (TDEIO::Slave*);
- void slaveDone ();
- TDEIO::Slave* slave ();
- int command ();
-
-public slots:
-
-%If ( KDE_3_1_0 - )
- void slotTotalSize (TDEIO::filesize_t);
-%End
-
-
-protected slots:
- virtual void slotFinished ();
- void slotWarning (const TQString&);
- void slotInfoMessage (const TQString&);
- void slotConnected ();
- void slotProcessedSize (TDEIO::filesize_t);
- void slotSpeed (ulong);
- virtual void slotMetaData (const TDEIO::MetaData&);
-
-public slots:
- virtual void slotError (int, const TQString&);
-
-protected slots:
- void slotNeedProgressId ();
-
-protected:
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-%If ( KDE_3_2_0 - )
- void storeSSLSessionFromJob (const KURL&);
-%End
-
-
-protected slots:
-
-%If ( - KDE_3_1_0 )
- void slotTotalSize (TDEIO::filesize_t);
-%End
-
-
-}; // class SimpleJob
-
-
-class StatJob : TDEIO::SimpleJob
-{
-%TypeHeaderCode
-#include <jobclasses.h>
-%End
-
-
-public:
- StatJob (const KURL&, int, const TQByteArray&, bool);
- void setSide (bool);
- void setDetails (short);
- const TDEIO::UDSEntry& statResult () const;
- virtual void start (TDEIO::Slave*);
-
-signals:
- void redirection (TDEIO::Job*, const KURL&);
-
-%If ( KDE_3_1_0 - )
- void permanentRedirection (TDEIO::Job*, const KURL&, const KURL&);
-%End
-
-
-protected slots:
- void slotStatEntry (const TDEIO::UDSEntry&);
- void slotRedirection (const KURL&);
- virtual void slotFinished ();
-
-%If ( KDE_3_2_0 - )
- virtual void slotMetaData (const TDEIO::MetaData&);
-%End
-
-
-protected:
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class StatJob
-
-
-%If ( KDE_3_3_0 - )
-
-class MkdirJob : TDEIO::SimpleJob
-{
-%TypeHeaderCode
-#include <jobclasses.h>
-%End
-
-
-public:
- MkdirJob (const KURL&, int, const TQByteArray&, bool);
- virtual void start (TDEIO::Slave*);
-
-signals:
- void redirection (TDEIO::Job*, const KURL&);
- void permanentRedirection (TDEIO::Job*, const KURL&, const KURL&);
-
-protected slots:
- void slotRedirection (const KURL&);
- virtual void slotFinished ();
-
-protected:
-
-protected:
- virtual void virtual_hook (int, void*);
-
-}; // class MkdirJob
-
-%End
-
-
-%If ( KDE_3_3_0 - )
-
-class DirectCopyJob : TDEIO::SimpleJob
-{
-%TypeHeaderCode
-#include <jobclasses.h>
-%End
-
-
-public:
- DirectCopyJob (const KURL&, int, const TQByteArray&, bool);
- virtual void start (TDEIO::Slave*);
-
-signals:
- void canResume (TDEIO::Job*, TDEIO::filesize_t);
-
-}; // class DirectCopyJob
-
-%End
-
-
-class TransferJob : TDEIO::SimpleJob
-{
-%TypeHeaderCode
-#include <jobclasses.h>
-%End
-
-
-public:
- TransferJob (const KURL&, int, const TQByteArray&, const TQByteArray&, bool);
- virtual void start (TDEIO::Slave*);
- virtual void slotResult (TDEIO::Job*);
- void suspend ();
- void resume ();
- bool isSuspended () const;
- bool isErrorPage () const;
-
-%If ( KDE_3_2_0 - )
- void setAsyncDataEnabled (bool);
- void sendAsyncData (const TQByteArray&);
- void setReportDataSent (bool);
- bool reportDataSent ();
-%End
-
-
-signals:
- void data (TDEIO::Job*, const TQByteArray&);
- void dataReq (TDEIO::Job*, TQByteArray&);
- void redirection (TDEIO::Job*, const KURL&);
-
-%If ( KDE_3_1_0 - )
- void permanentRedirection (TDEIO::Job*, const KURL&, const KURL&);
-%End
-
- void mimetype (TDEIO::Job*, const TQString&);
- void canResume (TDEIO::Job*, TDEIO::filesize_t);
-
-protected slots:
- virtual void slotRedirection (const KURL&);
- virtual void slotFinished ();
- virtual void slotData (const TQByteArray&);
- virtual void slotDataReq ();
- virtual void slotMimetype (const TQString&);
- virtual void slotNeedSubURLData ();
- virtual void slotSubURLData (TDEIO::Job*, const TQByteArray&);
-
-%If ( KDE_3_2_0 - )
- virtual void slotMetaData (const TDEIO::MetaData&);
-%End
-
- void slotErrorPage ();
- void slotCanResume (TDEIO::filesize_t);
-
-%If ( KDE_3_2_0 - )
- void slotPostRedirection ();
-%End
-
-
-protected:
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class TransferJob
-
-
-%If ( KDE_3_3_0 - )
-
-class StoredTransferJob : TDEIO::TransferJob
-{
-%TypeHeaderCode
-#include <jobclasses.h>
-%End
-
-
-public:
- StoredTransferJob (const KURL&, int, const TQByteArray&, const TQByteArray&, bool);
- void setData (const TQByteArray&);
- TQByteArray data () const;
-
-}; // class StoredTransferJob
-
-%End
-
-
-class MultiGetJob : TDEIO::TransferJob
-{
-%TypeHeaderCode
-#include <jobclasses.h>
-%End
-
-
-public:
- MultiGetJob (const KURL&, bool);
- virtual void start (TDEIO::Slave*);
- void get (long, const KURL&, const TDEIO::MetaData&);
-
-signals:
- void data (long, const TQByteArray&);
- void mimetype (long, const TQString&);
- void result (long);
-
-protected slots:
- virtual void slotRedirection (const KURL&);
- virtual void slotFinished ();
- virtual void slotData (const TQByteArray&);
- virtual void slotMimetype (const TQString&);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class MultiGetJob
-
-
-class MimetypeJob : TDEIO::TransferJob
-{
-%TypeHeaderCode
-#include <jobclasses.h>
-%End
-
-
-public:
- MimetypeJob (const KURL&, int, const TQByteArray&, bool);
- TQString mimetype () const;
- virtual void start (TDEIO::Slave*);
-
-protected slots:
- virtual void slotFinished ();
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class MimetypeJob
-
-
-class FileCopyJob : TDEIO::Job
-{
-%TypeHeaderCode
-#include <jobclasses.h>
-%End
-
-
-public:
- FileCopyJob (const KURL&, const KURL&, int, bool, bool, bool, bool);
-
-%If ( KDE_3_2_0 - )
- void setSourceSize64 (TDEIO::filesize_t);
-
-%If ( KDE_3_5_2 - )
- void setModificationTime (time_t);
-%End
-
-%End
-
-//ig void setSourceSize (off_t);
- KURL srcURL () const;
- KURL destURL () const;
-
-public slots:
- void slotStart ();
- void slotData (TDEIO::Job*, const TQByteArray&);
- void slotDataReq (TDEIO::Job*, TQByteArray&);
-
-protected slots:
- 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 ();
- void startCopyJob (const KURL&);
-
-%If ( KDE_3_4_0 - )
- void startRenameJob (const KURL&);
-%End
-
- void startDataPump ();
- void connectSubjob (TDEIO::SimpleJob*);
-
-protected:
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class FileCopyJob
-
-
-class ListJob : TDEIO::SimpleJob
-{
-%TypeHeaderCode
-#include <jobclasses.h>
-%End
-
-
-public:
- ListJob (const KURL&, bool, bool = 0, TQString = TQString ::null , bool = 1);
- virtual void start (TDEIO::Slave*);
-
-%If ( KDE_3_4_3 - )
- const KURL& redirectionURL () const;
-%End
-
-
-%If ( KDE_3_2_0 - )
- void setUnrestricted (bool);
-%End
-
-
-signals:
- void entries (TDEIO::Job*, const TDEIO::UDSEntryList&);
- void redirection (TDEIO::Job*, const KURL&);
-
-%If ( KDE_3_1_0 - )
- void permanentRedirection (TDEIO::Job*, const KURL&, const KURL&);
-%End
-
-
-protected slots:
- virtual void slotFinished ();
-
-%If ( KDE_3_2_0 - )
- virtual void slotMetaData (const TDEIO::MetaData&);
-%End
-
- virtual void slotResult (TDEIO::Job*);
- void slotListEntries (const TDEIO::UDSEntryList&);
- void slotRedirection (const KURL&);
- void gotEntries (TDEIO::Job*, const TDEIO::UDSEntryList&);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class ListJob
-
-
-class CopyInfo
-{
-%TypeHeaderCode
-#include <jobclasses.h>
-%End
-
-
-public:
- KURL uSource;
- KURL uDest;
- TQString linkDest;
- mode_t permissions;
- time_t ctime;
- time_t mtime;
- off_t size;
-
-}; // class CopyInfo
-
-
-class CopyJob : TDEIO::Job
-{
-%TypeHeaderCode
-#include <jobclasses.h>
-%End
-
-
-public:
-
- enum CopyMode
- {
- Copy,
- Move,
- Link
- };
-
- CopyJob (const KURL::List&, const KURL&, TDEIO::CopyJob::CopyMode, bool, bool);
- KURL::List srcURLs () const;
- KURL destURL () const;
-
-%If ( KDE_3_2_3 - )
- void setDefaultPermissions (bool);
-
-%If ( KDE_3_4_0 - )
- void setInteractive (bool);
-%End
-
-%End
-
-
-signals:
- void totalFiles (TDEIO::Job*, ulong);
- void totalDirs (TDEIO::Job*, ulong);
-
-%If ( KDE_3_2_0 - )
- void aboutToCreate (TDEIO::Job*, const TQValueList<TDEIO::CopyInfo>&);
-%End
-
- 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:
-
-%If ( KDE_3_2_3 - )
- void statCurrentSrc ();
-%End
-
- void statNextSrc ();
- void slotResultStating (TDEIO::Job*);
- void startListing (const KURL&);
- void slotResultCreatingDirs (TDEIO::Job*);
- void slotResultConflictCreatingDirs (TDEIO::Job*);
- void createNextDir ();
- void slotResultCopyingFiles (TDEIO::Job*);
- void slotResultConflictCopyingFiles (TDEIO::Job*);
- void copyNextFile ();
- void slotResultDeletingDirs (TDEIO::Job*);
- void deleteNextDir ();
- void skip (const KURL&);
-
-%If ( KDE_3_3_2 - )
- void slotResultRenaming (TDEIO::Job*);
-
-%If ( KDE_3_5_2 - )
- void setNextDirAttribute ();
-%End
-
-%End
-
-
-protected slots:
- void slotStart ();
- 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:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class CopyJob
-
-
-class DeleteJob : TDEIO::Job
-{
-%TypeHeaderCode
-#include <jobclasses.h>
-%End
-
-
-public:
- DeleteJob (const KURL::List&, bool, bool);
- KURL::List urls () const;
-
-signals:
- 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 (TDEIO::Job*, const TDEIO::UDSEntryList&);
- virtual void slotResult (TDEIO::Job*);
- void slotProcessedSize (TDEIO::Job*, TDEIO::filesize_t);
- void slotReport ();
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-protected:
-
-%If ( - KDE_3_1_0 )
- void startNextJob ();
- void deleteNextFile ();
- void deleteNextDir ();
-%End
-
-
-}; // class DeleteJob
-
-}; // namespace TDEIO
-
-
-
-%MappedType TQValueList<TDEIO::CopyInfo>
-//converts a Python list of TDEIO::CopyInfo
-{
-%TypeHeaderCode
-#include <tqvaluelist.h>
-%End
-
-%ConvertFromTypeCode
- if (!sipCpp)
- return PyList_New(0);
-
- // Create the list
- PyObject *pylist;
- if ((pylist = PyList_New(0)) == NULL)
- return NULL;
-
- TQValueList<TDEIO::CopyInfo> *cpplist = (TQValueList<TDEIO::CopyInfo> *)sipCpp;
- PyObject *inst;
-
- // Get it.
- TQValueList<TDEIO::CopyInfo>::Iterator it;
- for( it = cpplist->begin(); it != cpplist->end(); ++it )
- {
- if (((inst = sipConvertFromNewType(new TDEIO::CopyInfo(*it), sipType_KIO_CopyInfo, NULL)) == NULL)
- || PyList_Append (pylist, inst) < 0)
- {
- Py_DECREF (pylist);
- return NULL;
- }
- }
-
- return pylist;
-%End
-
-
-%ConvertToTypeCode
- if (sipIsErr == NULL)
- return PyList_Check(sipPy);
-
- TQValueList<TDEIO::CopyInfo> *cpplist = new TQValueList<TDEIO::CopyInfo>;
-
- PyObject *elem;
- TDEIO::CopyInfo *cpp;
- int iserr = 0;
-
- for (int i = 0; i < PyList_Size (sipPy); i++)
- {
- elem = PyList_GET_ITEM (sipPy, i);
- cpp = (TDEIO::CopyInfo *)sipForceConvertToType(elem, sipType_KIO_CopyInfo, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- delete cpplist;
- return 0;
- }
-
- cpplist->append (*cpp);
- }
-
- *sipCppPtr = cpplist;
-
- return 1;
-%End
-};
-
-
diff --git a/sip/kio/kacl.sip b/sip/kio/kacl.sip
deleted file mode 100644
index 45cd5dd..0000000
--- a/sip/kio/kacl.sip
+++ /dev/null
@@ -1,168 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-%If ( KDE_3_5_0 - )
-
-class KACL
-{
-%TypeHeaderCode
-#include <kacl.h>
-%End
-
-
-public:
- KACL (const TQString&);
- KACL (const KACL&);
- KACL (mode_t);
- KACL ();
- bool operator == (const KACL&) const;
- bool operator != (const KACL&) const;
- bool isValid () const;
- ushort ownerPermissions () const;
- bool setOwnerPermissions (ushort);
- ushort owningGroupPermissions () const;
- bool setOwningGroupPermissions (ushort);
- ushort othersPermissions () const;
- bool setOthersPermissions (ushort);
- mode_t basePermissions () const;
- bool isExtended () const;
- ushort maskPermissions (bool&) const;
- bool setMaskPermissions (ushort);
- ushort namedUserPermissions (const TQString&, bool*) const;
- bool setNamedUserPermissions (const TQString&, ushort);
- ACLUserPermissionsList allUserPermissions () const;
- bool setAllUserPermissions (const ACLUserPermissionsList&);
- ushort namedGroupPermissions (const TQString&, bool*) const;
- bool setNamedGroupPermissions (const TQString&, ushort);
- ACLGroupPermissionsList allGroupPermissions () const;
- bool setAllGroupPermissions (const ACLGroupPermissionsList&);
- bool setACL (const TQString&);
- TQString asString () const;
-
-protected:
- virtual void virtual_hook (int, void*);
-
-}; // class KACL
-
-%End
-
-
-%If ( KDE_3_5_0 - )
-typedef TQPair<TQString,unsigned short> ACLUserPermissions;
-typedef TQValueList<ACLUserPermissions> ACLUserPermissionsList;
-//igx typedef TQValueListIterator<ACLUserPermissions> ACLUserPermissionsIterator;
-//igx typedef TQValueListConstIterator<ACLUserPermissions> ACLUserPermissionsConstIterator;
-//igx typedef TQPair<TQString,unsigned short> ACLGroupPermissions;
-//igx typedef TQValueList<ACLGroupPermissions> ACLGroupPermissionsList;
-//igx typedef TQValueListIterator<ACLGroupPermissions> ACLGroupPermissionsIterator;
-//igx typedef TQValueListConstIterator<ACLGroupPermissions> ACLGroupPermissionsConstIterator;
-//igx TQDataStream& operator << (TQDataStream&, const KACL&);
-//igx TQDataStream& operator >> (TQDataStream&, KACL&);
-//force
-typedef ACLUserPermissionsList ACLGroupPermissionsList;
-//end
-%End
-
-
-%MappedType TQValueList<ACLUserPermissions>
-//converts a Python list of ACLUserPermissions tuples (TQString, int)
-{
-%TypeHeaderCode
-#include <tqvaluelist.h>
-#include <tqstring.h>
-#include <kacl.h>
-%End
-
-%ConvertFromTypeCode
- if (!sipCpp)
- return PyList_New(0);
-
- // Create the list
- PyObject *pylist;
- if ((pylist = PyList_New(0)) == NULL)
- return NULL;
-
- TQValueList<ACLUserPermissions> *cpplist = (TQValueList<ACLUserPermissions> *)sipCpp;
- PyObject *inst;
-
- // Get it.
- TQValueList<ACLUserPermissions>::Iterator it;
- for( it = cpplist->begin(); it != cpplist->end(); ++it )
- {
- TQString s = (*it).first;
- ushort u = (*it).second;
- PyObject *pys = sipConvertFromNewType(new TQString(s), sipType_TQString, sipTransferObj);
- if ((pys == NULL) || ((inst = Py_BuildValue ("Ni", pys, u)) == NULL)
- || PyList_Append (pylist, inst) < 0)
- {
- Py_XDECREF (inst);
- Py_XDECREF (pys);
- Py_DECREF (pylist);
- return NULL;
- }
- }
-
- return pylist;
-%End
-
-
-%ConvertToTypeCode
- if (sipIsErr == NULL)
- return PyList_Check(sipPy);
-
- TQValueList<ACLUserPermissions> *cpplist = new TQValueList<ACLUserPermissions>;
-
- TQString *p1;
- int iserr = 0;
-
- for (int i = 0; i < PyList_Size (sipPy); i++)
- {
- int p1_state;
-
- PyObject *elem = PyList_GET_ITEM (sipPy, i);
- PyObject *pyp1 = PyTuple_GET_ITEM (elem, 0);
- p1 = (TQString *)sipForceConvertToType(pyp1, sipType_TQString, sipTransferObj, SIP_NOT_NONE, &p1_state, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- delete cpplist;
- return 0;
- }
- ushort p2 = (ushort)(PyInt_AS_LONG (PyTuple_GET_ITEM (elem, 1)));
-
- cpplist->append (ACLUserPermissions (*p1, p2));
-
- sipReleaseType(p1, sipType_TQString, p1_state);
- }
-
- *sipCppPtr = cpplist;
-
- return 1;
-%End
-};
-
-
diff --git a/sip/kio/kar.sip b/sip/kio/kar.sip
deleted file mode 100644
index 59eca9b..0000000
--- a/sip/kio/kar.sip
+++ /dev/null
@@ -1,54 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-%If ( KDE_3_1_0 - )
-
-class KAr : KArchive
-{
-%TypeHeaderCode
-#include <kar.h>
-%End
-
-
-public:
- KAr (const TQString&);
- KAr (TQIODevice*);
- TQString fileName ();
- virtual bool prepareWriting (const TQString&, const TQString&, const TQString&, uint);
- virtual bool doneWriting (uint);
- virtual bool writeDir (const TQString&, const TQString&, const TQString&);
-
-protected:
- virtual bool openArchive (int);
- virtual bool closeArchive ();
-
-protected:
- virtual void virtual_hook (int, void*);
-
-}; // class KAr
-
-%End
-
diff --git a/sip/kio/karchive.sip b/sip/kio/karchive.sip
deleted file mode 100644
index def99a0..0000000
--- a/sip/kio/karchive.sip
+++ /dev/null
@@ -1,189 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KArchive
-{
-%TypeHeaderCode
-#include <karchive.h>
-%End
-
-
-protected:
- KArchive (TQIODevice*);
-
-public:
- virtual bool open (int);
- virtual void close ();
-
-%If ( KDE_3_5_0 - )
- bool closeSucceeded () const;
-%End
-
- bool isOpened () const;
- int mode () const;
- TQIODevice* device () const;
- const KArchiveDirectory* directory () const;
-
-%If ( KDE_3_2_0 - )
- bool addLocalFile (const TQString&, const TQString&);
- bool addLocalDirectory (const TQString&, const TQString&);
-%End
-
- virtual bool writeDir (const TQString&, const TQString&, const TQString&) = 0;
-
-%If ( KDE_3_2_0 - )
- bool writeDir (const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
- bool writeSymLink (const TQString&, const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
-%End
-
- virtual bool writeFile (const TQString&, const TQString&, const TQString&, uint, const char*);
-
-%If ( KDE_3_2_0 - )
- bool writeFile (const TQString&, const TQString&, const TQString&, uint, mode_t, time_t, time_t, time_t, const char*);
-%End
-
- virtual bool prepareWriting (const TQString&, const TQString&, const TQString&, uint) = 0;
-
-%If ( KDE_3_2_0 - )
- bool prepareWriting (const TQString&, const TQString&, const TQString&, uint, mode_t, time_t, time_t, time_t);
- bool writeData (const char*, uint);
-%End
-
- virtual bool doneWriting (uint) = 0;
-
-protected:
- virtual bool openArchive (int) = 0;
- virtual bool closeArchive () = 0;
- virtual KArchiveDirectory* rootDir ();
- KArchiveDirectory* findOrCreate (const TQString&);
- void setDevice (TQIODevice*);
- void setRootDir (KArchiveDirectory*);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-%If ( KDE_3_2_0 - )
- bool prepareWriting_impl (const TQString&, const TQString&, const TQString&, uint, mode_t, time_t, time_t, time_t);
- bool writeFile_impl (const TQString&, const TQString&, const TQString&, uint, mode_t, time_t, time_t, time_t, const char*);
- bool writeDir_impl (const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
- bool writeSymLink_impl (const TQString&, const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
- bool writeData_impl (const char*, uint);
-%End
-
-
-protected:
-
-%If ( - KDE_3_1_0 )
- ~KArchive ();
-%End
-
-
-}; // class KArchive
-
-
-class KArchiveEntry
-{
-%TypeHeaderCode
-#include <karchive.h>
-%End
-
-
-public:
- KArchiveEntry (KArchive*, const TQString&, int, int, const TQString&, const TQString&, const TQString&);
- TQDateTime datetime () const;
- int date () const;
- TQString name () const;
- mode_t permissions () const;
- TQString user () const;
- TQString group () const;
- TQString symlink () const;
- virtual bool isFile () const;
- virtual bool isDirectory () const;
-
-protected:
- KArchive* archive () const;
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KArchiveEntry
-
-
-class KArchiveFile : KArchiveEntry
-{
-%TypeHeaderCode
-#include <karchive.h>
-%End
-
-
-public:
- KArchiveFile (KArchive*, const TQString&, int, int, const TQString&, const TQString&, const TQString&, int, int);
- int position () const;
- int size () const;
-
-%If ( KDE_3_1_0 - )
- void setSize (int);
-%End
-
- virtual TQByteArray data () const;
- TQIODevice* device () const;
- virtual bool isFile () const;
-
-%If ( KDE_3_1_0 - )
- void copyTo (const TQString&) const;
-%End
-
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KArchiveFile
-
-
-class KArchiveDirectory : KArchiveEntry
-{
-%TypeHeaderCode
-#include <karchive.h>
-%End
-
-
-public:
- KArchiveDirectory (KArchive*, const TQString&, int, int, const TQString&, const TQString&, const TQString&);
- TQStringList entries () const;
- KArchiveEntry* entry (TQString);
- void addEntry (KArchiveEntry*);
- virtual bool isDirectory () const;
-
-%If ( KDE_3_1_0 - )
- void copyTo (const TQString&, bool = 1) const;
-%End
-
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KArchiveDirectory
-
diff --git a/sip/kio/kautomount.sip b/sip/kio/kautomount.sip
deleted file mode 100644
index 65643a1..0000000
--- a/sip/kio/kautomount.sip
+++ /dev/null
@@ -1,77 +0,0 @@
-//
-// Copyright 2005 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2004 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE_3_3_2
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KAutoMount : TQObject
-{
-%TypeHeaderCode
-#include <kautomount.h>
-%End
-
-
-public:
- KAutoMount (bool, const TQString&, const TQString&, const TQString&, const TQString&, bool = 1);
-
-signals:
- void finished ();
- void error ();
-
-protected slots:
- void slotResult (TDEIO::Job*);
-
-protected:
-//force
-
-private:
- ~KAutoMount ();
-//end
-
-}; // class KAutoMount
-
-
-class KAutoUnmount : TQObject
-{
-%TypeHeaderCode
-#include <kautomount.h>
-%End
-
-
-public:
- KAutoUnmount (const TQString&, const TQString&);
-
-signals:
- void finished ();
- void error ();
-
-protected slots:
- void slotResult (TDEIO::Job*);
-//force
-
-private:
- ~KAutoUnmount ();
-//end
-
-}; // class KAutoUnmount
-
diff --git a/sip/kio/kdatatool.sip b/sip/kio/kdatatool.sip
deleted file mode 100644
index bbb0b0d..0000000
--- a/sip/kio/kdatatool.sip
+++ /dev/null
@@ -1,172 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KDataToolInfo
-{
-%TypeHeaderCode
-#include <kdatatool.h>
-%End
-
-
-public:
- KDataToolInfo ();
- KDataToolInfo (const KService::Ptr&, TDEInstance*);
- KDataToolInfo (const KDataToolInfo&);
- TQString dataType () const;
- TQStringList mimeTypes () const;
- bool isReadOnly () const;
- TQPixmap icon () const;
- TQPixmap miniIcon () const;
- TQString iconName () const;
- TQStringList userCommands () const;
- TQStringList commands () const;
- KDataTool* createTool (TQObject* /Transfer/ = 0, const char* = 0) const;
- KService::Ptr service () const;
- TDEInstance* instance () const;
- bool isValid () const;
- static TQValueList<KDataToolInfo> query (const TQString&, const TQString&, TDEInstance*);
-
-}; // class KDataToolInfo
-
-
-class KDataToolAction : TDEAction
-{
-%TypeHeaderCode
-#include <kdatatool.h>
-%End
-
-
-public:
- KDataToolAction (const TQString&, const KDataToolInfo&, const TQString&, TQObject* /TransferThis/ = 0, const char* = 0);
- static TQPtrList<TDEAction> dataToolActionList (const TQValueList<KDataToolInfo>&, const TQObject*, const char*);
-
-signals:
- void toolActivated (const KDataToolInfo&, const TQString&);
-
-protected:
- virtual void slotActivated ();
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KDataToolAction
-
-
-class KDataTool : TQObject
-{
-%TypeHeaderCode
-#include <kdatatool.h>
-%End
-
-
-public:
- KDataTool (TQObject* /TransferThis/ = 0, const char* = 0);
- void setInstance (TDEInstance*);
- TDEInstance* instance () const;
- virtual bool run (const TQString&, void*, const TQString&, const TQString&) = 0;
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KDataTool
-
-
-
-%MappedType TQValueList<KDataToolInfo>
-//converts a Python list of KDataToolInfo
-{
-%TypeHeaderCode
-#include <kdatatool.h>
-%End
-
-%ConvertFromTypeCode
-// Convert to a Python list of KDataToolInfo
-
- if (!sipCpp)
- return PyList_New(0);
-
- PyObject *dtiList;
-
- // Create the list
-
- if ((dtiList = PyList_New(0)) == NULL)
- return NULL;
-
- // Get it.
-
- TQValueList<KDataToolInfo> *dlist = (TQValueList<KDataToolInfo> *)sipCpp;
- PyObject *inst;
-
-
- TQValueList<KDataToolInfo>::Iterator it;
- for( it = dlist->begin(); it != dlist->end(); ++it )
- {
- if ((inst = sipConvertFromNewType(new KDataToolInfo(*it), sipType_KDataToolInfo, NULL)) == NULL
- || PyList_Append (dtiList, inst) < 0)
- {
- Py_DECREF (dtiList);
- return NULL;
- }
- }
-
- return dtiList;
-%End
-
-
-%ConvertToTypeCode
- // Convert a Python list to a KDataToolInfoVList on the heap.
-
- if (sipIsErr == NULL)
- return PyList_Check(sipPy);
-
- TQValueList<KDataToolInfo> *dList = new TQValueList<KDataToolInfo>;
-
- PyObject *elem;
- KDataToolInfo *d;
- int iserr = 0;
-
- for (int i = 0; i < PyList_Size (sipPy); i++)
- {
- elem = PyList_GET_ITEM (sipPy, i);
- d = (KDataToolInfo *)sipForceConvertToType(elem, sipType_KDataToolInfo, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- delete dList;
- return 0;
- }
-
- dList->append (*d);
- }
-
- *sipCppPtr = dList;
-
- return 1;
-%End
-};
-
-
diff --git a/sip/kio/kdcopservicestarter.sip b/sip/kio/kdcopservicestarter.sip
deleted file mode 100644
index ec9bf56..0000000
--- a/sip/kio/kdcopservicestarter.sip
+++ /dev/null
@@ -1,48 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-%If ( KDE_3_2_0 - )
-
-class KDCOPServiceStarter
-{
-%TypeHeaderCode
-#include <kdcopservicestarter.h>
-%End
-
-
-public:
- static KDCOPServiceStarter* self ();
- int findServiceFor (const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null , TQString* = 0, TQCString* = 0, int = 0);
- virtual int startServiceFor (const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null , TQString* = 0, TQCString* = 0, int = 0);
-
-protected:
- KDCOPServiceStarter ();
- ~KDCOPServiceStarter ();
-
-}; // class KDCOPServiceStarter
-
-%End
-
diff --git a/sip/kio/kdirlister.sip b/sip/kio/kdirlister.sip
deleted file mode 100644
index 6adce18..0000000
--- a/sip/kio/kdirlister.sip
+++ /dev/null
@@ -1,267 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KDirLister : TQObject
-{
-%TypeHeaderCode
-#include <kdirlister.h>
-%End
-
-
-public:
- KDirLister (bool = 0);
- virtual bool openURL (const KURL&, bool = 0, bool = 0);
- virtual void stop ();
- virtual void stop (const KURL&);
- bool autoUpdate () const;
- virtual void setAutoUpdate (bool);
- bool autoErrorHandlingEnabled () const;
- void setAutoErrorHandlingEnabled (bool, TQWidget* /Transfer/);
- bool showingDotFiles () const;
- virtual void setShowingDotFiles (bool);
- bool dirOnlyMode () const;
- virtual void setDirOnlyMode (bool);
- const KURL& url () const;
-
-%If ( KDE_3_4_0 - )
- const KURL::List& directories () const;
-%End
-
- virtual void emitChanges ();
- virtual void updateDirectory (const KURL&);
- bool isFinished () const;
- KFileItem* rootItem () const;
- virtual KFileItem* findByURL (const KURL&) const;
- KFileItem* find (const KURL&) const;
- virtual KFileItem* findByName (const TQString&) const;
- virtual void setNameFilter (const TQString&);
- const TQString& nameFilter () const;
- virtual void setMimeFilter (const TQStringList&);
-
-%If ( KDE_3_1_0 - )
- void setMimeExcludeFilter (const TQStringList&);
-%End
-
- virtual void clearMimeFilter ();
- const TQStringList& mimeFilters () const;
- bool matchesFilter (const TQString&) const;
- bool matchesMimeFilter (const TQString&) const;
-
-%If ( KDE_3_1_0 - )
- void setMainWindow (TQWidget*);
- TQWidget* mainWindow ();
-
- enum WhichItems
- {
- AllItems,
- FilteredItems
- };
-
- KFileItemList items (KDirLister::WhichItems = FilteredItems ) const;
- KFileItemList itemsForDir (const KURL&, KDirLister::WhichItems = FilteredItems ) const;
-%End
-
-
-signals:
- void started (const KURL&);
- void completed ();
- void completed (const KURL&);
- void canceled ();
- void canceled (const KURL&);
- void redirection (const KURL&);
- void redirection (const KURL&, const KURL&);
- void clear ();
- void clear (const KURL&);
- void newItems (const KFileItemList&);
- void itemsFilteredByMime (const KFileItemList&);
- void deleteItem (KFileItem*);
- void refreshItems (const KFileItemList&);
- void infoMessage (const TQString&);
- void percent (int);
- void totalSize (TDEIO::filesize_t);
- void processedSize (TDEIO::filesize_t);
- void speed (int);
-
-protected:
- virtual bool matchesFilter (const KFileItem*) const;
- virtual bool matchesMimeFilter (const KFileItem*) const;
- virtual bool doNameFilter (const TQString&, const TQPtrList<TQRegExp>&) const;
- virtual bool doMimeFilter (const TQString&, const TQStringList&) const;
-
-%If ( KDE_3_1_0 - )
- bool doMimeExcludeFilter (const TQString&, const TQStringList&) const;
-%End
-
- virtual bool validURL (const KURL&) const;
- virtual void handleError (TDEIO::Job*);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KDirLister
-
-
-
-%MappedType KFileItemList
-//converts a Python list of KFileItem
-{
-%TypeHeaderCode
-#include <tdefileitem.h>
-%End
-
-%ConvertFromTypeCode
- if (!sipCpp)
- return PyList_New (0);
-
- PyObject *pylist;
-
- // Create the list
-
- if ((pylist = PyList_New(0)) == NULL)
- return NULL;
-
- // Get it.
-
- TQPtrList<KFileItem> *cpplist = (TQPtrList<KFileItem> *)sipCpp;
- KFileItem *cpp;
- PyObject *inst;
-
- // the loop depends on the type of iterator the tmeplate makes available
- for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () )
- {
- if (((inst = sipConvertFromInstance (cpp, sipClass_KFileItem, sipTransferObj)) == NULL)
- || PyList_Append (pylist, inst) < 0)
- {
- Py_DECREF (pylist);
- return NULL;
- }
- }
-
- return pylist;
-%End
-
-%ConvertToTypeCode
- if (sipIsErr == NULL)
- return PyList_Check(sipPy);
-
- TQPtrList<KFileItem> *cpplist = new TQPtrList<KFileItem>;
-
- PyObject *elem;
- KFileItem *cpp;
- int iserr = 0;
-
- for (int i = 0; i < PyList_Size (sipPy); i++)
- {
- elem = PyList_GET_ITEM (sipPy, i);
- cpp = (KFileItem *)sipForceConvertToType(elem, sipType_KFileItem, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- delete cpplist;
- return 0;
- }
-
- cpplist->append (cpp);
- }
-
- *sipCppPtr = cpplist;
-
- return 1;
-%End
-};
-
-
-%MappedType TQPtrList<TQRegExp>
-//converts a Python list of TQRegExp
-{
-%TypeHeaderCode
-#include <tqregexp.h>
-%End
-
-%ConvertFromTypeCode
- if (!sipCpp)
- return PyList_New (0);
-
- PyObject *pylist;
-
- // Create the list
-
- if ((pylist = PyList_New(0)) == NULL)
- return NULL;
-
- // Get it.
-
- TQPtrList<TQRegExp> *cpplist = (TQPtrList<TQRegExp> *)sipCpp;
- TQRegExp *cpp;
- PyObject *inst;
-
- // the loop depends on the type of iterator the tmeplate makes available
- for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () )
- {
- if (((inst = sipConvertFromInstance (cpp, sipClass_TQRegExp, sipTransferObj)) == NULL)
- || PyList_Append (pylist, inst) < 0)
- {
- Py_DECREF (pylist);
- return NULL;
- }
- }
-
- return pylist;
-%End
-
-%ConvertToTypeCode
- if (sipIsErr == NULL)
- return PyList_Check(sipPy);
-
- TQPtrList<TQRegExp> *cpplist = new TQPtrList<TQRegExp>;
-
- PyObject *elem;
- TQRegExp *cpp;
- int iserr = 0;
-
- for (int i = 0; i < PyList_Size (sipPy); i++)
- {
- elem = PyList_GET_ITEM (sipPy, i);
- cpp = (TQRegExp *)sipForceConvertToType(elem, sipType_TQRegExp, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- delete cpplist;
- return 0;
- }
-
- cpplist->append (cpp);
- }
-
- *sipCppPtr = cpplist;
-
- return 1;
-%End
-};
-
-
diff --git a/sip/kio/kdirnotify.sip b/sip/kio/kdirnotify.sip
deleted file mode 100644
index e9b9fbd..0000000
--- a/sip/kio/kdirnotify.sip
+++ /dev/null
@@ -1,57 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KDirNotify : DCOPObject
-{
-%TypeHeaderCode
-#include <kdirnotify.h>
-%End
-
-
-public:
-
-%If ( KDE_3_1_4 - )
- virtual bool process (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&);
- QCStringList functions ();
- QCStringList interfaces ();
-%End
-
-
-protected:
- KDirNotify ();
- ~KDirNotify ();
-
-public:
- virtual void FilesAdded (const KURL&) = 0;
- virtual void FilesRemoved (const KURL::List&) = 0;
- virtual void FilesChanged (const KURL::List&) = 0;
- virtual void FileRenamed (const KURL&, const KURL&);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KDirNotify
-
diff --git a/sip/kio/kdirwatch.sip b/sip/kio/kdirwatch.sip
deleted file mode 100644
index d94b9fb..0000000
--- a/sip/kio/kdirwatch.sip
+++ /dev/null
@@ -1,96 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KDirWatch : TQObject
-{
-%TypeHeaderCode
-#include <kdirwatch.h>
-%End
-
-
-public:
- KDirWatch (TQObject* /TransferThis/ = 0, const char* = 0);
- void addDir (const TQString&, bool = 0, bool = 0);
- void addFile (const TQString&);
- TQDateTime ctime (const TQString&);
- void removeDir (const TQString&);
- void removeFile (const TQString&);
- bool stopDirScan (const TQString&);
- bool restartDirScan (const TQString&);
- void startScan (bool = 0, bool = 0);
- void stopScan ();
- bool isStopped ();
- bool contains (const TQString&) const;
- static void statistics ();
- void setCreated (const TQString&);
- void setDirty (const TQString&);
- void setDeleted (const TQString&);
-
-%If ( KDE_3_5_1 - )
-
- enum Method
- {
- FAM,
- DNotify,
- Stat,
- INotify
- };
-
-%End
-
-
-%If ( KDE_3_2_0 - )
- KDirWatch::Method internalMethod ();
-%End
-
- static KDirWatch* self ();
-
-%If ( KDE_3_1_0 - )
- static bool exists ();
-%End
-
-
-signals:
- void dirty (const TQString&);
- void created (const TQString&);
- void deleted (const TQString&);
-
-public:
-
-%If ( KDE_3_2_0 - KDE_3_5_1 )
-
- enum Method
- {
- FAM,
- DNotify,
- Stat
- };
-
-%End
-
-
-}; // class KDirWatch
-
diff --git a/sip/kio/kemailsettings.sip b/sip/kio/kemailsettings.sip
deleted file mode 100644
index 95c9930..0000000
--- a/sip/kio/kemailsettings.sip
+++ /dev/null
@@ -1,84 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KEMailSettings
-{
-%TypeHeaderCode
-#include <kemailsettings.h>
-%End
-
-
-public:
-
- enum Setting
- {
- ClientProgram,
- ClientTerminal,
- RealName,
- EmailAddress,
- ReplyToAddress,
- Organization,
- OutServer,
- OutServerLogin,
- OutServerPass,
- OutServerType,
- OutServerCommand,
- OutServerTLS,
- InServer,
- InServerLogin,
- InServerPass,
- InServerType,
- InServerMBXType,
- InServerTLS
- };
-
-
- enum Extension
- {
- POP3,
- SMTP,
- OTHER
- };
-
- KEMailSettings ();
- TQStringList profiles () const;
- TQString currentProfileName () const;
- void setProfile (const TQString&);
- TQString defaultProfileName () const;
- void setDefault (const TQString&);
- TQString getSetting (KEMailSettings::Setting);
- void setSetting (KEMailSettings::Setting, const TQString&);
-
-public:
-
-%If ( - KDE_3_2_0 )
-//ig TQString getExtendedSetting (KEMailSettings::Extension, const TQString&);
-//ig void setExtendedSetting (KEMailSettings::Extension, const TQString&, const TQString&);
-%End
-
-
-}; // class KEMailSettings
-
diff --git a/sip/kio/kfilterbase.sip b/sip/kio/kfilterbase.sip
deleted file mode 100644
index 561b21b..0000000
--- a/sip/kio/kfilterbase.sip
+++ /dev/null
@@ -1,74 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KFilterBase : TQObject
-{
-%TypeHeaderCode
-#include <tqobject.h>
-#include <kfilterbase.h>
-%End
-
-
-public:
- KFilterBase ();
-
-%If ( KDE_3_1_2 - )
- void setDevice (TQIODevice*, bool = 0);
-%End
-
- TQIODevice* device ();
- virtual void init (int) = 0;
- virtual int mode () const = 0;
- virtual void terminate ();
- virtual void reset ();
- virtual bool readHeader () = 0;
- virtual bool writeHeader (const TQCString&) = 0;
- virtual void setOutBuffer (char*, uint) = 0;
- virtual void setInBuffer (const char*, uint) = 0;
- virtual bool inBufferEmpty () const;
- virtual int inBufferAvailable () const = 0;
- virtual bool outBufferFull () const;
- virtual int outBufferAvailable () const = 0;
-
- enum Result
- {
- OK,
- END,
- ERROR
- };
-
- virtual Result uncompress () = 0;
- virtual KFilterBase::Result compress (bool) = 0;
- static KFilterBase* findFilterByFileName (const TQString&);
- static KFilterBase* findFilterByMimeType (const TQString&);
-
-protected:
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KFilterBase
-
diff --git a/sip/kio/kfilterdev.sip b/sip/kio/kfilterdev.sip
deleted file mode 100644
index 635d089..0000000
--- a/sip/kio/kfilterdev.sip
+++ /dev/null
@@ -1,73 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KFilterDev : TQIODevice
-{
-%TypeHeaderCode
-#include <kfilterdev.h>
-%End
-
-
-public:
- KFilterDev (KFilterBase*, bool);
- virtual bool open (int);
- virtual void close ();
- virtual void flush ();
- void setOrigFileName (const TQCString&);
-
-%If ( KDE_3_1_0 - )
- void setSkipHeaders ();
-%End
-
- virtual TQIODevice::Offset size () const;
- virtual TQIODevice::Offset at () const;
- virtual bool at (TQIODevice::Offset);
- virtual bool atEnd () const;
-//ig virtual TQ_LONG readBlock (char*, Q_ULONG);
-//ig virtual TQ_LONG writeBlock (const char*, Q_ULONG);
- virtual int getch ();
- virtual int putch (int);
- virtual int ungetch (int);
- static TQIODevice* createFilterDevice (KFilterBase*, TQFile*);
-
-public:
- static TQIODevice* deviceForFile (const TQString&, const TQString& = TQString ::null , bool = 0);
- static TQIODevice* device (TQIODevice*, const TQString&);
-
-%If ( KDE_3_1_0 - )
- static TQIODevice* device (TQIODevice*, const TQString&, bool);
-%End
-
-
-public:
-
-%If ( - KDE_3_2_2 )
- virtual long writeBlock (const char*, ulong);
-%End
-
-
-}; // class KFilterDev
-
diff --git a/sip/kio/kimageio.sip b/sip/kio/kimageio.sip
deleted file mode 100644
index a6a1cdc..0000000
--- a/sip/kio/kimageio.sip
+++ /dev/null
@@ -1,59 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KImageIO
-{
-%TypeHeaderCode
-#include <kimageio.h>
-%End
-
-
-public:
-
- enum Mode
- {
- Reading,
- Writing
- };
-
- static void registerFormats ();
- static bool canWrite (const TQString&);
- static bool canRead (const TQString&);
- static TQStringList types (KImageIO::Mode = Writing );
- static TQString pattern (KImageIO::Mode = Reading );
- static TQString suffix (const TQString&);
-
-%If ( KDE_3_1_0 - )
- static TQString typeForMime (const TQString&);
-%End
-
- static TQString type (const TQString&);
- static TQStringList mimeTypes (KImageIO::Mode = Writing );
- static bool isSupported (const TQString&, KImageIO::Mode = Writing );
- static TQString mimeType (const TQString&);
-
-}; // class KImageIO
-
diff --git a/sip/kio/kio-kde310.diff b/sip/kio/kio-kde310.diff
deleted file mode 100644
index 7abe6b3..0000000
--- a/sip/kio/kio-kde310.diff
+++ /dev/null
@@ -1,5 +0,0 @@
-+ %Include davjob.sip
-+ %Include kar.sip
-+ %Include tdefileshare.sip
-+ %Include kzip.sip
-+ %Include metainfojob.sip
diff --git a/sip/kio/kio-kde311.diff b/sip/kio/kio-kde311.diff
deleted file mode 100644
index de04c4f..0000000
--- a/sip/kio/kio-kde311.diff
+++ /dev/null
@@ -1,4 +0,0 @@
-+ %Include davjob.sip
-+ %Include kar.sip
-+ %Include kzip.sip
-+ %Include metainfojob.sip
diff --git a/sip/kio/kio-kde312.diff b/sip/kio/kio-kde312.diff
deleted file mode 100644
index 7abe6b3..0000000
--- a/sip/kio/kio-kde312.diff
+++ /dev/null
@@ -1,5 +0,0 @@
-+ %Include davjob.sip
-+ %Include kar.sip
-+ %Include tdefileshare.sip
-+ %Include kzip.sip
-+ %Include metainfojob.sip
diff --git a/sip/kio/kio-kde313.diff b/sip/kio/kio-kde313.diff
deleted file mode 100644
index 7abe6b3..0000000
--- a/sip/kio/kio-kde313.diff
+++ /dev/null
@@ -1,5 +0,0 @@
-+ %Include davjob.sip
-+ %Include kar.sip
-+ %Include tdefileshare.sip
-+ %Include kzip.sip
-+ %Include metainfojob.sip
diff --git a/sip/kio/kio-kde314.diff b/sip/kio/kio-kde314.diff
deleted file mode 100644
index 7abe6b3..0000000
--- a/sip/kio/kio-kde314.diff
+++ /dev/null
@@ -1,5 +0,0 @@
-+ %Include davjob.sip
-+ %Include kar.sip
-+ %Include tdefileshare.sip
-+ %Include kzip.sip
-+ %Include metainfojob.sip
diff --git a/sip/kio/kio-kde315.diff b/sip/kio/kio-kde315.diff
deleted file mode 100644
index 7abe6b3..0000000
--- a/sip/kio/kio-kde315.diff
+++ /dev/null
@@ -1,5 +0,0 @@
-+ %Include davjob.sip
-+ %Include kar.sip
-+ %Include tdefileshare.sip
-+ %Include kzip.sip
-+ %Include metainfojob.sip
diff --git a/sip/kio/kio-kde320.diff b/sip/kio/kio-kde320.diff
deleted file mode 100644
index db94510..0000000
--- a/sip/kio/kio-kde320.diff
+++ /dev/null
@@ -1,6 +0,0 @@
-+ %Include davjob.sip
-+ %Include kar.sip
-+ %Include kdcopservicestarter.sip
-+ %Include tdefileshare.sip
-+ %Include kzip.sip
-+ %Include metainfojob.sip
diff --git a/sip/kio/kio-kde321.diff b/sip/kio/kio-kde321.diff
deleted file mode 100644
index db94510..0000000
--- a/sip/kio/kio-kde321.diff
+++ /dev/null
@@ -1,6 +0,0 @@
-+ %Include davjob.sip
-+ %Include kar.sip
-+ %Include kdcopservicestarter.sip
-+ %Include tdefileshare.sip
-+ %Include kzip.sip
-+ %Include metainfojob.sip
diff --git a/sip/kio/kio-kde322.diff b/sip/kio/kio-kde322.diff
deleted file mode 100644
index db94510..0000000
--- a/sip/kio/kio-kde322.diff
+++ /dev/null
@@ -1,6 +0,0 @@
-+ %Include davjob.sip
-+ %Include kar.sip
-+ %Include kdcopservicestarter.sip
-+ %Include tdefileshare.sip
-+ %Include kzip.sip
-+ %Include metainfojob.sip
diff --git a/sip/kio/kio-kde323.diff b/sip/kio/kio-kde323.diff
deleted file mode 100644
index db94510..0000000
--- a/sip/kio/kio-kde323.diff
+++ /dev/null
@@ -1,6 +0,0 @@
-+ %Include davjob.sip
-+ %Include kar.sip
-+ %Include kdcopservicestarter.sip
-+ %Include tdefileshare.sip
-+ %Include kzip.sip
-+ %Include metainfojob.sip
diff --git a/sip/kio/kio-kde330.diff b/sip/kio/kio-kde330.diff
deleted file mode 100644
index acae23f..0000000
--- a/sip/kio/kio-kde330.diff
+++ /dev/null
@@ -1,10 +0,0 @@
-+ %Include davjob.sip
-+ %Include kar.sip
-+ %Include kdcopservicestarter.sip
-+ %Include tdefileshare.sip
-+ %Include kmimetypechooser.sip
-+ %Include knfsshare.sip
-+ %Include kremoteencoding.sip
-+ %Include ksambashare.sip
-+ %Include kzip.sip
-+ %Include metainfojob.sip
diff --git a/sip/kio/kio-kde331.diff b/sip/kio/kio-kde331.diff
deleted file mode 100644
index acae23f..0000000
--- a/sip/kio/kio-kde331.diff
+++ /dev/null
@@ -1,10 +0,0 @@
-+ %Include davjob.sip
-+ %Include kar.sip
-+ %Include kdcopservicestarter.sip
-+ %Include tdefileshare.sip
-+ %Include kmimetypechooser.sip
-+ %Include knfsshare.sip
-+ %Include kremoteencoding.sip
-+ %Include ksambashare.sip
-+ %Include kzip.sip
-+ %Include metainfojob.sip
diff --git a/sip/kio/kio-kde332.diff b/sip/kio/kio-kde332.diff
deleted file mode 100644
index acae23f..0000000
--- a/sip/kio/kio-kde332.diff
+++ /dev/null
@@ -1,10 +0,0 @@
-+ %Include davjob.sip
-+ %Include kar.sip
-+ %Include kdcopservicestarter.sip
-+ %Include tdefileshare.sip
-+ %Include kmimetypechooser.sip
-+ %Include knfsshare.sip
-+ %Include kremoteencoding.sip
-+ %Include ksambashare.sip
-+ %Include kzip.sip
-+ %Include metainfojob.sip
diff --git a/sip/kio/kio-kde340.diff b/sip/kio/kio-kde340.diff
deleted file mode 100644
index ee6caf2..0000000
--- a/sip/kio/kio-kde340.diff
+++ /dev/null
@@ -1,11 +0,0 @@
-+ %Include davjob.sip
-+ %Include forwardingslavebase.sip
-+ %Include kar.sip
-+ %Include kdcopservicestarter.sip
-+ %Include tdefileshare.sip
-+ %Include kmimetypechooser.sip
-+ %Include knfsshare.sip
-+ %Include kremoteencoding.sip
-+ %Include ksambashare.sip
-+ %Include kzip.sip
-+ %Include metainfojob.sip
diff --git a/sip/kio/kio-kde341.diff b/sip/kio/kio-kde341.diff
deleted file mode 100644
index ee6caf2..0000000
--- a/sip/kio/kio-kde341.diff
+++ /dev/null
@@ -1,11 +0,0 @@
-+ %Include davjob.sip
-+ %Include forwardingslavebase.sip
-+ %Include kar.sip
-+ %Include kdcopservicestarter.sip
-+ %Include tdefileshare.sip
-+ %Include kmimetypechooser.sip
-+ %Include knfsshare.sip
-+ %Include kremoteencoding.sip
-+ %Include ksambashare.sip
-+ %Include kzip.sip
-+ %Include metainfojob.sip
diff --git a/sip/kio/kio-kde342.diff b/sip/kio/kio-kde342.diff
deleted file mode 100644
index ee6caf2..0000000
--- a/sip/kio/kio-kde342.diff
+++ /dev/null
@@ -1,11 +0,0 @@
-+ %Include davjob.sip
-+ %Include forwardingslavebase.sip
-+ %Include kar.sip
-+ %Include kdcopservicestarter.sip
-+ %Include tdefileshare.sip
-+ %Include kmimetypechooser.sip
-+ %Include knfsshare.sip
-+ %Include kremoteencoding.sip
-+ %Include ksambashare.sip
-+ %Include kzip.sip
-+ %Include metainfojob.sip
diff --git a/sip/kio/kio-kde343.diff b/sip/kio/kio-kde343.diff
deleted file mode 100644
index ee6caf2..0000000
--- a/sip/kio/kio-kde343.diff
+++ /dev/null
@@ -1,11 +0,0 @@
-+ %Include davjob.sip
-+ %Include forwardingslavebase.sip
-+ %Include kar.sip
-+ %Include kdcopservicestarter.sip
-+ %Include tdefileshare.sip
-+ %Include kmimetypechooser.sip
-+ %Include knfsshare.sip
-+ %Include kremoteencoding.sip
-+ %Include ksambashare.sip
-+ %Include kzip.sip
-+ %Include metainfojob.sip
diff --git a/sip/kio/kio-kde350.diff b/sip/kio/kio-kde350.diff
deleted file mode 100644
index a601d8b..0000000
--- a/sip/kio/kio-kde350.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-+ %Include davjob.sip
-+ %Include forwardingslavebase.sip
-+ %Include kacl.sip
-+ %Include kar.sip
-+ %Include kdcopservicestarter.sip
-+ %Include tdefileshare.sip
-+ %Include kmimetypechooser.sip
-+ %Include knfsshare.sip
-+ %Include kremoteencoding.sip
-+ %Include ksambashare.sip
-+ %Include kzip.sip
-+ %Include metainfojob.sip
diff --git a/sip/kio/kio-kde351.diff b/sip/kio/kio-kde351.diff
deleted file mode 100644
index a601d8b..0000000
--- a/sip/kio/kio-kde351.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-+ %Include davjob.sip
-+ %Include forwardingslavebase.sip
-+ %Include kacl.sip
-+ %Include kar.sip
-+ %Include kdcopservicestarter.sip
-+ %Include tdefileshare.sip
-+ %Include kmimetypechooser.sip
-+ %Include knfsshare.sip
-+ %Include kremoteencoding.sip
-+ %Include ksambashare.sip
-+ %Include kzip.sip
-+ %Include metainfojob.sip
diff --git a/sip/kio/kio-kde352.diff b/sip/kio/kio-kde352.diff
deleted file mode 100644
index a601d8b..0000000
--- a/sip/kio/kio-kde352.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-+ %Include davjob.sip
-+ %Include forwardingslavebase.sip
-+ %Include kacl.sip
-+ %Include kar.sip
-+ %Include kdcopservicestarter.sip
-+ %Include tdefileshare.sip
-+ %Include kmimetypechooser.sip
-+ %Include knfsshare.sip
-+ %Include kremoteencoding.sip
-+ %Include ksambashare.sip
-+ %Include kzip.sip
-+ %Include metainfojob.sip
diff --git a/sip/kio/kio-kde353.diff b/sip/kio/kio-kde353.diff
deleted file mode 100644
index a601d8b..0000000
--- a/sip/kio/kio-kde353.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-+ %Include davjob.sip
-+ %Include forwardingslavebase.sip
-+ %Include kacl.sip
-+ %Include kar.sip
-+ %Include kdcopservicestarter.sip
-+ %Include tdefileshare.sip
-+ %Include kmimetypechooser.sip
-+ %Include knfsshare.sip
-+ %Include kremoteencoding.sip
-+ %Include ksambashare.sip
-+ %Include kzip.sip
-+ %Include metainfojob.sip
diff --git a/sip/kio/kiomod.sip.in b/sip/kio/kiomod.sip.in
deleted file mode 100644
index 913a7dc..0000000
--- a/sip/kio/kiomod.sip.in
+++ /dev/null
@@ -1,97 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE_3_5_2
-
-%Copying
-
- This software is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License as
- published by the Free Software Foundation; either version 2 of
- the License, or (at your option) any later version.
-
- This software is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public
- License along with this library; see the file COPYING.
- If not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-%End
-
-%Module kio
-
-%Import qt/qtmod.sip
-%Import qtxml/qtxmlmod.sip
-%Import dcopmod.sip
-%Import tdecoremod.sip
-%Import tdefxmod.sip
-%Import tdeuimod.sip
-
-%Include authinfo.sip
-%Include chmodjob.sip
-%Include connection.sip
-%Include defaultprogress.sip
-%Include global.sip
-%Include job.sip
-%Include jobclasses.sip
-%Include karchive.sip
-%Include kautomount.sip
-%Include kdatatool.sip
-%Include kdirlister.sip
-%Include kdirnotify.sip
-%Include kdirwatch.sip
-%Include kemailsettings.sip
-%Include tdefilefilter.sip
-%Include tdefileitem.sip
-%Include tdefilemetainfo.sip
-%Include kfilterbase.sip
-%Include kfilterdev.sip
-%Include kimageio.sip
-%Include kmimemagic.sip
-%Include kmimetype.sip
-%Include kprotocolinfo.sip
-%Include kprotocolmanager.sip
-%Include krun.sip
-%Include kscan.sip
-%Include kservice.sip
-%Include kservicegroup.sip
-%Include kservicetype.sip
-%Include kshellcompletion.sip
-%Include kshred.sip
-%Include tdesycoca.sip
-%Include tdesycocaentry.sip
-%Include tdesycocafactory.sip
-%Include tdesycocatype.sip
-%Include ktar.sip
-%Include ktrader.sip
-%Include kurifilter.sip
-%Include kurlcompletion.sip
-%Include kurlpixmapprovider.sip
-%Include kuserprofile.sip
-%Include netaccess.sip
-%Include observer.sip
-%Include passdlg.sip
-%Include paste.sip
-%Include previewjob.sip
-%Include progressbase.sip
-%Include renamedlg.sip
-%Include renamedlgplugin.sip
-%Include scheduler.sip
-%Include sessiondata.sip
-%Include skipdlg.sip
-%Include slave.sip
-%Include slavebase.sip
-%Include slaveconfig.sip
-%Include slaveinterface.sip
-%Include statusbarprogress.sip
-%Include tcpslavebase.sip
-%Include thumbcreator.sip
-@mark@
diff --git a/sip/kio/kmimemagic.sip b/sip/kio/kmimemagic.sip
deleted file mode 100644
index ae01d5c..0000000
--- a/sip/kio/kmimemagic.sip
+++ /dev/null
@@ -1,74 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KMimeMagicResult
-{
-%TypeHeaderCode
-#include <kmimemagic.h>
-%End
-
-
-public:
- KMimeMagicResult ();
- const TQString mimeType ();
- int accuracy ();
- bool isValid ();
- void setMimeType (const TQString&);
- void setAccuracy (int);
- void setInvalid ();
-
-protected:
-
-}; // class KMimeMagicResult
-
-
-class KMimeMagic
-{
-%TypeHeaderCode
-#include <kmimemagic.h>
-%End
-
-
-public:
-
-%If ( KDE_3_1_0 - )
- KMimeMagic ();
-%End
-
- KMimeMagic (const TQString&);
- bool mergeConfig (const TQString&);
- bool mergeBufConfig (char*);
- void setFollowLinks (bool);
- KMimeMagicResult* findFileType (const TQString&);
- KMimeMagicResult* findBufferType (const TQByteArray&);
- KMimeMagicResult* findBufferFileType (const TQByteArray&, const TQString&);
- static KMimeMagic* self ();
-
-protected:
- static void initStatic ();
-
-}; // class KMimeMagic
-
diff --git a/sip/kio/kmimetype.sip b/sip/kio/kmimetype.sip
deleted file mode 100644
index 279933b..0000000
--- a/sip/kio/kmimetype.sip
+++ /dev/null
@@ -1,428 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KMimeType : KServiceType
-{
-%TypeHeaderCode
-#include <kmimetype.h>
-%End
-
-
-public:
-
- typedef TDESharedPtr<KMimeType> Ptr;
- typedef TQValueList<KMimeType::Ptr> List;
-
-public:
- KMimeType (const TQString&, const TQString&, const TQString&, const TQString&, const TQStringList&);
- KMimeType (const TQString&);
- KMimeType (KDesktopFile*);
- KMimeType (TQDataStream&, int);
- virtual TQString icon (const TQString&, bool) const;
- virtual TQString icon (const KURL&, bool) const;
- virtual TQPixmap pixmap (TDEIcon::Group, int = 0, int = 0, TQString* = 0) const;
- virtual TQPixmap pixmap (const KURL&, TDEIcon::Group, int = 0, int = 0, TQString* = 0) const;
- static TQPixmap pixmapForURL (const KURL&, mode_t = 0, TDEIcon::Group = TDEIcon ::Desktop , int = 0, int = 0, TQString* = 0);
- static TQString iconForURL (const KURL&, mode_t = 0);
- static TQString favIconForURL (const KURL&);
- TQString comment () const;
- virtual TQString comment (const TQString&, bool) const;
- virtual TQString comment (const KURL&, bool) const;
- const TQStringList& patterns () const;
- virtual void load (TQDataStream&);
- virtual void save (TQDataStream&);
- virtual TQVariant property (const TQString&) const;
- virtual TQStringList propertyNames () const;
- static KMimeType::Ptr mimeType (const TQString&);
- static KMimeType::Ptr findByURL (const KURL&, mode_t = 0, bool = 0, bool = 0);
-
-%If ( KDE_3_2_0 - )
- static KMimeType::Ptr findByURL (const KURL&, mode_t, bool, bool, bool*);
-%End
-
- static KMimeType::Ptr findByPath (const TQString&, mode_t = 0, bool = 0);
- static KMimeType::Ptr findByContent (const TQByteArray&, int* = 0);
- static KMimeType::Ptr findByFileContent (const TQString&, int* = 0);
-
-%If ( KDE_3_2_1 - )
-
- class Format
- {
-
- public:
- bool text;
-
- enum
- {
- NoCompression,
- GZipCompression
- };
-
-//ig int compression;
- int dummy;
-
- }; // class Format
-
-
-public:
-%End
-
-
-%If ( KDE_3_2_0 - )
-//ig static KMimeType::Format findFormatByFileContent (const TQString&);
-%End
-
- static KMimeType::List allMimeTypes ();
- static const TQString& defaultMimeType ();
-
-%If ( KDE_3_2_0 - )
- static KMimeType::Ptr defaultMimeTypePtr ();
- TQString parentMimeType () const;
- bool is (const TQString&) const /PyName=is_/; //'is' is a reserved keyword in python;
- static KMimeType::Ptr diagnoseFileName (const TQString&, TQString&);
-%End
-
-
-protected:
- void loadInternal (TQDataStream&);
- void init (KDesktopFile*);
- static void errorMissingMimeType (const TQString&);
- static void buildDefaultType ();
- static void checkEssentialMimeTypes ();
-
-protected:
-
-%If ( KDE_3_2_0 - )
- int patternsAccuracy () const;
-%End
-
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KMimeType
-
-
-class KFolderType : KMimeType
-{
-%TypeHeaderCode
-#include <kmimetype.h>
-%End
-
-
-public:
- KFolderType (KDesktopFile*);
- KFolderType (TQDataStream&, int);
- virtual TQString icon (const TQString&, bool) const;
- virtual TQString icon (const KURL&, bool) const;
- virtual TQString comment (const TQString&, bool) const;
- virtual TQString comment (const KURL&, bool) const;
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KFolderType
-
-
-class KDEDesktopMimeType : KMimeType
-{
-%TypeHeaderCode
-#include <kmimetype.h>
-%End
-
-
-public:
-
- enum ServiceType
- {
- ST_MOUNT,
- ST_UNMOUNT,
- ST_USER_DEFINED
- };
-
-
- class Service
- {
-
- public:
- Service ();
-
-%If ( KDE_3_2_0 - )
- bool isEmpty () const;
-%End
-
- TQString m_strName;
- TQString m_strIcon;
- TQString m_strExec;
- KDEDesktopMimeType::ServiceType m_type;
- bool m_display;
-
- }; // class Service
-
-
-public:
- KDEDesktopMimeType (KDesktopFile*);
- KDEDesktopMimeType (TQDataStream&, int);
- virtual TQString icon (const TQString&, bool) const;
- virtual TQString icon (const KURL&, bool) const;
- virtual TQPixmap pixmap (const KURL&, TDEIcon::Group, int = 0, int = 0, TQString* = 0) const;
- virtual TQString comment (const TQString&, bool) const;
- virtual TQString comment (const KURL&, bool) const;
- static TQValueList<KDEDesktopMimeType::Service> builtinServices (const KURL&);
- static TQValueList<KDEDesktopMimeType::Service> userDefinedServices (const TQString&, bool);
-
-%If ( KDE_3_4_0 - )
- static TQValueList<KDEDesktopMimeType::Service> userDefinedServices (const TQString&, TDEConfig&, bool);
-
-%If ( KDE_3_5_0 - )
- static TQValueList<KDEDesktopMimeType::Service> userDefinedServices (const TQString&, TDEConfig&, bool, const KURL::List&);
-%End
-
-%End
-
- static void executeService (const TQString&, KDEDesktopMimeType::Service&);
- static void executeService (const KURL::List&, KDEDesktopMimeType::Service&);
- static pid_t run (const KURL&, bool);
-
-protected:
- virtual TQPixmap pixmap (TDEIcon::Group, int, int, TQString*) const;
- static pid_t runFSDevice (const KURL&, const KSimpleConfig&);
- static pid_t runApplication (const KURL&, const TQString&);
- static pid_t runLink (const KURL&, const KSimpleConfig&);
- static pid_t runMimeType (const KURL&, const KSimpleConfig&);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KDEDesktopMimeType
-
-
-class KExecMimeType : KMimeType
-{
-%TypeHeaderCode
-#include <kmimetype.h>
-%End
-
-
-public:
- KExecMimeType (KDesktopFile*);
- KExecMimeType (TQDataStream&, int);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KExecMimeType
-
-
-
-%MappedType KMimeType::Ptr
-//converts KMimeType
-{
-%TypeHeaderCode
-#include <ksharedptr.h>
-#include <kmimetype.h>
-%End
-
-%ConvertFromTypeCode
- // Convert to a Python instance
-
- if (!sipCpp)
- return NULL;
-
- TDESharedPtr<KMimeType> *cPtr = (TDESharedPtr<KMimeType> *)sipCpp;
- KMimeType *cpp = new KMimeType (*cPtr->data ());
- PyObject *obj = sipConvertFromInstance (cpp, sipClass_KMimeType, sipTransferObj);
-
- return obj;
-%End
-
-%ConvertToTypeCode
- // Convert a Python instance to a Ptr on the heap.
-
- if (sipIsErr == NULL)
- return sipCanConvertToType(sipPy, sipType_KMimeType, SIP_NO_CONVERTORS);
-
- int iserr = 0;
- KMimeType *cpp = (KMimeType *)sipConvertToType(sipPy, sipType_KMimeType, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- return 0;
- }
-
- *sipCppPtr = new TDESharedPtr<KMimeType> (cpp);
-
- return 1;
-%End
-};
-
-
-%MappedType TQValueList<KDEDesktopMimeType::Service>
-//converts a Python list of KDEDesktopMimeType.Service
-{
-%TypeHeaderCode
-#include <tqvaluelist.h>
-#include <kmimetype.h>
-%End
-
-%ConvertFromTypeCode
- if (!sipCpp)
- return PyList_New(0);
-
- // Create the list
- PyObject *pylist;
- if ((pylist = PyList_New(0)) == NULL)
- return NULL;
-
- TQValueList<KDEDesktopMimeType::Service> *cpplist = (TQValueList<KDEDesktopMimeType::Service> *)sipCpp;
- PyObject *inst;
-
- // Get it.
- TQValueList<KDEDesktopMimeType::Service>::Iterator it;
- for( it = cpplist->begin(); it != cpplist->end(); ++it )
- {
- if (((inst = sipConvertFromNewType(new KDEDesktopMimeType::Service(*it), sipType_KDEDesktopMimeType_Service, NULL)) == NULL)
- || PyList_Append (pylist, inst) < 0)
- {
- Py_DECREF (pylist);
- return NULL;
- }
- }
-
- return pylist;
-%End
-
-
-%ConvertToTypeCode
- if (sipIsErr == NULL)
- return PyList_Check(sipPy);
-
- TQValueList<KDEDesktopMimeType::Service> *cpplist = new TQValueList<KDEDesktopMimeType::Service>;
-
- PyObject *elem;
- KDEDesktopMimeType::Service *cpp;
- int iserr = 0;
-
- for (int i = 0; i < PyList_Size (sipPy); i++)
- {
- elem = PyList_GET_ITEM (sipPy, i);
- cpp = (KDEDesktopMimeType::Service *)sipForceConvertToType(elem, sipType_KDEDesktopMimeType_Service, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- delete cpplist;
- return 0;
- }
-
- cpplist->append (*cpp);
- }
-
- *sipCppPtr = cpplist;
-
- return 1;
-%End
-};
-
-
-%MappedType TQValueList<KMimeType::Ptr>
-//converts a Python list of KMimeType
-{
-%TypeHeaderCode
-#include <kmimetype.h>
-%End
-
-%ConvertFromTypeCode
- // Convert to a Python list of Ptr (KMimeType).
-
- if (!sipCpp)
- return PyList_New (0);
-
- PyObject *plist;
-
- // Create the list
-
- if ((plist = PyList_New(0)) == NULL)
- return NULL;
-
- // Get it.
-
- TQValueList<KMimeType::Ptr> *cList = (TQValueList<KMimeType::Ptr> *)sipCpp;
- PyObject *inst;
- KMimeType *svc;
-
- TQValueList<KMimeType::Ptr>::Iterator it;
- for( it = cList->begin(); it != cList->end(); ++it )
- {
- svc = new KMimeType (*(KMimeType *)((KMimeType::Ptr)(*it)).data ());
- inst = sipConvertFromNewType(svc, sipType_KMimeType, NULL);
- if ((inst == NULL) || (PyList_Append (plist, inst) < 0))
- {
- Py_XDECREF (inst);
- Py_DECREF (plist);
- return NULL;
- }
- }
-
- return plist;
-%End
-
-%ConvertToTypeCode
- // Convert a Python list to List on the heap.
-
- if (sipIsErr == NULL)
- return PyList_Check(sipPy);
-
- TQValueList<KMimeType::Ptr> *cList = new TQValueList<KMimeType::Ptr>;
- PyObject *elem;
- KMimeType *service;
- int iserr = 0;
-
- for (int i = 0; i < PyList_Size (sipPy); i++)
- {
- elem = PyList_GET_ITEM (sipPy, i);
- service = (KMimeType *)sipForceConvertToType(elem, sipType_KMimeType, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
-
- KMimeType::Ptr *ptr = new KMimeType::Ptr (service);
-
- if (iserr)
- {
- *sipIsErr = 1;
- delete cList;
- return 0;
- }
-
- cList->append (*ptr);
- }
-
- *sipCppPtr = cList;
-
- return 1;
-%End
-};
-
-
diff --git a/sip/kio/kmimetypechooser.sip b/sip/kio/kmimetypechooser.sip
deleted file mode 100644
index 7c08a50..0000000
--- a/sip/kio/kmimetypechooser.sip
+++ /dev/null
@@ -1,74 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-%If ( KDE_3_3_0 - )
-
-class KMimeTypeChooser : TQVBox
-{
-%TypeHeaderCode
-#include <kmimetypechooser.h>
-%End
-
-
-public:
-
- enum Visuals
- {
- Comments,
- Patterns,
- EditButton
- };
-
- KMimeTypeChooser (const TQString& = TQString ::null , const TQStringList& = 0, const TQString& = TQString ::null , const TQStringList& = TQStringList (), int = Comments |Patterns |EditButton , TQWidget* /TransferThis/ = 0, const char* = 0);
- TQStringList mimeTypes () const;
- TQStringList patterns () const;
-
-public slots:
- void editMimeType ();
-
-}; // class KMimeTypeChooser
-
-%End
-
-
-%If ( KDE_3_3_0 - )
-
-class KMimeTypeChooserDialog : KDialogBase
-{
-%TypeHeaderCode
-#include <kmimetypechooser.h>
-%End
-
-
-public:
- KMimeTypeChooserDialog (const TQString& = TQString ::null , const TQString& = TQString ::null , const TQStringList& = TQStringList (), const TQString& = TQString ::null , const TQStringList& = TQStringList (), int = KMimeTypeChooser ::Comments |KMimeTypeChooser ::Patterns |KMimeTypeChooser ::EditButton , TQWidget* /TransferThis/ = 0, const char* = 0);
- KMimeTypeChooserDialog (const TQString&, const TQString&, const TQStringList&, const TQString&, TQWidget* /TransferThis/ = 0, const char* = 0);
- KMimeTypeChooser* chooser ();
-
-}; // class KMimeTypeChooserDialog
-
-%End
-
diff --git a/sip/kio/knfsshare.sip b/sip/kio/knfsshare.sip
deleted file mode 100644
index 4eabf33..0000000
--- a/sip/kio/knfsshare.sip
+++ /dev/null
@@ -1,51 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-%If ( KDE_3_3_0 - )
-
-class KNFSShare : TQObject
-{
-%TypeHeaderCode
-#include <knfsshare.h>
-%End
-
-
-public:
- static KNFSShare* instance ();
- bool isDirectoryShared (const TQString&) const;
- TQStringList sharedDirectories () const;
- TQString exportsPath () const;
-
-signals:
- void changed ();
-
-private:
- KNFSShare ();
-
-}; // class KNFSShare
-
-%End
-
diff --git a/sip/kio/kpac.sip b/sip/kio/kpac.sip
deleted file mode 100644
index 51e7c4d..0000000
--- a/sip/kio/kpac.sip
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// Copyright 2003 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE_3_1_4
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KPAC
-{
-%TypeHeaderCode
-#include <kpac.h>
-%End
-
-
-public:
- virtual TQString proxyForURL (const KURL&) = 0;
- virtual bool init (const KURL&) = 0;
- virtual bool discover () = 0;
- virtual void badProxy (const TQString&) = 0;
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KPAC
-
diff --git a/sip/kio/kprotocolinfo.sip b/sip/kio/kprotocolinfo.sip
deleted file mode 100644
index 6a8bb81..0000000
--- a/sip/kio/kprotocolinfo.sip
+++ /dev/null
@@ -1,287 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KProtocolInfo : KSycocaEntry
-{
-%TypeHeaderCode
-#include <kprotocolinfo.h>
-%End
-
-
-public:
- typedef TDESharedPtr<KProtocolInfo> Ptr;
-
-public:
- KProtocolInfo (const TQString&);
- virtual bool isValid () const;
- virtual TQString name () const;
- static TQStringList protocols ();
- static bool isKnownProtocol (const KURL&);
- static bool isKnownProtocol (const TQString&);
- static TQString exec (const TQString&) /PyName=exec_/;
-
- enum Type
- {
- T_STREAM,
- T_FILESYSTEM,
- T_NONE,
- T_ERROR
- };
-
- static KProtocolInfo::Type inputType (const KURL&);
- static KProtocolInfo::Type outputType (const KURL&);
- static TQStringList listing (const KURL&);
-
-%If ( KDE_3_2_0 - )
-
- class ExtraField
- {
-
- public:
- ExtraField ();
- ExtraField (const TQString&, const TQString&);
- TQString name;
- TQString type;
-
- }; // class ExtraField
-
-
-public:
-%End
-
-
-%If ( KDE_3_2_0 - )
- typedef TQValueList<KProtocolInfo::ExtraField> ExtraFieldList;
- static KProtocolInfo::ExtraFieldList extraFields (const KURL&);
-%End
-
- static bool isSourceProtocol (const KURL&);
- static bool isHelperProtocol (const KURL&);
- static bool isHelperProtocol (const TQString&);
- static bool isFilterProtocol (const KURL&);
- static bool isFilterProtocol (const TQString&);
- static bool supportsListing (const KURL&);
- static bool supportsReading (const KURL&);
- static bool supportsWriting (const KURL&);
- static bool supportsMakeDir (const KURL&);
- static bool supportsDeleting (const KURL&);
- static bool supportsLinking (const KURL&);
- static bool supportsMoving (const KURL&);
- static bool canCopyFromFile (const KURL&);
- static bool canCopyToFile (const KURL&);
-
-%If ( KDE_3_4_0 - )
- static bool canRenameFromFile (const KURL&);
- static bool canRenameToFile (const KURL&);
- static bool canDeleteRecursive (const KURL&);
-
- enum FileNameUsedForCopying
- {
- Name,
- FromURL
- };
-
- static KProtocolInfo::FileNameUsedForCopying fileNameUsedForCopying (const KURL&);
-%End
-
- static TQString defaultMimetype (const KURL&);
- static TQString icon (const TQString&);
- static TQString config (const TQString&);
- static int maxSlaves (const TQString&);
- static bool determineMimetypeFromExtension (const TQString&);
-
-%If ( KDE_3_2_0 - )
- static TQString docPath (const TQString&);
- static TQString protocolClass (const TQString&);
- static bool showFilePreview (const TQString&);
- static KURL::URIMode uriParseMode (const TQString&);
-
-%If ( KDE_3_3_0 - )
- static TQStringList capabilities (const TQString&);
- static TQString proxiedBy (const TQString&);
-%End
-
-%End
-
-
-public:
- KProtocolInfo (TQDataStream&, int);
- virtual void load (TQDataStream&);
- virtual void save (TQDataStream&);
- static Type inputType (const TQString&);
- static Type outputType (const TQString&);
- static TQStringList listing (const TQString&);
- static bool isSourceProtocol (const TQString&);
- static bool supportsListing (const TQString&);
- static bool supportsReading (const TQString&);
- static bool supportsWriting (const TQString&);
- static bool supportsMakeDir (const TQString&);
- static bool supportsDeleting (const TQString&);
- static bool supportsLinking (const TQString&);
- static bool supportsMoving (const TQString&);
- static bool canCopyFromFile (const TQString&);
- static bool canCopyToFile (const TQString&);
- static TQString defaultMimetype (const TQString&);
-
-protected:
-
-%If ( KDE_3_5_1 - )
- bool canRenameFromFile () const;
- bool canRenameToFile () const;
- bool canDeleteRecursive () const;
- KProtocolInfo::FileNameUsedForCopying fileNameUsedForCopying () const;
-%End
-
-
-%If ( KDE_3_4_0 - )
- static KProtocolInfo* findProtocol (const KURL&);
-%End
-
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KProtocolInfo
-
-
-%If ( KDE_3_2_0 - )
-//igx TQDataStream& operator >> (TQDataStream&, KProtocolInfo::ExtraField&);
-//igx TQDataStream& operator << (TQDataStream&, const KProtocolInfo::ExtraField&);
-%End
-
-
-%MappedType KProtocolInfo::Ptr
-//converts KProtocolInfo
-{
-%TypeHeaderCode
-#include <ksharedptr.h>
-#include <kprotocolinfo.h>
-%End
-
-%ConvertFromTypeCode
- // Convert to a Python instance
-
- if (!sipCpp)
- return NULL;
-
- TDESharedPtr<KProtocolInfo> *cPtr = new TDESharedPtr<KProtocolInfo>(*(TDESharedPtr<KProtocolInfo> *)sipCpp);
- KProtocolInfo *cpp = cPtr->data ();
- PyObject *obj = sipConvertFromInstance (cpp, sipClass_KProtocolInfo, sipTransferObj);
-
- return obj;
-%End
-
-%ConvertToTypeCode
- // Convert a Python instance to a Ptr on the heap.
-
- if (sipIsErr == NULL)
- return sipCanConvertToType(sipPy, sipType_KProtocolInfo, SIP_NO_CONVERTORS);
-
- int iserr = 0;
- KProtocolInfo *cpp = (KProtocolInfo *)sipConvertToType(sipPy, sipType_KProtocolInfo, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- return 0;
- }
-
- *sipCppPtr = new TDESharedPtr<KProtocolInfo> (cpp);
-
- return 1;
-%End
-};
-
-
-%If (KDE_3_2_0 - )
-%MappedType TQValueList<KProtocolInfo::ExtraField>
-//converts a Python list of KProtocolInfo::ExtraField
-{
-%TypeHeaderCode
-#include <tqvaluelist.h>
-%End
-
-%ConvertFromTypeCode
- if (!sipCpp)
- return PyList_New(0);
-
- // Create the list
- PyObject *pylist;
- if ((pylist = PyList_New(0)) == NULL)
- return NULL;
-
- TQValueList<KProtocolInfo::ExtraField> *cpplist = (TQValueList<KProtocolInfo::ExtraField> *)sipCpp;
- PyObject *inst;
-
- // Get it.
- TQValueList<KProtocolInfo::ExtraField>::Iterator it;
- for( it = cpplist->begin(); it != cpplist->end(); ++it )
- {
- if (((inst = sipConvertFromNewType(new KProtocolInfo::ExtraField(*it), sipType_KProtocolInfo_ExtraField, sipTransferObj)) == NULL)
- || PyList_Append (pylist, inst) < 0)
- {
- Py_DECREF (pylist);
- return NULL;
- }
- }
-
- return pylist;
-%End
-
-
-%ConvertToTypeCode
- if (sipIsErr == NULL)
- return PyList_Check(sipPy);
-
- TQValueList<KProtocolInfo::ExtraField> *cpplist = new TQValueList<KProtocolInfo::ExtraField>;
-
- PyObject *elem;
- KProtocolInfo::ExtraField *cpp;
- int iserr = 0;
-
- for (int i = 0; i < PyList_Size (sipPy); i++)
- {
- elem = PyList_GET_ITEM (sipPy, i);
- cpp = (KProtocolInfo::ExtraField *)sipForceConvertToType(elem, sipType_KProtocolInfo_ExtraField, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- delete cpplist;
- return 0;
- }
-
- cpplist->append (*cpp);
- }
-
- *sipCppPtr = cpplist;
-
- return 1;
-%End
-};
-%End
-
-
diff --git a/sip/kio/kprotocolmanager.sip b/sip/kio/kprotocolmanager.sip
deleted file mode 100644
index 7713c88..0000000
--- a/sip/kio/kprotocolmanager.sip
+++ /dev/null
@@ -1,99 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KProtocolManager
-{
-%TypeHeaderCode
-#include <kprotocolmanager.h>
-%End
-
-
-public:
- static TQString defaultUserAgent ();
- static TQString defaultUserAgent (const TQString&);
- static TQString userAgentForHost (const TQString&);
- static int readTimeout ();
- static int connectTimeout ();
- static int proxyConnectTimeout ();
- static int responseTimeout ();
- static bool useProxy ();
- static bool useReverseProxy ();
-
- enum ProxyType
- {
- NoProxy,
- ManualProxy,
- PACProxy,
- WPADProxy,
- EnvVarProxy
- };
-
- static KProtocolManager::ProxyType proxyType ();
-
- enum ProxyAuthMode
- {
- Prompt,
- Automatic
- };
-
- static KProtocolManager::ProxyAuthMode proxyAuthMode ();
- static TQString noProxyFor ();
-
-%If ( KDE_3_5_1 - )
- static TQString noProxyForRaw ();
-%End
-
- static TQString proxyFor (const TQString&);
- static TQString proxyForURL (const KURL&);
- static void badProxy (const TQString&);
- static TQString proxyConfigScript ();
- static bool useCache ();
- static int maxCacheAge ();
- static int maxCacheSize ();
- static TQString cacheDir ();
- static TDEIO::CacheControl cacheControl ();
- static bool autoResume ();
- static bool markPartial ();
- static int minimumKeepSize ();
-
-%If ( KDE_3_1_0 - )
- static bool persistentProxyConnection ();
-%End
-
- static bool persistentConnections ();
- static void reparseConfiguration ();
- static TQString slaveProtocol (const KURL&, TQString&);
- static TDEConfig* config ();
-
-public:
-
-%If ( - KDE_3_2_0 )
-//ig static int defaultConnectTimeout ();
-%End
-
-
-}; // class KProtocolManager
-
diff --git a/sip/kio/kremoteencoding.sip b/sip/kio/kremoteencoding.sip
deleted file mode 100644
index 857e305..0000000
--- a/sip/kio/kremoteencoding.sip
+++ /dev/null
@@ -1,60 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-%If ( KDE_3_3_0 - )
-
-class KRemoteEncoding
-{
-%TypeHeaderCode
-#include <kremoteencoding.h>
-%End
-
-
-public:
- KRemoteEncoding (const char* = 0);
- TQString decode (const TQCString&) const;
- TQCString encode (const TQString&) const;
- TQCString encode (const KURL&) const;
- TQCString directory (const KURL&, bool = 1) const;
- TQCString fileName (const KURL&) const;
- const char* encoding () const;
-
-%If ( KDE_3_5_0 - )
- int encodingMib () const;
-%End
-
- void setEncoding (const char*);
-
-protected:
- virtual void virtual_hook (int, void*);
-
-private:
- KRemoteEncoding (const KRemoteEncoding&);
-
-}; // class KRemoteEncoding
-
-%End
-
diff --git a/sip/kio/krun.sip b/sip/kio/krun.sip
deleted file mode 100644
index 249dd09..0000000
--- a/sip/kio/krun.sip
+++ /dev/null
@@ -1,206 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KRun : TQObject
-{
-%TypeHeaderCode
-#include <krun.h>
-%End
-
-
-public:
- KRun (const KURL&, mode_t = 0, bool = 0, bool = 1);
-
-%If ( KDE_3_2_0 - )
- KRun (const KURL&, TQWidget*, mode_t = 0, bool = 0, bool = 1);
-%End
-
- void abort ();
- bool hasError () const;
- bool hasFinished () const;
- bool autoDelete () const;
- void setAutoDelete (bool);
- void setPreferredService (const TQString&);
-
-%If ( KDE_3_2_0 - )
- void setRunExecutables (bool);
-
-%If ( KDE_3_4_0 - )
- void setEnableExternalBrowser (bool);
-
-%If ( KDE_3_5_3 - )
- void setSuggestedFileName (const TQString&);
-%End
-
-
-%If ( KDE_3_5_2 - )
- static pid_t run (const KService&, const KURL::List&, TQWidget*, bool = 0);
-%End
-
-%End
-
-%End
-
-
-%If ( KDE_3_1_0 - )
- static pid_t run (const KService&, const KURL::List&, bool);
-%End
-
- static pid_t run (const KService&, const KURL::List&);
-
-%If ( KDE_3_5_3 - )
- static pid_t run (const KService&, const KURL::List&, TQWidget*, bool, const TQString&);
-%End
-
- static pid_t run (const TQString&, const KURL::List&, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null );
-
-%If ( KDE_3_2_0 - )
- static pid_t runURL (const KURL&, const TQString&, bool, bool);
-%End
-
-
-%If ( KDE_3_1_0 - )
- static pid_t runURL (const KURL&, const TQString&, bool);
-%End
-
- static pid_t runURL (const KURL&, const TQString&);
-
-%If ( KDE_3_5_3 - )
- static pid_t runURL (const KURL&, const TQString&, bool, bool, const TQString&);
-%End
-
- static pid_t runCommand (TQString);
- static pid_t runCommand (const TQString&, const TQString&, const TQString&);
-
-%If ( KDE_3_1_0 - )
- static bool displayOpenWithDialog (const KURL::List&, bool);
-%End
-
- static bool displayOpenWithDialog (const KURL::List&);
-
-%If ( KDE_3_5_3 - )
- static bool displayOpenWithDialog (const KURL::List&, bool, const TQString&);
-%End
-
- static void shellQuote (TQString&);
-
-%If ( KDE_3_1_0 - )
- static TQStringList processDesktopExec (const KService&, const KURL::List&, bool, bool);
-%End
-
- static TQStringList processDesktopExec (const KService&, const KURL::List&, bool);
-
-%If ( KDE_3_5_3 - )
- static TQStringList processDesktopExec (const KService&, const KURL::List&, bool, bool, const TQString&);
-%End
-
-
-%If ( KDE_3_1_0 - )
- static TQString binaryName (const TQString&, bool);
-
-%If ( KDE_3_2_0 - )
- static bool isExecutable (const TQString&);
-
-%If ( KDE_3_3_0 - )
- static bool isExecutableFile (const KURL&, const TQString&);
-
-%If ( KDE_3_4_0 - )
- static bool checkStartupNotify (const TQString&, const KService*, bool*, TQCString*);
-%End
-
-%End
-
-%End
-
-%End
-
-
-signals:
- void finished ();
- void error ();
-
-protected slots:
- void slotTimeout ();
- void slotScanFinished (TDEIO::Job*);
- void slotScanMimeType (TDEIO::Job*, const TQString&);
- virtual void slotStatResult (TDEIO::Job*);
-
-protected:
- virtual void init ();
- virtual void scanFile ();
- virtual void foundMimeType (const TQString&);
- virtual void killJob ();
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KRun
-
-
-class KOpenWithHandler
-{
-%TypeHeaderCode
-#include <krun.h>
-%End
-
-
-public:
- KOpenWithHandler ();
- static bool exists ();
-
-}; // class KOpenWithHandler
-
-
-class TDEProcessRunner : TQObject
-{
-%TypeHeaderCode
-#include <krun.h>
-%End
-
-
-public:
- static pid_t run (TDEProcess*, const TQString&);
-
-%If ( KDE_3_1_4 - )
- static pid_t run (TDEProcess*, const TQString&, const TDEStartupInfoId&);
-%End
-
- pid_t pid () const;
-
-protected slots:
- void slotProcessExited (TDEProcess*);
-
-private:
- TDEProcessRunner (TDEProcess*, const TQString&);
-
-%If ( KDE_3_1_4 - )
- TDEProcessRunner (TDEProcess*, const TQString&, const TDEStartupInfoId&);
-%End
-
- TDEProcessRunner ();
-
-}; // class TDEProcessRunner
-
diff --git a/sip/kio/ksambashare.sip b/sip/kio/ksambashare.sip
deleted file mode 100644
index a1e6a95..0000000
--- a/sip/kio/ksambashare.sip
+++ /dev/null
@@ -1,51 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-%If ( KDE_3_3_0 - )
-
-class KSambaShare : TQObject
-{
-%TypeHeaderCode
-#include <ksambashare.h>
-%End
-
-
-public:
- static KSambaShare* instance ();
- bool isDirectoryShared (const TQString&) const;
- TQStringList sharedDirectories () const;
- TQString smbConfPath () const;
-
-signals:
- void changed ();
-
-private:
- KSambaShare ();
-
-}; // class KSambaShare
-
-%End
-
diff --git a/sip/kio/kscan.sip b/sip/kio/kscan.sip
deleted file mode 100644
index 022210e..0000000
--- a/sip/kio/kscan.sip
+++ /dev/null
@@ -1,120 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KScanDialog : KDialogBase
-{
-%TypeHeaderCode
-#include <kscan.h>
-%End
-
-
-public:
- static KScanDialog* getScanDialog (TQWidget* /Transfer/ = 0, const char* = 0, bool = 0);
- virtual bool setup ();
-
-protected:
- KScanDialog (int = Tabbed , int = Close |Help , TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0);
- int id () const;
- int nextId ();
-
-signals:
- void preview (const TQImage&, int);
- void finalImage (const TQImage&, int);
- void textRecognized (const TQString&, int);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KScanDialog
-
-
-class KScanDialogFactory : KLibFactory
-{
-%TypeHeaderCode
-#include <kscan.h>
-%End
-
-
-public:
- virtual KScanDialog* createDialog (TQWidget* /Transfer/ = 0, const char* = 0, bool = 0) = 0;
-
-protected:
- KScanDialogFactory (TQObject* /TransferThis/ = 0, const char* = 0);
- virtual TQObject* createObject (TQObject* /Transfer/ = 0, const char* = 0, const char* = "TQObject", const TQStringList& = TQStringList ());
- void setName (const TQCString&);
- TDEInstance* instance () const;
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KScanDialogFactory
-
-
-class KOCRDialog : KDialogBase
-{
-%TypeHeaderCode
-#include <kscan.h>
-%End
-
-
-public:
- static KOCRDialog* getOCRDialog (TQWidget* /Transfer/ = 0, const char* = 0, bool = 0);
-
-protected:
- KOCRDialog (int = Tabbed , int = Close |Help , TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0);
- int id () const;
- int nextId ();
-
-signals:
- void textRecognized (const TQString&, int);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KOCRDialog
-
-
-class KOCRDialogFactory : KLibFactory
-{
-%TypeHeaderCode
-#include <kscan.h>
-%End
-
-
-public:
- virtual KOCRDialog* createDialog (TQWidget* /Transfer/ = 0, const char* = 0, bool = 0) = 0;
-
-protected:
- KOCRDialogFactory (TQObject* /TransferThis/ = 0, const char* = 0);
- virtual TQObject* createObject (TQObject* /Transfer/ = 0, const char* = 0, const char* = "TQObject", const TQStringList& = TQStringList ());
- void setName (const TQCString&);
- TDEInstance* instance () const;
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KOCRDialogFactory
-
diff --git a/sip/kio/kservice.sip b/sip/kio/kservice.sip
deleted file mode 100644
index c26cbaa..0000000
--- a/sip/kio/kservice.sip
+++ /dev/null
@@ -1,287 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KService : KSycocaEntry
-{
-%TypeHeaderCode
-#include <kservice.h>
-%End
-
-
-public:
-//ig typedef TDESharedPtr<KService> Ptr;
-//ig typedef TQValueList<KService::Ptr> List;
-
-public:
- KService (const TQString&, const TQString&, const TQString&);
- KService (const TQString&);
- KService (KDesktopFile*);
- KService (TQDataStream&, int);
- virtual TQString type () /PyName=type_/;
- virtual TQString name () const;
- TQString exec () /PyName=exec_/;
- TQString library () const;
- TQString init () const;
- TQString icon () const;
- TQPixmap pixmap (TDEIcon::Group, int = 0, int = 0, TQString* = 0) const;
- bool terminal () const;
- TQString terminalOptions () const;
- bool substituteUid () const;
- TQString username () const;
- TQString desktopEntryPath () const;
- TQString desktopEntryName () const;
-
-%If ( KDE_3_2_0 - )
- TQString menuId () const;
- TQString storageId () const;
-%End
-
-
- enum DCOPServiceType_t
- {
- DCOP_None,
- DCOP_Unique,
- DCOP_Multi,
- DCOP_Wait
- };
-
- DCOPServiceType_t DCOPServiceType () const;
- TQString path () const;
- TQString comment () const;
- TQString genericName () const;
-
-%If ( KDE_3_2_0 - )
- TQString untranslatedGenericName () const;
-%End
-
- TQStringList keywords () const;
-
-%If ( KDE_3_1_0 - )
- TQStringList categories () const;
-%End
-
- TQStringList serviceTypes () const;
- bool hasServiceType (const TQString&) const;
- bool allowAsDefault () const;
- bool allowMultipleFiles () const;
- int initialPreference () const;
-
-%If ( KDE_3_2_0 - )
- int initialPreferenceForMimeType (const TQString&) const;
-%End
-
- void setInitialPreference (int);
- bool noDisplay () const;
-
-%If ( KDE_3_1_0 - )
- TQString parentApp () const;
-%End
-
- virtual TQVariant property (const TQString&) const;
-
-%If ( KDE_3_2_0 - )
- TQVariant property (const TQString&, TQVariant::Type) const;
-%End
-
- virtual TQStringList propertyNames () const;
- bool isValid () const;
-
-%If ( KDE_3_2_0 - )
- TQString locateLocal ();
-%End
-
- virtual void load (TQDataStream&);
- virtual void save (TQDataStream&);
-
-%If ( KDE_3_2_0 - )
- void setMenuId (const TQString&);
- void setTerminal (bool);
- void setTerminalOptions (const TQString&);
-%End
-
- static KService::Ptr serviceByName (const TQString&);
- static KService::Ptr serviceByDesktopPath (const TQString&);
- static KService::Ptr serviceByDesktopName (const TQString&);
-
-%If ( KDE_3_2_0 - )
- static KService::Ptr serviceByMenuId (const TQString&);
- static KService::Ptr serviceByStorageId (const TQString&);
-%End
-
- static KService::List allServices ();
- static KService::List allInitServices ();
-
-%If ( KDE_3_2_0 - )
- static TQString newServicePath (bool, const TQString&, TQString* = 0, const TQStringList* = 0);
- static void rebuildKSycoca (TQWidget* /Transfer/);
-%End
-
-
-protected:
- void init (KDesktopFile*);
- TQStringList& accessServiceTypes ();
-
-%If ( KDE_3_1_1 - )
-
-private:
- KService (const KService&);
-%End
-
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KService
-
-
-
-%MappedType KService::Ptr
-//converts KService
-{
-%TypeHeaderCode
-#include <ksharedptr.h>
-#include <kservice.h>
-//typedef TDESharedPtr<KService> SvcPtr;
-//typedef KService::Ptr SvcPtr;
-%End
-
-%ConvertFromTypeCode
- // Convert to a Python instance
-
- if (!sipCpp)
- return NULL;
-
- TDESharedPtr<KService> *cPtr = new TDESharedPtr<KService> (*(TDESharedPtr<KService> *)sipCpp);
- KService *cpp = cPtr->data ();
- PyObject *obj = sipConvertFromInstance (cpp, sipClass_KService, sipTransferObj);
-
- return obj;
-%End
-
-%ConvertToTypeCode
- // Convert a Python instance to a Ptr on the heap.
-
- if (sipIsErr == NULL)
- return sipCanConvertToType(sipPy, sipType_KService, SIP_NO_CONVERTORS);
-
- int iserr = 0;
- KService *cpp = (KService *)sipConvertToType(sipPy, sipType_KService, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- return 0;
- }
-
- *sipCppPtr = new TDESharedPtr<KService> (cpp);
-
- return 1;
-%End
-};
-
-
-%MappedType KService::List
-//converts a Python list of KService
-{
-%TypeHeaderCode
-#include <tqvaluelist.h>
-#include <kservice.h>
-//typedef TDESharedPtr<KService> Ptr;
-//typedef TQValueList<Ptr> SvcList;
-//typedef KService::List SvcList;
-typedef TQValueList<KService::Ptr> List;
-%End
-
-%ConvertFromTypeCode
- // Convert to a Python list of Ptr (KService).
-#define QUOTE ""
- if (!sipCpp)
- return PyList_New (0);
-
- PyObject *plist;
-
- // Create the list
- if ((plist = PyList_New(0)) == NULL)
- return NULL;
-
- // Get it.
- KService::List *cList = (KService::List *)sipCpp;
- PyObject *inst;
- TDESharedPtr<KService> *svc;
-
- KService::List::Iterator it;
- for( it = cList->begin(); it != cList->end(); ++it )
- {
- TDESharedPtr <KService> svcptr = static_cast<KService::Ptr>(*it);
- svc = &svcptr;
- inst = sipConvertFromType(svc, sipType_KService_Ptr, sipTransferObj);
-
- if ((inst == NULL) || (PyList_Append (plist, inst) < 0))
- {
- Py_XDECREF (inst);
- Py_DECREF (plist);
- return NULL;
- }
- }
-
- return plist;
-%End
-
-%ConvertToTypeCode
- // Convert a Python list to List on the heap.
- if (sipIsErr == NULL)
- return PyList_Check(sipPy);
-
- KService::List *cList = new KService::List;
-
- PyObject *elem;
- KService *service;
- int iserr = 0;
-
- for (int i = 0; i < PyList_Size (sipPy); i++)
- {
- elem = PyList_GET_ITEM (sipPy, i);
- service = (KService *)sipForceConvertToType(elem, sipType_KService, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- delete cList;
- return 0;
- }
-
- KService::Ptr ptr(service);
-
- cList->append (ptr);
- }
-
- *sipCppPtr = cList;
-
- return 1;
-%End
-};
-
-
diff --git a/sip/kio/kservicegroup.sip b/sip/kio/kservicegroup.sip
deleted file mode 100644
index 8993214..0000000
--- a/sip/kio/kservicegroup.sip
+++ /dev/null
@@ -1,288 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KServiceGroup : KSycocaEntry
-{
-%TypeHeaderCode
-#include <kservicegroup.h>
-%End
-
-
-public:
-//ig typedef TDESharedPtr<KServiceGroup> Ptr;
-//ig typedef TDESharedPtr<KSycocaEntry> SPtr;
-
-%If ( KDE_3_1_2 - )
-//ig typedef TQValueList<KServiceGroup::SPtr> List;
-%End
-
-
-public:
-
-%If ( KDE_3_1_0 - )
- KServiceGroup (const TQString&);
-%End
-
- KServiceGroup (const TQString&, const TQString&);
- KServiceGroup (TQDataStream&, int, bool);
- bool isValid () const;
- virtual TQString name () const;
- virtual TQString relPath () const;
- TQString caption () const;
- TQString icon () const;
- TQString comment () const;
- int childCount ();
-
-%If ( KDE_3_1_0 - )
- bool noDisplay () const;
-
-%If ( KDE_3_5_0 - )
- bool showEmptyMenu () const;
- void setShowEmptyMenu (bool);
- bool showInlineHeader () const;
- void setShowInlineHeader (bool);
- bool inlineAlias () const;
- void setInlineAlias (bool);
- bool allowInline () const;
- void setAllowInline (bool);
- int inlineValue () const;
- void setInlineValue (int);
-%End
-
-
-%If ( KDE_3_2_0 - )
- TQStringList suppressGenericNames () const;
- void setLayoutInfo (const TQStringList&);
-
-%If ( KDE_3_3_0 - )
- TQStringList layoutInfo () const;
-%End
-
-%End
-
-%End
-
- virtual void load (TQDataStream&);
- virtual void save (TQDataStream&);
-
-%If ( KDE_3_2_0 - )
- KServiceGroup::List entries (bool, bool, bool, bool = 0);
-%End
-
- virtual KSycocaEntry::List entries (bool, bool);
-
-%If ( KDE_3_1_2 - )
- virtual KServiceGroup::List entries (bool = 0);
-%End
-
- TQString baseGroupName () const;
-
-%If ( KDE_3_2_0 - )
- TQString directoryEntryPath () const;
-%End
-
- static KServiceGroup::Ptr baseGroup (const TQString&);
- static KServiceGroup::Ptr root ();
- static KServiceGroup::Ptr group (const TQString&);
-
-%If ( KDE_3_1_0 - )
- static KServiceGroup::Ptr childGroup (const TQString& /Transfer/);
-
-%If ( KDE_3_5_0 - )
- void parseAttribute (const TQString&, bool&, bool&, bool&, bool&, int&);
-%End
-
-%End
-
-
-protected:
- void addEntry (KSycocaEntry*);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-public:
-
-%If ( - KDE_3_1_2 )
-//ig typedef TQValueList<Ptr> List;
-%End
-
-
-}; // class KServiceGroup
-
-
-%If ( KDE_3_2_0 - )
-
-class KServiceSeparator : KSycocaEntry
-{
-%TypeHeaderCode
-#include <kservicegroup.h>
-%End
-
-
-public:
-//ig typedef TDESharedPtr<KServiceSeparator> Ptr;
-
-public:
- KServiceSeparator ();
- bool isValid () const;
- virtual TQString name () const;
- virtual void load (TQDataStream&);
- virtual void save (TQDataStream&);
-
-}; // class KServiceSeparator
-
-%End
-
-
-
-%MappedType KServiceGroup::Ptr
-//converts KServiceGroup
-{
-%TypeHeaderCode
-#include <ksharedptr.h>
-#include <kservicegroup.h>
-%End
-
-%ConvertFromTypeCode
- // Convert to a Python instance
-
- if (!sipCpp)
- return NULL;
-
- TDESharedPtr<KServiceGroup> *cPtr = new TDESharedPtr<KServiceGroup> (*(TDESharedPtr<KServiceGroup> *)sipCpp);
- KServiceGroup *cpp = cPtr->data ();
- PyObject *obj = sipConvertFromInstance (cpp, sipClass_KServiceGroup, sipTransferObj);
-
- return obj;
-%End
-
-%ConvertToTypeCode
- // Convert a Python instance to a Ptr on the heap.
-
- if (sipIsErr == NULL)
- return sipCanConvertToType(sipPy, sipType_KServiceGroup, SIP_NO_CONVERTORS);
-
- int iserr = 0;
- KServiceGroup *cpp = (KServiceGroup *)sipConvertToType(sipPy, sipType_KServiceGroup, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- return 0;
- }
-
- *sipCppPtr = new TDESharedPtr<KServiceGroup> (cpp);
-
- return 1;
-%End
-};
-
-
-%If (KDE_3_1_2 - )
-%MappedType KServiceGroup::List
-//converts a Python list of KServiceGroup
-{
-%TypeHeaderCode
-#include <ksharedptr.h>
-#include <kservice.h>
-#include <kservicegroup.h>
-#include <tqvaluelist.h>
-%End
-
-%ConvertFromTypeCode
- // Convert to a Python list of Ptr (KService).
-
- if (!sipCpp)
- return PyList_New (0);
-
- // Create the list
-
- PyObject *plist;
-
- if ((plist = PyList_New(0)) == NULL)
- return NULL;
-
- // Get it.
-
- KServiceGroup::List *cList = (KServiceGroup::List *)sipCpp;
- PyObject *inst;
- TDESharedPtr <KSycocaEntry> *svcGroupType;
-
- KServiceGroup::List::Iterator it;
- for( it = cList->begin(); it != cList->end(); ++it )
- {
- TDESharedPtr<KSycocaEntry> svcptr = static_cast<KServiceGroup::SPtr>(*it);
- svcGroupType = &svcptr;
- inst = sipConvertFromType(svcGroupType, sipType_KSycocaEntry_Ptr, sipTransferObj);
-
- if ((inst == NULL) || (PyList_Append (plist, inst) < 0))
- {
- Py_XDECREF (inst);
- Py_DECREF (plist);
- return NULL;
- }
- }
-
- return plist;
-%End
-
-%ConvertToTypeCode
- // Convert a Python list to List on the heap.
-
- if (sipIsErr == NULL)
- return PyList_Check(sipPy);
-
- KServiceGroup::List *cList = new KServiceGroup::List;
-
- PyObject *elem;
- KSycocaEntry *service;
- int iserr = 0;
-
- for (int i = 0; i < PyList_Size (sipPy); i++)
- {
- elem = PyList_GET_ITEM (sipPy, i);
- service = (KSycocaEntry *)sipForceConvertToType(elem, sipType_KSycocaEntry, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- delete cList;
- return 0;
- }
-
- KServiceGroup::SPtr *ptr = new KServiceGroup::SPtr (service);
- cList->append (*ptr);
- }
-
- *sipCppPtr = cList;
-
- return 1;
-%End
-};
-%End
-
-
diff --git a/sip/kio/kservicetype.sip b/sip/kio/kservicetype.sip
deleted file mode 100644
index cfd6a41..0000000
--- a/sip/kio/kservicetype.sip
+++ /dev/null
@@ -1,293 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KServiceType : KSycocaEntry
-{
-%TypeHeaderCode
-#include <kservicetype.h>
-%End
-
-
-public:
- typedef TQValueList<KServiceType::Ptr> List;
-
-public:
- KServiceType (const TQString&, const TQString&, const TQString&, const TQString&);
- KServiceType (const TQString&);
- KServiceType (KDesktopFile*);
- KServiceType (TQDataStream&, int);
- TQString icon () const;
- TQString comment () const;
- TQString name () const;
- TQString desktopEntryPath () const;
- bool isDerived () const;
- TQString parentServiceType () const;
-
-%If ( KDE_3_1_0 - )
- bool inherits (const TQString&) const;
-%End
-
- virtual TQVariant property (const TQString&) const;
- virtual TQStringList propertyNames () const;
- bool isValid () const;
- virtual TQVariant::Type propertyDef (const TQString&) const;
- virtual TQStringList propertyDefNames () const;
- virtual const TQMap<TQString,TQVariant::Type>& propertyDefs () const;
- virtual void save (TQDataStream&);
- virtual void load (TQDataStream&);
-
-%If ( KDE_3_2_0 - )
- KServiceType::Ptr parentType ();
- void addService (KService::Ptr);
- KService::List services ();
-%End
-
- static KServiceType::Ptr serviceType (const TQString&);
- static KService::List offers (const TQString&);
- static KServiceType::List allServiceTypes ();
-
-protected:
- void init (KDesktopFile*);
-
-protected:
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KServiceType
-
-
-
-%MappedType KServiceType::Ptr
-//converts KServiceType
-{
-%TypeHeaderCode
-#include <ksharedptr.h>
-#include <kservicetype.h>
-%End
-
-%ConvertFromTypeCode
- // Convert to a Python instance
-
- if (!sipCpp)
- return NULL;
-
- KServiceType::Ptr *cPtr = new KServiceType::Ptr (*(KServiceType::Ptr *)sipCpp);
- KServiceType *cpp = cPtr->data ();
- PyObject *obj = sipConvertFromInstance (cpp, sipClass_KServiceType, sipTransferObj);
-
- return obj;
-%End
-
-%ConvertToTypeCode
- // Convert a Python instance to a Ptr on the heap.
-
- if (sipIsErr == NULL)
- return sipCanConvertToType(sipPy, sipType_KServiceType, SIP_NO_CONVERTORS);
-
- int iserr = 0;
- KServiceType *cpp = (KServiceType *)sipConvertToType(sipPy, sipType_KServiceType, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- return 0;
- }
-
- *sipCppPtr = new KServiceType::Ptr (cpp);
-
- return 1;
-%End
-};
-
-
-%MappedType TQMap<TQString,TQVariant::Type>
-//converts a Python dict of TQString:TQVariant
-{
-%TypeHeaderCode
-#include <tqmap.h>
-#include <tqvariant.h>
-%End
-
-%ConvertFromTypeCode
- // Convert to a Python dict
-
- if (!sipCpp)
- return PyDict_New();
-
- PyObject *dict;
-
- // Create the dictionary.
-
- if ((dict = PyDict_New()) == NULL)
- return NULL;
-
- // Get it.
-
- const TQMap<TQString,TQVariant::Type> cppmap = *sipCpp;
- TQMap<TQString,TQVariant::Type>::ConstIterator it;
-
- for (it = cppmap.begin (); it != cppmap.end (); ++it)
- {
- TQString acpp = it.key ();
- int bcpp = (int) it.data ();
- PyObject *ainst;
- PyObject *binst = PyInt_FromLong (bcpp);
- if (((ainst = sipConvertFromNewType(new TQString (acpp), sipType_TQString, sipTransferObj)) == NULL)
- || (PyDict_SetItem (dict, ainst, binst) < 0))
- {
- Py_XDECREF (ainst);
- Py_XDECREF (binst);
- Py_DECREF (dict);
- return NULL;
- }
- }
-
- return dict;
-%End
-
-
-%ConvertToTypeCode
- // Convert a Python dictionary to a TQMap on the heap.
-
- if (sipIsErr == NULL)
- return PyDict_Check(sipPy);
-
- TQMap<TQString,TQVariant::Type> *cppmap = new TQMap<TQString,TQVariant::Type>;
-
- PyObject *aelem, *belem;
- SIP_SSIZE_T pos = 0;
- TQString *acpp;
- TQVariant::Type bcpp;
-
- while (PyDict_Next(sipPy, &pos, &aelem, &belem))
- {
- int iserr = 0, acpp_state;
-
- acpp = (TQString *)sipForceConvertToType(aelem, sipType_TQString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr);
-
- if (iserr || !PyInt_Check(belem))
- {
- if (acpp_state)
- sipReleaseType(acpp, sipType_TQString, acpp_state);
-
- *sipIsErr = 1;
- delete cppmap;
- return 0;
- }
-
- bcpp = (TQVariant::Type) PyInt_AS_LONG(belem);
-
- cppmap->insert (*acpp, bcpp);
-
- sipReleaseType(acpp, sipType_TQString, acpp_state);
- }
-
- *sipCppPtr = cppmap;
-
- return 1;
-%End
-};
-
-
-%MappedType TQValueList<KServiceType::Ptr>
-//converts a Python list of KServiceType
-{
-%TypeHeaderCode
-#include <kservicetype.h>
-%End
-
-%ConvertFromTypeCode
- // Convert to a Python list of Ptr (KServiceType).
-
- if (!sipCpp)
- return PyList_New (0);
-
- PyObject *plist;
-
- // Create the list
- if ((plist = PyList_New(0)) == NULL)
- return NULL;
-
- // Get it.
- TQValueList<KServiceType::Ptr> *cList = (TQValueList<KServiceType::Ptr> *)sipCpp;
- PyObject *inst;
- TDESharedPtr <KServiceType> *svc;
-
- TQValueList<KServiceType::Ptr>::Iterator it;
- for( it = cList->begin(); it != cList->end(); ++it )
- {
- TDESharedPtr <KServiceType> svcptr = static_cast<KServiceType::Ptr>(*it);
- svc = &svcptr;
- inst = sipConvertFromType(svc, sipType_KServiceType_Ptr, sipTransferObj);
-
- if ((inst == NULL) || (PyList_Append (plist, inst) < 0))
- {
- Py_XDECREF (inst);
- Py_DECREF (plist);
- return NULL;
- }
- }
-
- return plist;
-%End
-
-%ConvertToTypeCode
- // Convert a Python list to List on the heap.
-
- if (sipIsErr == NULL)
- return PyList_Check(sipPy);
-
- TQValueList<KServiceType::Ptr> *cList = new TQValueList<KServiceType::Ptr>;
-
- PyObject *elem;
- KServiceType *service;
- int iserr = 0;
-
- for (int i = 0; i < PyList_Size (sipPy); i++)
- {
- elem = PyList_GET_ITEM (sipPy, i);
- service = (KServiceType *)sipForceConvertToType(elem, sipType_KServiceType, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- delete cList;
- return 0;
- }
-
- KServiceType::Ptr ptr(service);
-
- cList->append (ptr);
- }
-
- *sipCppPtr = cList;
-
- return 1;
-%End
-};
-
-
diff --git a/sip/kio/kshellcompletion.sip b/sip/kio/kshellcompletion.sip
deleted file mode 100644
index 2d840b0..0000000
--- a/sip/kio/kshellcompletion.sip
+++ /dev/null
@@ -1,47 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KShellCompletion : KURLCompletion
-{
-%TypeHeaderCode
-#include <kshellcompletion.h>
-%End
-
-
-public:
- KShellCompletion ();
- TQString makeCompletion (const TQString&);
-
-protected:
- void postProcessMatch (TQString*);
- void postProcessMatches (TQStringList*);
-//ig void postProcessMatches (TDECompletionMatches*) const;
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KShellCompletion
-
diff --git a/sip/kio/kshred.sip b/sip/kio/kshred.sip
deleted file mode 100644
index 33a1b35..0000000
--- a/sip/kio/kshred.sip
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KShred : TQObject
-{
-%TypeHeaderCode
-#include <kshred.h>
-%End
-
-
-public:
- KShred (TQString);
- bool fill1s ();
- bool fill0s ();
- bool fillbyte (uint);
- bool fillrandom ();
- bool fillpattern (uchar*, uint);
- bool shred ();
- static bool shred (TQString);
-
-signals:
- void processedSize (TDEIO::filesize_t);
- void infoMessage (const TQString&);
-
-}; // class KShred
-
diff --git a/sip/kio/ktar.sip b/sip/kio/ktar.sip
deleted file mode 100644
index 4d8adf8..0000000
--- a/sip/kio/ktar.sip
+++ /dev/null
@@ -1,73 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KTar : KArchive
-{
-%TypeHeaderCode
-#include <ktar.h>
-%End
-
-
-public:
- KTar (const TQString&, const TQString& = TQString ::null );
- KTar (TQIODevice*);
- TQString fileName ();
- void setOrigFileName (const TQCString&);
-
-%If ( KDE_3_2_0 - )
- bool writeSymLink (const TQString&, const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
-%End
-
- virtual bool writeDir (const TQString&, const TQString&, const TQString&);
-
-%If ( KDE_3_2_0 - )
- bool writeDir (const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
-%End
-
- virtual bool prepareWriting (const TQString&, const TQString&, const TQString&, uint);
-
-%If ( KDE_3_2_0 - )
- bool prepareWriting (const TQString&, const TQString&, const TQString&, uint, mode_t, time_t, time_t, time_t);
-%End
-
- virtual bool doneWriting (uint);
-
-protected:
- virtual bool openArchive (int);
- virtual bool closeArchive ();
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-%If ( KDE_3_2_0 - )
- bool prepareWriting_impl (const TQString&, const TQString&, const TQString&, uint, mode_t, time_t, time_t, time_t);
- bool writeDir_impl (const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
- bool writeSymLink_impl (const TQString&, const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
-%End
-
-
-}; // class KTar
-
diff --git a/sip/kio/ktrader.sip b/sip/kio/ktrader.sip
deleted file mode 100644
index 4a019cf..0000000
--- a/sip/kio/ktrader.sip
+++ /dev/null
@@ -1,124 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class TDETrader : TQObject
-{
-%TypeHeaderCode
-#include <ktrader.h>
-%End
-
-
-public:
-//ig typedef TQValueList<KService::Ptr> OfferList;
-
-%If ( KDE_3_1_0 - )
-//ig typedef TQValueListIterator<KService::Ptr> OfferListIterator;
-%End
-
- virtual TDETrader::OfferList query (const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null ) const;
- TDETrader::OfferList query (const TQString&, const TQString&, const TQString&, const TQString&) const;
- static TDETrader* self ();
-
-protected:
- TDETrader ();
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class TDETrader
-
-
-
-%MappedType TDETrader::OfferList
-//converts a Python list of KService
-{
-%TypeHeaderCode
-#include <tqvaluelist.h>
-#include <ktrader.h>
-%End
-
-%ConvertFromTypeCode
- if (!sipCpp)
- return PyList_New(0);
-
- // Create the list
- PyObject *pylist;
- if ((pylist = PyList_New(0)) == NULL)
- return NULL;
-
- TQValueList<KService::Ptr> *cpplist = (TQValueList<KService::Ptr> *)sipCpp;
- PyObject *inst;
-
- // Get it.
- TQValueList<KService::Ptr>::Iterator it;
- for( it = cpplist->begin(); it != cpplist->end(); ++it )
- {
- KService::Ptr cpp = *it;
- inst = sipConvertFromType(&cpp, sipType_KService_Ptr, sipTransferObj);
-
- if (PyList_Append (pylist, inst) < 0)
- {
- Py_DECREF (pylist);
- return NULL;
- }
- }
-
- return pylist;
-%End
-
-
-%ConvertToTypeCode
- if (sipIsErr == NULL)
- return PyList_Check(sipPy);
-
- TQValueList<KService::Ptr> *cpplist = new TQValueList<KService::Ptr>;
-
- PyObject *elem;
- KService::Ptr *cpp;
- int iserr = 0;
-
- for (int i = 0; i < PyList_Size (sipPy); i++)
- {
- elem = PyList_GET_ITEM (sipPy, i);
- cpp = (KService::Ptr *)sipForceConvertToType(elem, sipType_KService_Ptr, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- delete cpplist;
- return 0;
- }
-
- cpplist->append (*cpp);
- }
-
- *sipCppPtr = cpplist;
-
- return 1;
-%End
-};
-
-
diff --git a/sip/kio/kurifilter.sip b/sip/kio/kurifilter.sip
deleted file mode 100644
index 125ab82..0000000
--- a/sip/kio/kurifilter.sip
+++ /dev/null
@@ -1,147 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KURIFilterData
-{
-%TypeHeaderCode
-#include <tqstringlist.h>
-#include <kurifilter.h>
-%End
-
-
-public:
-
- enum URITypes
- {
- NET_PROTOCOL,
- LOCAL_FILE,
- LOCAL_DIR,
- EXECUTABLE,
- HELP,
- SHELL,
- BLOCKED,
- ERROR,
- UNKNOWN
- };
-
- KURIFilterData ();
- KURIFilterData (const KURL&);
- KURIFilterData (const TQString&);
- KURIFilterData (const KURIFilterData&);
- bool hasBeenFiltered () const;
- KURL uri () const;
- TQString errorMsg () const;
- URITypes uriType () const;
- void setData (const TQString&);
- void setData (const KURL&);
- bool setAbsolutePath (const TQString&);
- TQString absolutePath () const;
- bool hasAbsolutePath () const;
- TQString argsAndOptions () const;
- bool hasArgsAndOptions () const;
- TQString iconName ();
-
-%If ( KDE_3_2_0 - )
- void setCheckForExecutables (bool);
- bool checkForExecutables () const;
- TQString typedString () const;
-%End
-
-
-protected:
- void init (const KURL&);
- void init (const KURL& = KURL (TQString ::null )) [void (TQString&)];
-%MethodCode
-//takes url | (KURL = KURL(TQString.null))
-
- Py_BEGIN_ALLOW_THREADS
- if (a0 == 0)
- sipCpp -> sipProtect_init(TQString::null);
- else
- sipCpp -> sipProtect_init(*a0);
- Py_END_ALLOW_THREADS
-%End
-
-
-}; // class KURIFilterData
-
-
-class KURIFilterPlugin : TQObject
-{
-%TypeHeaderCode
-#include <tqstringlist.h>
-#include <kurifilter.h>
-%End
-
-
-public:
- KURIFilterPlugin (TQObject* = 0, const char* = 0, double = 1.0);
- virtual TQString name () const;
- virtual double priority () const;
- virtual bool filterURI (KURIFilterData&) const = 0;
- virtual TDECModule* configModule (TQWidget*, const char*) const;
- virtual TQString configName () const;
-
-protected:
- void setFilteredURI (KURIFilterData&, const KURL&) const;
- void setErrorMsg (KURIFilterData&, const TQString&) const;
- void setURIType (KURIFilterData&, KURIFilterData::URITypes) const;
- void setArguments (KURIFilterData&, const TQString&) const;
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KURIFilterPlugin
-
-
-class KURIFilter
-{
-%TypeHeaderCode
-#include <tqstringlist.h>
-#include <kurifilter.h>
-%End
-
-
-public:
- static KURIFilter* self ();
- bool filterURI (KURIFilterData&, const TQStringList& = TQStringList ());
- bool filterURI (KURL&, const TQStringList& = TQStringList ());
- bool filterURI (TQString&, const TQStringList& = TQStringList ());
- KURL filteredURI (const KURL&, const TQStringList& = TQStringList ());
- TQString filteredURI (const TQString&, const TQStringList& = TQStringList ());
-//ig TQPtrListIterator<KURIFilterPlugin> pluginsIterator () const;
-
-%If ( KDE_3_1_0 - )
- TQStringList pluginNames () const;
-%End
-
-
-protected:
- KURIFilter ();
- void loadPlugins ();
-
-}; // class KURIFilter
-
diff --git a/sip/kio/kurlcompletion.sip b/sip/kio/kurlcompletion.sip
deleted file mode 100644
index 9c4de72..0000000
--- a/sip/kio/kurlcompletion.sip
+++ /dev/null
@@ -1,81 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KURLCompletion : TDECompletion
-{
-%TypeHeaderCode
-#include <kurlcompletion.h>
-%End
-
-
-public:
-
- enum Mode
- {
- ExeCompletion,
- FileCompletion,
- DirCompletion
- };
-
- KURLCompletion ();
- KURLCompletion (KURLCompletion::Mode);
- virtual TQString makeCompletion (const TQString&);
- virtual void setDir (const TQString&);
- virtual TQString dir ();
- virtual bool isRunning ();
- virtual void stop ();
- virtual Mode mode ();
- virtual void setMode (KURLCompletion::Mode);
- virtual bool replaceEnv ();
- virtual void setReplaceEnv (bool);
- virtual bool replaceHome ();
- virtual void setReplaceHome (bool);
- TQString replacedPath (const TQString&);
-
-%If ( KDE_3_2_0 - )
- static TQString replacedPath (const TQString&, bool, bool = 1);
-%End
-
-
-protected:
- void postProcessMatch (TQString*);
- void postProcessMatches (TQStringList*);
-//ig void postProcessMatches (TDECompletionMatches*) const;
-
-%If ( KDE_3_3_0 - )
- virtual void customEvent (TQCustomEvent*);
-%End
-
-
-protected slots:
- void slotEntries (TDEIO::Job*, const TDEIO::UDSEntryList&);
- void slotIOFinished (TDEIO::Job*);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KURLCompletion
-
diff --git a/sip/kio/kurlpixmapprovider.sip b/sip/kio/kurlpixmapprovider.sip
deleted file mode 100644
index 0917f5d..0000000
--- a/sip/kio/kurlpixmapprovider.sip
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KURLPixmapProvider : KPixmapProvider
-{
-%TypeHeaderCode
-#include <kurlpixmapprovider.h>
-%End
-
-
-public:
- virtual TQPixmap pixmapFor (const TQString&, int = 0);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KURLPixmapProvider
-
diff --git a/sip/kio/kuserprofile.sip b/sip/kio/kuserprofile.sip
deleted file mode 100644
index c2cc47a..0000000
--- a/sip/kio/kuserprofile.sip
+++ /dev/null
@@ -1,222 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KServiceOffer
-{
-%TypeHeaderCode
-#include <kuserprofile.h>
-%End
-
-
-public:
- KServiceOffer ();
- KServiceOffer (const KServiceOffer&);
- KServiceOffer (KService::Ptr, int, bool);
-
-%If ( KDE_3_1_4 - )
- bool operator < (const KServiceOffer&) const;
-%End
-
- bool allowAsDefault () const;
- int preference () const;
- KService::Ptr service () const;
- bool isValid () const;
-
-}; // class KServiceOffer
-
-
-class KServiceTypeProfile
-{
-%TypeHeaderCode
-#include <kuserprofile.h>
-%End
-
-
-public:
- typedef TQValueList<KServiceOffer> OfferList;
- int preference (const TQString&) const;
- bool allowAsDefault (const TQString&) const;
- KServiceTypeProfile::OfferList offers () const;
- static KService::Ptr preferredService (const TQString&, const TQString&);
- static KServiceTypeProfile* serviceTypeProfile (const TQString&, const TQString&);
- static KServiceTypeProfile::OfferList offers (const TQString&, const TQString&);
- static const TQPtrList<KServiceTypeProfile>& serviceTypeProfiles ();
- static void clear ();
- static void setConfigurationMode ();
- static bool configurationMode ();
-
-protected:
- KServiceTypeProfile (const TQString&, const TQString& = TQString ::null );
- void addService (const TQString&, int = 1, bool = 1);
-
-}; // class KServiceTypeProfile
-
-
-
-%MappedType KServiceTypeProfile::OfferList
-//converts a Python list of KServiceOffer
-{
-%TypeHeaderCode
-#include <tqvaluelist.h>
-#include <kservicetype.h>
-#include <kuserprofile.h>
-%End
-
-%ConvertFromTypeCode
- if (!sipCpp)
- return PyList_New(0);
-
- // Create the list
- PyObject *pylist;
- if ((pylist = PyList_New(0)) == NULL)
- return NULL;
-
- TQValueList<KServiceOffer> *cpplist = (TQValueList<KServiceOffer> *)sipCpp;
- PyObject *inst;
-
- // Get it.
- TQValueList<KServiceOffer>::Iterator it;
- for( it = cpplist->begin(); it != cpplist->end(); ++it )
- {
- if (((inst = sipConvertFromNewType(new KServiceOffer(*it), sipType_KServiceOffer, NULL)) == NULL)
- || PyList_Append (pylist, inst) < 0)
- {
- Py_DECREF (pylist);
- return NULL;
- }
- }
-
- return pylist;
-%End
-
-%ConvertToTypeCode
- if (sipIsErr == NULL)
- return PyList_Check(sipPy);
-
- TQValueList<KServiceOffer> *cpplist = new TQValueList<KServiceOffer>;
-
- PyObject *elem;
- KServiceOffer *cpp;
- int iserr = 0;
-
- for (int i = 0; i < PyList_Size (sipPy); i++)
- {
- elem = PyList_GET_ITEM (sipPy, i);
- cpp = (KServiceOffer *)sipForceConvertToType(elem, sipType_KServiceOffer, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- delete cpplist;
- return 0;
- }
-
- cpplist->append (*cpp);
- }
-
- *sipCppPtr = cpplist;
-
- return 1;
-%End
-};
-
-
-%MappedType TQPtrList<KServiceTypeProfile>
-//converts a Python list of KServiceTypeProfile
-{
-%TypeHeaderCode
-#include <tqptrlist.h>
-#include <kservicetype.h>
-//typedef TQPtrList<KServiceTypeProfile> SvcTypeProfileList;
-%End
-
-%ConvertFromTypeCode
- // Convert to a Python list of KServiceTypeProfile
-
- if (!sipCpp)
- return PyList_New (0);
-
- PyObject *plist;
-
- // Create the list
-
- if ((plist = PyList_New(0)) == NULL)
- return NULL;
-
- // Get it.
-
- TQPtrList<KServiceTypeProfile> *cList = (TQPtrList<KServiceTypeProfile> *)sipCpp;
- PyObject *inst;
- KServiceTypeProfile *svc;
-
- for( svc = cList->first (); svc; svc = cList->next ())
- {
- inst = sipConvertFromInstance (svc, sipClass_KServiceTypeProfile, sipTransferObj);
- if ((inst == NULL) || (PyList_Append (plist, inst) < 0))
- {
- Py_XDECREF (inst);
- Py_DECREF (plist);
- return NULL;
- }
- }
-
- return plist;
-%End
-
-%ConvertToTypeCode
- // Convert a Python list to SvcTypeProfileList on the heap.
-
- if (sipIsErr == NULL)
- return PyList_Check(sipPy);
-
- TQPtrList<KServiceTypeProfile> *cList = new TQPtrList<KServiceTypeProfile>;
-
- PyObject *elem;
- KServiceTypeProfile *service;
- int iserr = 0;
-
- for (int i = 0; i < PyList_Size (sipPy); i++)
- {
- elem = PyList_GET_ITEM (sipPy, i);
- service = (KServiceTypeProfile *)sipForceConvertToType(elem, sipType_KServiceTypeProfile, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- delete cList;
- return 0;
- }
-
- cList->append (service);
- }
-
- *sipCppPtr = cList;
-
- return 1;
-%End
-};
-
-
diff --git a/sip/kio/kzip.sip b/sip/kio/kzip.sip
deleted file mode 100644
index 8d281e7..0000000
--- a/sip/kio/kzip.sip
+++ /dev/null
@@ -1,120 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-%If ( KDE_3_1_0 - )
-
-class KZip : KArchive
-{
-%TypeHeaderCode
-#include <kzip.h>
-%End
-
-
-public:
- KZip (const TQString&);
- KZip (TQIODevice*);
- TQString fileName ();
-
-%If ( KDE_3_2_0 - )
-
- enum ExtraField
- {
- NoExtraField,
- ModificationTime,
- DefaultExtraField
- };
-
- void setExtraField (KZip::ExtraField);
- KZip::ExtraField extraField () const;
-%End
-
-
- enum Compression
- {
- NoCompression,
- DeflateCompression
- };
-
- void setCompression (KZip::Compression);
- KZip::Compression compression () const;
- virtual bool writeFile (const TQString&, const TQString&, const TQString&, uint, const char*);
- virtual bool prepareWriting (const TQString&, const TQString&, const TQString&, uint);
-
-%If ( KDE_3_2_0 - )
- bool writeSymLink (const TQString&, const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
- bool prepareWriting (const TQString&, const TQString&, const TQString&, uint, mode_t, time_t, time_t, time_t);
- bool writeFile (const TQString&, const TQString&, const TQString&, uint, mode_t, time_t, time_t, time_t, const char*);
-%End
-
- bool writeData (const char*, uint);
- virtual bool doneWriting (uint);
-
-protected:
- virtual bool openArchive (int);
- virtual bool closeArchive ();
- virtual bool writeDir (const TQString&, const TQString&, const TQString&);
-
-protected:
- virtual void virtual_hook (int, void*);
-
-%If ( KDE_3_2_0 - )
- bool writeData_impl (const char*, uint);
- bool prepareWriting_impl (const TQString&, const TQString&, const TQString&, uint, mode_t, time_t, time_t, time_t);
- bool writeSymLink_impl (const TQString&, const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
-%End
-
-
-}; // class KZip
-
-%End
-
-
-%If ( KDE_3_1_0 - )
-
-class KZipFileEntry : KArchiveFile
-{
-%TypeHeaderCode
-#include <kzip.h>
-%End
-
-
-public:
- KZipFileEntry (KZip*, const TQString&, int, int, const TQString&, const TQString&, const TQString&, const TQString&, TQ_LONG, TQ_LONG, int, TQ_LONG);
- int encoding () const;
- TQ_LONG compressedSize () const;
- void setCompressedSize (TQ_LONG);
- void setHeaderStart (TQ_LONG);
- TQ_LONG headerStart () const;
- ulong crc32 () const;
- void setCRC32 (ulong);
- TQString path () const;
- virtual TQByteArray data () const;
- TQIODevice* device () const;
-
-}; // class KZipFileEntry
-
-%End
-
diff --git a/sip/kio/metainfojob.sip b/sip/kio/metainfojob.sip
deleted file mode 100644
index a20eb05..0000000
--- a/sip/kio/metainfojob.sip
+++ /dev/null
@@ -1,63 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-%If ( KDE_3_1_0 - )
-namespace TDEIO
-{
-
-class MetaInfoJob : TDEIO::Job
-{
-%TypeHeaderCode
-#include <tdefileitem.h>
-#include <jobclasses.h>
-#include <metainfojob.h>
-%End
-
-
-public:
- MetaInfoJob (const KFileItemList&, bool = 0);
- void removeItem (const KFileItem*);
- static TQStringList availablePlugins ();
- static TQStringList supportedMimeTypes ();
-
-signals:
- void gotMetaInfo (const KFileItem*);
- void failed (const KFileItem*);
-
-protected:
- void getMetaInfo ();
-
-protected slots:
- virtual void slotResult (TDEIO::Job*);
-
-}; // class MetaInfoJob
-
-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
deleted file mode 100644
index 840c621..0000000
--- a/sip/kio/netaccess.sip
+++ /dev/null
@@ -1,128 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-namespace TDEIO
-{
-
-class NetAccess : TQObject
-{
-%TypeHeaderCode
-#include <netaccess.h>
-%End
-
-
-public:
-
-%If ( KDE_3_2_0 - )
- static bool download (const KURL&, TQString&, TQWidget*);
-%End
-
- static bool download (const KURL&, TQString&);
- static void removeTempFile (const TQString&);
-
-%If ( KDE_3_2_0 - )
- static bool upload (const TQString&, const KURL&, TQWidget*);
-%End
-
- static bool upload (const TQString&, const KURL&);
-
-%If ( KDE_3_2_0 - )
- static bool copy (const KURL&, const KURL&, TQWidget*);
-%End
-
- static bool copy (const KURL&, const KURL&);
-
-%If ( KDE_3_2_0 - )
- static bool file_copy (const KURL&, const KURL&, int = -1, bool = 0, bool = 0, TQWidget* = 0);
- static bool file_move (const KURL&, const KURL&, int = -1, bool = 0, bool = 0, TQWidget* = 0);
- static bool dircopy (const KURL&, const KURL&, TQWidget*);
-%End
-
- static bool dircopy (const KURL&, const KURL&);
-
-%If ( KDE_3_2_0 - )
- static bool dircopy (const KURL::List&, const KURL&, TQWidget* = 0);
- static bool move (const KURL&, const KURL&, TQWidget* = 0);
- static bool move (const KURL::List&, const KURL&, TQWidget* = 0);
- static bool exists (const KURL&, bool, TQWidget*);
- static bool exists (const KURL&, TQWidget*);
-%End
-
- static bool exists (const KURL&);
-
-%If ( KDE_3_1_0 - )
- static bool exists (const KURL&, bool);
-
-%If ( KDE_3_2_0 - )
- static bool stat (const KURL&, TDEIO::UDSEntry&, TQWidget*);
-%End
-
-%End
-
- static bool stat (const KURL&, TDEIO::UDSEntry&);
-
-%If ( KDE_3_5_0 - )
- static KURL mostLocalURL (const KURL&, TQWidget*);
-%End
-
-
-%If ( KDE_3_2_0 - )
- static bool del (const KURL&, TQWidget*);
-%End
-
- static bool del (const KURL&) /PyName=del_/;
-
-%If ( KDE_3_2_0 - )
- static bool mkdir (const KURL&, TQWidget*, int = -1);
-%End
-
- static bool mkdir (const KURL&, int = -1);
-
-%If ( KDE_3_2_0 - )
- static TQString fish_execute (const KURL&, const TQString, TQWidget*);
-
-%If ( KDE_3_3_1 - )
- static bool synchronousRun (TDEIO::Job*, TQWidget*, TQByteArray* = 0, KURL* = 0, TQMap<TQString,TQString>* = 0);
-%End
-
- static TQString mimetype (const KURL&, TQWidget*);
-%End
-
-//ig static TQString mimetype (const KURL&);
- static TQString lastErrorString ();
-
-%If ( KDE_3_3_0 - )
- static int lastError ();
-%End
-
-
-private:
- NetAccess ();
- ~NetAccess ();
-
-}; // class NetAccess
-
-}; // namespace TDEIO
-
diff --git a/sip/kio/observer.sip b/sip/kio/observer.sip
deleted file mode 100644
index 36aeae5..0000000
--- a/sip/kio/observer.sip
+++ /dev/null
@@ -1,96 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class Observer : TQObject, DCOPObject
-{
-%TypeHeaderCode
-#include <observer.h>
-%End
-
-
-public:
-
-%If ( KDE_3_1_4 - )
- virtual bool process (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&);
- QCStringList functions ();
- QCStringList interfaces ();
-%End
-
-
-public:
- static Observer* self ();
- int newJob (TDEIO::Job*, bool);
- void jobFinished (int);
- bool openPassDlg (const TQString&, TQString&, TQString&, bool);
- 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
-
- 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);
- TDEIO::MetaData metadata (int);
-
-protected:
- Observer ();
- ~Observer ();
-
-public slots:
- 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 (TDEIO::Job*, const KURL&);
-%End
-
- void slotCreatingDir (TDEIO::Job*, const KURL&);
- void slotCanResume (TDEIO::Job*, TDEIO::filesize_t);
-
-public:
- 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*);
-
-}; // class Observer
-
diff --git a/sip/kio/passdlg.sip b/sip/kio/passdlg.sip
deleted file mode 100644
index d7a4844..0000000
--- a/sip/kio/passdlg.sip
+++ /dev/null
@@ -1,68 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-namespace TDEIO
-{
-
-class PasswordDialog : KDialogBase
-{
-%TypeHeaderCode
-#include <passdlg.h>
-%End
-
-
-public:
- PasswordDialog (const TQString&, const TQString&, bool = 0, bool = 1, TQWidget* /TransferThis/ = 0, const char* = 0);
- void setPrompt (const TQString&);
- void addCommentLine (const TQString&, const TQString);
- TQString password () const;
- TQString username () const;
- bool keepPassword () const;
-
-%If ( KDE_3_2_0 - )
- void setKeepPassword (bool);
-%End
-
- void setUserReadOnly (bool);
- void setEnableUserField (bool, bool = 0);
-
-%If ( KDE_3_1_0 - )
- void setPassword (const TQString&);
-
-%If ( KDE_3_4_0 - )
- void setKnownLogins (const TQMap<TQString,TQString>&);
-%End
-
-%End
-
- static int getNameAndPassword (TQString& /Out/, TQString& /Out/, bool* /In, Out/, const TQString& = TQString ::null , bool = 0, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null );
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class PasswordDialog
-
-}; // namespace TDEIO
-
diff --git a/sip/kio/paste.sip b/sip/kio/paste.sip
deleted file mode 100644
index d39282c..0000000
--- a/sip/kio/paste.sip
+++ /dev/null
@@ -1,56 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-%ModuleHeaderCode
-#include <paste.h>
-%End
-
-namespace TDEIO
-{
-TDEIO::Job* pasteClipboard (const KURL&, bool = 0);
-void pasteData (const KURL&, const TQByteArray&);
-
-%If ( KDE_3_2_0 - )
-TDEIO::CopyJob* pasteDataAsync (const KURL&, const TQByteArray&);
-
-%If ( KDE_3_3_0 - )
-TDEIO::CopyJob* pasteDataAsync (const KURL&, const TQByteArray&, const TQString&);
-
-%If ( KDE_3_5_0 - )
-TDEIO::CopyJob* pasteMimeSource (TQMimeSource*, const KURL&, const TQString&, TQWidget*, bool = 0);
-%End
-
-%End
-
-%End
-
-bool isClipboardEmpty ();
-
-%If ( KDE_3_5_0 - )
-TQString pasteActionText ();
-%End
-
-}; // namespace TDEIO
-
diff --git a/sip/kio/previewjob.sip b/sip/kio/previewjob.sip
deleted file mode 100644
index c4e2011..0000000
--- a/sip/kio/previewjob.sip
+++ /dev/null
@@ -1,72 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-namespace TDEIO
-{
-
-class PreviewJob : TDEIO::Job
-{
-%TypeHeaderCode
-#include <previewjob.h>
-%End
-
-
-public:
- PreviewJob (const KFileItemList&, int, int, int, int, bool, bool, const TQStringList*, bool = 0);
- void removeItem (const KFileItem*);
-
-%If ( KDE_3_4_0 - )
- void setIgnoreMaximumSize (bool = 1);
-%End
-
- static TQStringList availablePlugins ();
- static TQStringList supportedMimeTypes ();
-
-%If ( KDE_3_5_1 - )
- virtual void kill (bool = 1);
-%End
-
-
-signals:
- void gotPreview (const KFileItem*, const TQPixmap&);
- void failed (const KFileItem*);
-
-protected:
- void getOrCreateThumbnail ();
- bool statResultThumbnail ();
- void createThumbnail (TQString);
-
-protected slots:
- virtual void slotResult (TDEIO::Job*);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class PreviewJob
-
-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
deleted file mode 100644
index 5392383..0000000
--- a/sip/kio/progressbase.sip
+++ /dev/null
@@ -1,95 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-%ModuleHeaderCode
-#include <progressbase.h>
-%End
-
-namespace TDEIO
-{
-
-enum Progress
-{
- DEFAULT,
- STATUSBAR,
- LIST
-};
-
-
-class ProgressBase : TQWidget
-{
-%TypeHeaderCode
-#include <progressbase.h>
-%End
-
-
-public:
- ProgressBase (TQWidget* /TransferThis/);
- void setJob (TDEIO::Job*);
- void setJob (TDEIO::CopyJob*);
- void setJob (TDEIO::DeleteJob*);
- void setStopOnClose (bool);
- bool stopOnClose () const;
- void setOnlyClean (bool);
- bool onlyClean () const;
-
-%If ( KDE_3_1_0 - )
- void finished ();
-%End
-
-
-public slots:
- void slotStop ();
- virtual void slotClean ();
- 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 (TDEIO::Job*);
-
-protected:
- virtual void closeEvent (TQCloseEvent*);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class ProgressBase
-
-}; // namespace TDEIO
-
diff --git a/sip/kio/renamedlg.sip b/sip/kio/renamedlg.sip
deleted file mode 100644
index a4a4f51..0000000
--- a/sip/kio/renamedlg.sip
+++ /dev/null
@@ -1,67 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-%ModuleHeaderCode
-#include <renamedlg.h>
-%End
-
-namespace TDEIO
-{
-
-enum RenameDlg_Mode
-{
- M_OVERWRITE,
- M_OVERWRITE_ITSELF,
- M_SKIP,
- M_SINGLE,
- M_MULTI,
- M_RESUME,
- M_NORENAME
-};
-
-
-enum RenameDlg_Result
-{
- R_RESUME,
- R_RESUME_ALL,
- R_OVERWRITE,
- R_OVERWRITE_ALL,
- R_SKIP,
- R_AUTO_SKIP,
- R_RENAME,
- R_CANCEL
-};
-
-
-//ig class RenameDlg : TQDialog;
-
-//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 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 TDEIO
-
diff --git a/sip/kio/renamedlgplugin.sip b/sip/kio/renamedlgplugin.sip
deleted file mode 100644
index 6891a08..0000000
--- a/sip/kio/renamedlgplugin.sip
+++ /dev/null
@@ -1,39 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class RenameDlgPlugin : TQWidget
-{
-%TypeHeaderCode
-#include <renamedlgplugin.h>
-%End
-
-
-public:
- RenameDlgPlugin (TQDialog*, const char*, const TQStringList& = TQStringList ());
- 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
deleted file mode 100644
index 4459906..0000000
--- a/sip/kio/scheduler.sip
+++ /dev/null
@@ -1,106 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-namespace TDEIO
-{
-
-class Scheduler : TQObject, DCOPObject
-{
-%TypeHeaderCode
-#include <scheduler.h>
-%End
-
-
-public:
-//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 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*);
-
-%If ( KDE_3_2_0 - )
- static void unregisterWindow (TQObject*);
-%End
-
-%End
-
- static bool connect (const char*, const TQObject*, const char*);
- static bool connect (const TQObject*, const char*, const TQObject*, const char*);
- static bool disconnect (const TQObject*, const char*, const TQObject*, const char*);
- bool connect (const TQObject*, const char*, const char*);
- static void checkSlaveOnHold (bool);
- void debug_info ();
- virtual bool process (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&);
- virtual QCStringList functions ();
-
-public slots:
- void slotSlaveDied (TDEIO::Slave*);
- void slotSlaveStatus (pid_t, const TQCString&, const TQString&, bool);
-
-signals:
- void slaveConnected (TDEIO::Slave*);
- void slaveError (TDEIO::Slave*, int, const TQString&);
-
-protected:
- void setupSlave (TDEIO::Slave*, const KURL&, const TQString&, const TQString&, bool, const TDEIO::MetaData* = 0);
-//ig bool startJobScheduled (TDEIO::Scheduler::ProtocolInfo*);
- bool startJobDirect ();
- Scheduler ();
-
-protected slots:
- void startStep ();
- void slotCleanIdleSlaves ();
- void slotSlaveConnected ();
- void slotSlaveError (int, const TQString&);
- void slotScheduleCoSlave ();
-
-%If ( KDE_3_1_0 - )
- void slotUnregisterWindow (TQObject*);
-%End
-
-
-private:
- Scheduler (const TDEIO::Scheduler&);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class Scheduler
-
-}; // namespace TDEIO
-
diff --git a/sip/kio/sessiondata.sip b/sip/kio/sessiondata.sip
deleted file mode 100644
index 507a2c3..0000000
--- a/sip/kio/sessiondata.sip
+++ /dev/null
@@ -1,51 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-namespace TDEIO
-{
-
-class SessionData : TQObject
-{
-%TypeHeaderCode
-#include <sessiondata.h>
-%End
-
-
-public:
- SessionData ();
- virtual void configDataFor (TDEIO::MetaData&, const TQString&, const TQString&);
- virtual void reset ();
-
-public slots:
- void slotAuthData (const TQCString&, const TQCString&, bool);
- void slotDelAuthData (const TQCString&);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class SessionData
-
-}; // namespace TDEIO
-
diff --git a/sip/kio/skipdlg.sip b/sip/kio/skipdlg.sip
deleted file mode 100644
index 75085e6..0000000
--- a/sip/kio/skipdlg.sip
+++ /dev/null
@@ -1,45 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-%ModuleHeaderCode
-#include <skipdlg.h>
-%End
-
-namespace TDEIO
-{
-
-enum SkipDlg_Result
-{
- S_SKIP,
- S_AUTO_SKIP,
- S_CANCEL
-};
-
-//ig TDEIO::SkipDlg_Result open_SkipDlg (bool, const TQString& = TQString ::null );
-
-//ig class SkipDlg : KDialog;
-
-}; // namespace TDEIO
-
diff --git a/sip/kio/slave.sip b/sip/kio/slave.sip
deleted file mode 100644
index 1acea8d..0000000
--- a/sip/kio/slave.sip
+++ /dev/null
@@ -1,95 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-namespace TDEIO
-{
-
-class Slave : TDEIO::SlaveInterface
-{
-%TypeHeaderCode
-#include <slave.h>
-%End
-
-
-protected:
-
-%If ( KDE_3_2_0 - )
- Slave (bool, TDEServerSocket*, const TQString&, const TQString&);
-%End
-
-
-public:
- 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 TDEIO::MetaData&);
- TQString protocol ();
- void setProtocol (const TQString&);
- TQString slaveProtocol ();
- TQString host ();
- int port ();
- TQString user ();
- TQString passwd ();
- 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 ();
-
-%If ( KDE_3_2_0 - )
- void send (int, const TQByteArray& = TQByteArray ());
-%End
-
- void hold (const KURL&);
- time_t idleTime ();
- void setIdle ();
- bool isConnected ();
- void setConnected (bool);
- TDEIO::Connection* connection ();
- void ref ();
- void deref ();
-
-public slots:
- void accept (TDESocket*);
- void gotInput ();
- void timeout ();
-
-signals:
- void slaveDied (TDEIO::Slave*);
-
-protected:
- void unlinkSocket ();
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class Slave
-
-}; // namespace TDEIO
-
diff --git a/sip/kio/slavebase.sip b/sip/kio/slavebase.sip
deleted file mode 100644
index 3a8bd05..0000000
--- a/sip/kio/slavebase.sip
+++ /dev/null
@@ -1,187 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-namespace TDEIO
-{
-
-class SlaveBase
-{
-%TypeHeaderCode
-#include <slavebase.h>
-%End
-
-
-public:
- SlaveBase (const TQCString&, const TQCString&, const TQCString&);
-
-%If ( KDE_3_1_0 - )
- void exit ();
-%End
-
- void dispatchLoop ();
- void setConnection (TDEIO::Connection*);
- TDEIO::Connection* connection () const;
- void data (const TQByteArray&);
- void dataReq ();
- void error (int, const TQString&);
- void connected ();
- void finished ();
- void needSubURLData ();
- void slaveStatus (const TQString&, bool);
- void statEntry (const TDEIO::UDSEntry&);
- void listEntries (const TDEIO::UDSEntryList&);
- bool canResume (TDEIO::filesize_t);
- void canResume ();
- void totalSize (TDEIO::filesize_t);
- void processedSize (TDEIO::filesize_t);
- void processedPercent (float);
- void speed (ulong);
- void redirection (const KURL&);
- void errorPage ();
- void mimeType (const TQString&);
- void warning (const TQString&);
- void infoMessage (const TQString&);
-
- enum MessageBoxType
- {
- QuestionYesNo,
- WarningYesNo,
- WarningContinueCancel,
- WarningYesNoCancel,
- Information,
- SSLMessageBox
- };
-
- 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&, 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&);
- bool hasMetaData (const TQString&);
- TQString metaData (const TQString&);
-
-%If ( KDE_3_5_2 - )
- TDEIO::MetaData allMetaData () const;
-%End
-
- TDEConfigBase* config ();
-
-%If ( KDE_3_3_0 - )
- KRemoteEncoding* remoteEncoding ();
-%End
-
- virtual void setHost (const TQString&, int, const TQString&, const TQString&);
- virtual void setSubURL (const KURL&);
- virtual void openConnection ();
- virtual void closeConnection ();
- virtual void get (const KURL&);
- virtual void put (const KURL&, int, bool, bool);
- virtual void stat (const KURL&);
- virtual void mimetype (const KURL&);
- virtual void listDir (const KURL&);
- virtual void mkdir (const KURL&, int);
- virtual void rename (const KURL&, const KURL&, bool);
- virtual void symlink (const TQString&, const KURL&, bool);
- virtual void chmod (const KURL&, int);
- virtual void copy (const KURL&, const KURL&, int, bool);
- virtual void del (const KURL&, bool) /PyName=del_/;
- virtual void special (const TQByteArray&);
- virtual void multiGet (const TQByteArray&);
- virtual void slave_status ();
- virtual void reparseConfiguration ();
- int connectTimeout ();
- int proxyConnectTimeout ();
- int responseTimeout ();
- int readTimeout ();
-
-%If ( KDE_3_1_0 - )
- void setTimeoutSpecialCommand (int, const TQByteArray& = TQByteArray ());
-%End
-
- static void sigsegv_handler (int);
- static void sigpipe_handler (int);
- virtual bool dispatch ();
- virtual void dispatch (int, const TQByteArray&);
- int readData (TQByteArray&);
-
-%If ( KDE_3_1_0 - )
- void listEntry (const TDEIO::UDSEntry&, bool);
- void connectSlave (const TQString&);
- void disconnectSlave ();
- 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);
- void delCachedAuthentication (const TQString&);
- void setMultipleAuthCaching (bool);
- bool multipleAuthCaching () const;
- bool requestNetwork (const TQString& = TQString ::null );
- void dropNetwork (const TQString& = TQString ::null );
- DCOPClient* dcopClient ();
- int waitForAnswer (int, int, TQByteArray&, int* = 0);
- void sendMetaData ();
- TQCString mProtocol;
- TDEIO::Connection* m_pConnection;
- TDEIO::MetaData mOutgoingMetaData;
- TDEIO::MetaData mIncomingMetaData;
- bool wasKilled () const;
- void setKillFlag ();
-%End
-
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-protected:
-
-%If ( - KDE_3_1_0 )
- void listEntry (const TDEIO::UDSEntry&, bool);
- void connectSlave (const TQString&);
- void disconnectSlave ();
- bool pingCacheDaemon () const;
- 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&);
- void setMultipleAuthCaching (bool);
- bool multipleAuthCaching () const;
- bool requestNetwork (const TQString& = TQString ::null );
- void dropNetwork (const TQString& = TQString ::null );
- int waitForAnswer (int, int, TQByteArray&, int* = 0);
- void sendMetaData ();
-%End
-
-
-}; // class SlaveBase
-
-}; // namespace TDEIO
-
diff --git a/sip/kio/slaveconfig.sip b/sip/kio/slaveconfig.sip
deleted file mode 100644
index c5789b7..0000000
--- a/sip/kio/slaveconfig.sip
+++ /dev/null
@@ -1,53 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-namespace TDEIO
-{
-
-class SlaveConfig : TQObject
-{
-%TypeHeaderCode
-#include <slaveconfig.h>
-%End
-
-
-public:
- static TDEIO::SlaveConfig* self ();
- void setConfigData (const TQString&, const TQString&, 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 ();
-
-signals:
- void configNeeded (const TQString&, const TQString&);
-
-protected:
- SlaveConfig ();
-
-}; // class SlaveConfig
-
-}; // namespace TDEIO
-
diff --git a/sip/kio/slaveinterface.sip b/sip/kio/slaveinterface.sip
deleted file mode 100644
index 6eca9bc..0000000
--- a/sip/kio/slaveinterface.sip
+++ /dev/null
@@ -1,188 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-%ModuleHeaderCode
-#include <slaveinterface.h>
-%End
-
-namespace TDEIO
-{
-
-enum Info
-{
- INF_TOTAL_SIZE,
- INF_PROCESSED_SIZE,
- INF_SPEED,
- INF_REDIRECTION,
- INF_MIME_TYPE,
- INF_ERROR_PAGE,
- INF_WARNING,
- INF_GETTING_FILE,
- INF_NEED_PASSWD,
- INF_INFOMESSAGE,
- INF_META_DATA,
- INF_NETWORK_STATUS,
- INF_MESSAGEBOX
-};
-
-
-%If ( KDE_3_1_2 - )
-
-enum Message
-{
- MSG_DATA,
- MSG_DATA_REQ,
- MSG_ERROR,
- MSG_CONNECTED,
- MSG_FINISHED,
- MSG_STAT_ENTRY,
- MSG_LIST_ENTRIES,
- MSG_RENAMED,
- MSG_RESUME,
- MSG_SLAVE_STATUS,
- MSG_SLAVE_ACK,
- MSG_NET_REQUEST,
- MSG_NET_DROP,
- MSG_NEED_SUBURL_DATA,
- MSG_CANRESUME,
- MSG_AUTH_KEY,
- MSG_DEL_AUTH_KEY
-};
-
-%End
-
-
-class SlaveInterface : TQObject
-{
-%TypeHeaderCode
-#include <slaveinterface.h>
-%End
-
-
-public:
- SlaveInterface (TDEIO::Connection*);
- void setConnection (TDEIO::Connection*);
- TDEIO::Connection* connection () const;
- void setProgressId (int);
- int progressId () const;
- void sendResumeAnswer (bool);
- void setOffset (TDEIO::filesize_t);
- TDEIO::filesize_t offset () const;
-
-signals:
- void data (const TQByteArray&);
- void dataReq ();
- void error (int, const TQString&);
- void connected ();
- void finished ();
- void slaveStatus (pid_t, const TQCString&, const TQString&, bool);
- void listEntries (const TDEIO::UDSEntryList&);
- void statEntry (const TDEIO::UDSEntry&);
- void needSubURLData ();
- void needProgressId ();
- 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 ();
- void mimeType (const TQString&);
- void warning (const TQString&);
- void infoMessage (const TQString&);
- void connectFinished ();
- void authorizationKey (const TQCString&, const TQCString&, bool);
- void delAuthorization (const TQCString&);
-
-protected:
- virtual bool dispatch ();
- virtual bool dispatch (int, const TQByteArray&);
- 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&);
-
-%If ( KDE_3_3_0 - )
- void messageBox (int, const TQString&, const TQString&, const TQString&, const TQString&, const TQString&);
-%End
-
- void requestNetwork (const TQString&, const TQString&);
- void dropNetwork (const TQString&, const TQString&);
- static void sigpipe_handler (int);
-
-protected slots:
- void calcSpeed ();
-
-protected:
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class SlaveInterface
-
-
-%If ( - KDE_3_2_0 )
-
-enum Command
-{
- CMD_HOST,
- CMD_CONNECT,
- CMD_DISCONNECT,
- CMD_SLAVE_STATUS,
- CMD_SLAVE_CONNECT,
- CMD_SLAVE_HOLD,
- CMD_NONE,
- CMD_TESTDIR,
- CMD_GET,
- CMD_PUT,
- CMD_STAT,
- CMD_MIMETYPE,
- CMD_LISTDIR,
- CMD_MKDIR,
- CMD_RENAME,
- CMD_COPY,
- CMD_DEL,
- CMD_CHMOD,
- CMD_SPECIAL,
- CMD_USERPASS,
- CMD_REPARSECONFIGURATION,
- CMD_META_DATA,
- CMD_SYMLINK,
- CMD_SUBURL,
- CMD_MESSAGEBOXANSWER,
- CMD_RESUMEANSWER,
- CMD_CONFIG,
- CMD_MULTI_GET
-};
-
-%End
-
-}; // namespace TDEIO
-
-
-%If ( KDE_3_1_4 - )
-//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
deleted file mode 100644
index 2e8d4f7..0000000
--- a/sip/kio/statusbarprogress.sip
+++ /dev/null
@@ -1,56 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-namespace TDEIO
-{
-
-class StatusbarProgress : TDEIO::ProgressBase
-{
-%TypeHeaderCode
-#include <statusbarprogress.h>
-%End
-
-
-public:
- StatusbarProgress (TQWidget* /TransferThis/, bool = 1);
- void setJob (TDEIO::Job*);
-
-public slots:
- virtual void slotClean ();
- virtual void slotTotalSize (TDEIO::Job*, TDEIO::filesize_t);
- virtual void slotPercent (TDEIO::Job*, ulong);
- virtual void slotSpeed (TDEIO::Job*, ulong);
-
-protected:
- void setMode ();
- virtual bool eventFilter (TQObject*, TQEvent*);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class StatusbarProgress
-
-}; // namespace TDEIO
-
diff --git a/sip/kio/tcpslavebase.sip b/sip/kio/tcpslavebase.sip
deleted file mode 100644
index deeb4e3..0000000
--- a/sip/kio/tcpslavebase.sip
+++ /dev/null
@@ -1,91 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-namespace TDEIO
-{
-
-class TCPSlaveBase : TDEIO::SlaveBase
-{
-%TypeHeaderCode
-#include <tcpslavebase.h>
-%End
-
-
-public:
- TCPSlaveBase (ushort, const TQCString&, const TQCString&, const TQCString&);
- TCPSlaveBase (ushort, const TQCString&, const TQCString&, const TQCString&, bool);
-
-protected:
- ssize_t Write (const void*, ssize_t);
- ssize_t Read (void*, ssize_t);
- ssize_t ReadLine (char*, ssize_t);
- ushort GetPort (ushort);
- bool ConnectToHost (const TQString&, uint, bool);
- void CloseDescriptor ();
- bool AtEOF ();
- bool InitializeSSL ();
- void CleanSSL ();
- ssize_t write (const void*, ssize_t);
- ssize_t read (void*, ssize_t);
- ssize_t readLine (char*, ssize_t);
- void setBlockSize (int);
- ushort port (ushort);
- bool connectToHost (const TQString&, uint, bool = 1);
-
-%If ( KDE_3_2_0 - )
- bool usingSSL () const;
-%End
-
- bool usingTLS ();
- bool canUseTLS ();
- int startTLS ();
- void stopTLS ();
- void closeDescriptor ();
- bool atEnd ();
- void setSSLMetaData ();
- bool initializeSSL ();
- void cleanSSL ();
- bool isConnectionValid ();
- int connectResult ();
- bool waitForResponse (int);
- void setBlockConnection (bool);
- void setConnectTimeout (int);
- bool isSSLTunnelEnabled ();
- void setEnableSSLTunnel (bool);
- void setRealHost (const TQString&);
- void doConstructorStuff ();
- int verifyCertificate ();
- void certificatePrompt ();
- bool userAborted () const;
-
-protected:
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class TCPSlaveBase
-
-}; // namespace TDEIO
-
diff --git a/sip/kio/tdefilefilter.sip b/sip/kio/tdefilefilter.sip
deleted file mode 100644
index d86093a..0000000
--- a/sip/kio/tdefilefilter.sip
+++ /dev/null
@@ -1,81 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KFileFilter
-{
-%TypeHeaderCode
-#include <tdefilefilter.h>
-%End
-
-
-public:
- virtual bool passesFilter (const KFileItem*) const = 0;
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KFileFilter
-
-
-class KSimpleFileFilter : KFileFilter
-{
-%TypeHeaderCode
-#include <tdefilefilter.h>
-%End
-
-
-public:
- KSimpleFileFilter ();
- virtual void setFilterDotFiles (bool);
- bool filterDotFiles () const;
- virtual void setFilterSpecials (bool);
- bool filterSpecials () const;
-
-%If ( KDE_3_1_0 - )
- void setNameFilters (const TQString&, bool, const TQChar& = ' ');
-%End
-
- virtual void setNameFilters (const TQString&);
- virtual void setMimeFilters (const TQStringList&);
- TQStringList mimeFilters () const;
- virtual void setModeFilter (mode_t);
- mode_t modeFilter () const;
- virtual bool passesFilter (const KFileItem*) const;
-
-protected:
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-public:
-
-%If ( - KDE_3_2_0 )
-//ig TQString nameFilters () const;
-%End
-
-
-}; // class KSimpleFileFilter
-
diff --git a/sip/kio/tdefileitem.sip b/sip/kio/tdefileitem.sip
deleted file mode 100644
index da88569..0000000
--- a/sip/kio/tdefileitem.sip
+++ /dev/null
@@ -1,171 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KFileItem
-{
-%TypeHeaderCode
-#include <tdefileitem.h>
-%End
-
-
-public:
-
- enum
- {
- Unknown
- };
-
- 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&);
- void refresh ();
- void refreshMimeType ();
- const KURL& url () const;
- void setURL (const KURL&);
-
-%If ( KDE_3_2_0 - )
- void setName (const TQString&);
-%End
-
- mode_t permissions () const;
- TQString permissionsString () const;
-
-%If ( KDE_3_5_0 - )
- bool hasExtendedACL () const;
- KACL ACL () const;
- KACL defaultACL () const;
-%End
-
- mode_t mode () const;
- TQString user () const;
- TQString group () const;
- bool isLink () const;
- bool isDir () const;
- bool isFile () const;
- bool isReadable () const;
-
-%If ( KDE_3_4_0 - )
- bool isWritable () const;
-%End
-
-
-%If ( KDE_3_3_0 - )
- bool isHidden () const;
-%End
-
- TQString linkDest () const;
-
-%If ( KDE_3_4_0 - )
- TQString localPath () const;
-%End
-
- TDEIO::filesize_t size () const;
-
-%If ( KDE_3_5_0 - )
- TDEIO::filesize_t size (bool& /Out/) const /PyName=sizeAndExists/;
-%End
-
- time_t time (uint) const;
-
-%If ( KDE_3_5_0 - )
- time_t time (uint, bool& /Out/) const /PyName=timeAndHasTime/;
-%End
-
- TQString timeString (uint = KIO ::UDS_MODIFICATION_TIME ) const;
- bool isLocalFile () const;
- const TQString& text () const;
- const TQString& name (bool = 0) const;
- TQString mimetype () const;
- KMimeType::Ptr determineMimeType ();
- KMimeType::Ptr mimeTypePtr ();
- bool isMimeTypeKnown () const;
- TQString mimeComment ();
- TQString iconName ();
- TQPixmap pixmap (int, int = 0) const;
- int overlays () const;
- TQString getStatusBarInfo ();
- TQString getToolTipText (int = 6);
- bool acceptsDrops ();
- void run ();
- const TDEIO::UDSEntry& entry () const;
- bool isMarked () const;
- void mark ();
- void unmark ();
- bool cmp (const KFileItem&);
-//ig virtual void setExtraData (const void*, void*);
-//ig virtual const void* extraData (const void*) const;
-//ig virtual void removeExtraData (const void*);
- void setMetaInfo (const KFileMetaInfo&);
-
-%If ( KDE_3_5_0 - )
- void setFileMode (mode_t);
- void setMimeType (const TQString&);
-%End
-
- const KFileMetaInfo& metaInfo (bool = 1, int = KFileMetaInfo ::Fastest ) const;
- void assign (const KFileItem&);
-
-%If ( KDE_3_4_3 - )
- void setUDSEntry (const TDEIO::UDSEntry&, const KURL&, bool = 0, bool = 0);
-%End
-
-
-%If ( KDE_3_4_0 - )
- KURL mostLocalURL (bool&) const;
-%End
-
-
-protected:
- void init (bool);
-
-%If ( KDE_3_4_3 - )
- void readUDSEntry (bool);
-%End
-
- TQString parsePermissions (mode_t) const;
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KFileItem
-
-typedef TQPtrList<KFileItem> KFileItemList;
-
-%If ( KDE_3_1_4 - )
-//ig typedef TQPtrListIterator<KFileItem> KFileItemListIterator;
-
-%If ( KDE_3_2_0 - )
-//igx TQDataStream& operator << (TQDataStream&, const KFileItem&);
-//igx TQDataStream& operator >> (TQDataStream&, KFileItem&);
-%End
-
-%End
-
-
-%If ( - KDE_3_1_4 )
-//ig typedef TQListIterator<KFileItem> KFileItemListIterator;
-%End
diff --git a/sip/kio/tdefilemetainfo.sip b/sip/kio/tdefilemetainfo.sip
deleted file mode 100644
index 3053f6e..0000000
--- a/sip/kio/tdefilemetainfo.sip
+++ /dev/null
@@ -1,460 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KFileMimeTypeInfo
-{
-%TypeHeaderCode
-#include <tdefilemetainfo.h>
-%End
-
-
-public:
- KFileMimeTypeInfo ();
-
-%If ( KDE_3_3_0 - )
-
- enum Attributes
- {
- Addable,
- Removable,
- Modifiable,
- Cumulative,
- Cummulative,
- Averaged,
- MultiLine,
- SqueezeText
- };
-
-%End
-
-
- enum Hint
- {
- NoHint,
- Name,
- Author,
- Description,
- Width,
- Height,
- Size,
- Bitrate,
- Length,
- Hidden,
- Thumbnail
- };
-
-
-%If ( KDE_3_3_0 - )
-
- enum Unit
- {
- NoUnit,
- Seconds,
- MilliSeconds,
- BitsPerSecond,
- Pixels,
- Inches,
- Centimeters,
- Bytes,
- FramesPerSecond,
- DotsPerInch,
- BitsPerPixel,
- Hertz,
- KiloBytes,
- Millimeters
- };
-
-%End
-
-
- class GroupInfo
- {
-
- public:
- TQStringList supportedKeys () const;
- const TQString& name () const;
- const TQString& translatedName () const;
- const KFileMimeTypeInfo::ItemInfo* itemInfo (const TQString&) const;
- uint attributes () const;
- bool supportsVariableKeys () const;
- const KFileMimeTypeInfo::ItemInfo* variableItemInfo () const;
-
- private:
- GroupInfo (const TQString&, const TQString&);
-
- }; // class GroupInfo
-
-
-public:
-
- class ItemInfo
- {
-
- public:
- ItemInfo ();
- const TQString& prefix () const;
- const TQString& suffix () const;
- TQVariant::Type type () const;
- const TQString& key () const;
-
-%If ( KDE_3_1_0 - )
- TQString string (const TQVariant&, bool = 1) const;
-%End
-
- bool isVariableItem () const;
- const TQString& translatedKey () const;
- uint attributes () const;
- uint hint () const;
- uint unit () const;
-
- private:
- ItemInfo (const TQString&, const TQString&, TQVariant::Type);
-
- }; // class ItemInfo
-
-
-public:
- TQValidator* createValidator (const TQString&, const TQString&, TQObject* /Transfer/ = 0, const char* = 0) const;
- TQStringList supportedGroups () const;
- TQStringList translatedGroups () const;
- TQStringList preferredGroups () const;
- TQString mimeType () const;
- const KFileMimeTypeInfo::GroupInfo* groupInfo (const TQString&) const;
- TQStringList supportedKeys () const;
- TQStringList preferredKeys () const;
- KFileMimeTypeInfo::GroupInfo* addGroupInfo (const TQString&, const TQString&);
- TQString m_translatedName;
- TQStringList m_supportedKeys;
- uint m_attr;
-//ig TQDict<ItemInfo> m_itemDict;
-
-protected:
- KFileMimeTypeInfo (const TQString&);
-
-public:
-
-%If ( KDE_3_1_0 - KDE_3_3_0 )
-
- enum Attributes
- {
- Addable,
- Removable,
- Modifiable,
- Cummulative,
- Averaged,
- MultiLine,
- SqueezeText
- };
-
-%End
-
-
-public:
-
-%If ( - KDE_3_1_0 )
-
- enum Attributes
- {
- Addable,
- Removable,
- Modifiable,
- Cummulative,
- Averaged
- };
-
-%End
-
-
-}; // class KFileMimeTypeInfo
-
-
-class KFileMetaInfoItem
-{
-%TypeHeaderCode
-#include <tdefilemetainfo.h>
-%End
-
-
-public:
- typedef KFileMimeTypeInfo::Hint Hint;
-//ig typedef KFileMimeTypeInfo::Unit Unit;
- typedef KFileMimeTypeInfo::Attributes Attributes;
- KFileMetaInfoItem (const KFileMimeTypeInfo::ItemInfo*, const TQString&, const TQVariant&);
- KFileMetaInfoItem (const KFileMetaInfoItem&);
- KFileMetaInfoItem ();
- TQString key () const;
- TQString translatedKey () const;
- const TQVariant& value () const;
- TQString string (bool = 1) const;
- bool setValue (const TQVariant&);
- TQVariant::Type type () const;
- bool isEditable () const;
- bool isRemoved () const;
- bool isModified () const;
- TQString prefix () const;
- TQString suffix () const;
- uint hint () const;
-//ig uint unit () const;
- uint attributes () const;
- bool isValid () const;
-
-protected:
- void setAdded ();
-
-%If ( KDE_3_1_0 - )
- void setRemoved ();
-%End
-
- void ref ();
- void deref ();
-
-}; // class KFileMetaInfoItem
-
-
-class KFileMetaInfoGroup
-{
-%TypeHeaderCode
-#include <tdefilemetainfo.h>
-%End
-
-
-public:
- KFileMetaInfoGroup (const TQString&, const KFileMimeTypeInfo*);
- KFileMetaInfoGroup (const KFileMetaInfoGroup&);
- KFileMetaInfoGroup ();
- bool isValid () const;
- bool isEmpty () const;
-
-%If ( KDE_3_1_0 - )
- bool isModified () const;
-
-%If ( KDE_3_1_4 - )
- KFileMetaInfoItem operator [] (const TQString&) const;
-%MethodCode
-//returns (KFileMetaInfoItem)
-//takes key | (TQString)
- KFileMetaInfoItem sipResObj = ((*sipCpp) [*static_cast<const TQString*>(a0)]);
- sipRes = &sipResObj;
-%End
-
-%End
-
-%End
-
- KFileMetaInfoItem item (const TQString&) const;
- KFileMetaInfoItem item (uint) const;
- const TQVariant value (const TQString&) const;
- TQStringList supportedKeys () const;
- bool supportsVariableKeys () const;
- bool contains (const TQString&) const;
- TQStringList keys () const;
- TQStringList preferredKeys () const;
- KFileMetaInfoItem addItem (const TQString&);
- bool removeItem (const TQString&);
- TQStringList removedItems ();
- TQString name () const;
-
-%If ( KDE_3_2_0 - )
- TQString translatedName () const;
-%End
-
- uint attributes () const;
-
-protected:
- void setAdded ();
- KFileMetaInfoItem appendItem (const TQString&, const TQVariant&);
- void ref ();
- void deref ();
-
-}; // class KFileMetaInfoGroup
-
-
-class KFileMetaInfo
-{
-%TypeHeaderCode
-#include <tdefilemetainfo.h>
-%End
-
-
-public:
- typedef KFileMimeTypeInfo::Hint Hint;
-//ig typedef KFileMimeTypeInfo::Unit Unit;
- typedef KFileMimeTypeInfo::Attributes Attributes;
-
- enum What
- {
- Fastest,
- DontCare,
- TechnicalInfo,
- ContentInfo,
- ExtenedAttr,
- Thumbnail,
- Preferred,
- Everything
- };
-
- KFileMetaInfo (const TQString&, const TQString& = TQString ::null , uint = Fastest );
-
-%If ( KDE_3_2_0 - )
- KFileMetaInfo (const KURL&, const TQString& = TQString ::null , uint = Fastest );
-%End
-
- KFileMetaInfo ();
- KFileMetaInfo (const KFileMetaInfo&);
- TQStringList groups () const;
- TQStringList supportedGroups () const;
- TQStringList preferredGroups () const;
- TQStringList preferredKeys () const;
- TQStringList supportedKeys () const;
- TQStringList editableGroups () const;
- KFileMetaInfoItem item (const TQString&) const;
- KFileMetaInfoItem item (const Hint) const;
- KFileMetaInfoItem saveItem (const TQString&, const TQString& = TQString ::null , bool = 1);
- KFileMetaInfoGroup group (const TQString&) const;
-
-%If ( KDE_3_1_4 - )
- KFileMetaInfoGroup operator [] (const TQString&) const;
-%MethodCode
-//returns (KFileMetaInfoGroup)
-//takes key | (TQString)
- KFileMetaInfoGroup sipResObj = ((*sipCpp) [*static_cast<const TQString*>(a0)]);
- sipRes = &sipResObj;
-%End
-
-%End
-
- bool addGroup (const TQString&);
- bool removeGroup (const TQString&);
- TQStringList removedGroups ();
- bool applyChanges ();
-
-%If ( KDE_3_5_3 - )
- bool applyChanges (const TQString&);
-%End
-
- bool contains (const TQString&) const;
- bool containsGroup (const TQString&) const;
- const TQVariant value (const TQString&) const;
- bool isValid () const;
- bool isEmpty () const;
- TQString mimeType () const;
- TQString path () const;
-
-%If ( KDE_3_2_0 - )
- KURL url () const;
-%End
-
-
-protected:
- KFileMetaInfoGroup appendGroup (const TQString&);
- KFilePlugin* plugin () const;
- void ref ();
- void deref ();
-
-}; // class KFileMetaInfo
-
-
-class KFilePlugin : TQObject
-{
-%TypeHeaderCode
-#include <tdefilemetainfo.h>
-%End
-
-
-public:
- KFilePlugin (TQObject* /TransferThis/, const char*, const TQStringList&);
- virtual bool readInfo (KFileMetaInfo&, uint = KFileMetaInfo ::Fastest ) = 0;
- virtual bool writeInfo (const KFileMetaInfo&) const;
- virtual TQValidator* createValidator (const TQString&, const TQString&, const TQString&, TQObject*, const char*) const;
-
-protected:
- KFileMimeTypeInfo* addMimeTypeInfo (const TQString&);
- KFileMimeTypeInfo::GroupInfo* addGroupInfo (KFileMimeTypeInfo*, const TQString&, const TQString&) const;
- void setAttributes (KFileMimeTypeInfo::GroupInfo*, uint) const;
- void addVariableInfo (KFileMimeTypeInfo::GroupInfo*, TQVariant::Type, uint) const;
- KFileMimeTypeInfo::ItemInfo* addItemInfo (KFileMimeTypeInfo::GroupInfo*, const TQString&, const TQString&, TQVariant::Type);
- void setAttributes (KFileMimeTypeInfo::ItemInfo*, uint);
- void setHint (KFileMimeTypeInfo::ItemInfo*, uint);
- void setUnit (KFileMimeTypeInfo::ItemInfo*, uint);
- void setPrefix (KFileMimeTypeInfo::ItemInfo*, const TQString&);
- void setSuffix (KFileMimeTypeInfo::ItemInfo*, const TQString&);
- KFileMetaInfoGroup appendGroup (KFileMetaInfo&, const TQString&);
- void appendItem (KFileMetaInfoGroup&, const TQString&, TQVariant);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KFilePlugin
-
-
-class KFileMetaInfoProvider : TQObject
-{
-%TypeHeaderCode
-#include <tdefilemetainfo.h>
-%End
-
-
-public:
- static KFileMetaInfoProvider* self ();
- KFilePlugin* plugin (const TQString&);
-
-%If ( KDE_3_4_0 - )
- KFilePlugin* plugin (const TQString&, const TQString&);
-%End
-
- const KFileMimeTypeInfo* mimeTypeInfo (const TQString&);
-
-%If ( KDE_3_4_0 - )
- const KFileMimeTypeInfo* mimeTypeInfo (const TQString&, const TQString&);
-%End
-
- TQStringList preferredKeys (const TQString&) const;
- TQStringList preferredGroups (const TQString&) const;
-
-%If ( KDE_3_1_0 - )
- TQStringList supportedMimeTypes () const;
-%End
-
-
-protected:
-//ig KFileMetaInfoProvider ();
-//force
-
-private:
- KFileMetaInfoProvider ();
-//end
-
-}; // class KFileMetaInfoProvider
-
-
-%If ( KDE_3_1_4 - )
-//igx TQDataStream& operator << (TQDataStream&, const KFileMetaInfoItem&);
-//igx TQDataStream& operator >> (TQDataStream&, KFileMetaInfoItem&);
-//igx TQDataStream& operator << (TQDataStream&, const KFileMetaInfoGroup&);
-//igx TQDataStream& operator >> (TQDataStream&, KFileMetaInfoGroup&);
-//igx TQDataStream& operator << (TQDataStream&, const KFileMetaInfo&);
-//igx TQDataStream& operator >> (TQDataStream&, KFileMetaInfo&);
-%End
diff --git a/sip/kio/tdefileshare.sip b/sip/kio/tdefileshare.sip
deleted file mode 100644
index a4e5aa2..0000000
--- a/sip/kio/tdefileshare.sip
+++ /dev/null
@@ -1,87 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-//ig class KFileSharePrivate : TQObject;
-
-
-%If ( KDE_3_1_0 - )
-
-class KFileShare
-{
-%TypeHeaderCode
-#include <tdefileshare.h>
-%End
-
-
-public:
- static void readConfig ();
-
-%If ( KDE_3_3_0 - )
- static void readShareList ();
-%End
-
- static bool isDirectoryShared (const TQString&);
-
- enum Authorization
- {
- NotInitialized,
- ErrorNotFound,
- Authorized,
- UserNotAllowed
- };
-
- static KFileShare::Authorization authorization ();
- static TQString findExe (const char*);
- static bool setShared (const TQString&, bool);
-
-%If ( KDE_3_3_0 - )
-
- enum ShareMode
- {
- Simple,
- Advanced
- };
-
- static bool sharingEnabled ();
- static bool isRestricted ();
- static TQString fileShareGroup ();
- static KFileShare::ShareMode shareMode ();
- static bool sambaEnabled ();
- static bool nfsEnabled ();
-%End
-
-
-public:
-
-%If ( - KDE_3_1_5 )
-//ig static bool setShared (const TQString&, bool, bool);
-%End
-
-
-}; // class KFileShare
-
-%End
-
diff --git a/sip/kio/tdesycoca.sip b/sip/kio/tdesycoca.sip
deleted file mode 100644
index 2bfe1dc..0000000
--- a/sip/kio/tdesycoca.sip
+++ /dev/null
@@ -1,171 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KSycoca : TQObject, DCOPObject
-{
-%TypeHeaderCode
-#include <tdesycoca.h>
-%End
-
-
-public:
-
-%If ( KDE_3_1_4 - )
- virtual bool process (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&);
- QCStringList functions ();
- QCStringList interfaces ();
-%End
-
-
-protected:
- KSycoca (bool);
-
-public:
- KSycoca ();
- static KSycoca* self ();
-
-%If ( KDE_3_2_0 - )
- static int version ();
-%End
-
- TQDataStream* findEntry (int, KSycocaType& /Out/);
- TQDataStream* findFactory (KSycocaFactoryId);
- TQString kfsstnd_prefixes ();
- TQString language ();
- ulong timeStamp ();
-
-%If ( KDE_3_1_0 - )
- ulong updateSignature ();
-
-%If ( KDE_3_2_0 - )
- TQStringList allResourceDirs ();
-%End
-
-%End
-
- void addFactory (KSycocaFactory*);
- virtual bool isBuilding ();
-
-%If ( KDE_3_1_2 - )
- void disableAutoRebuild ();
-%End
-
- static TQString determineRelativePath (const TQString&, const char*);
- static bool isChanged (const char*);
-
-%If ( KDE_3_1_0 - )
- static void flagError ();
- static bool readError ();
-%End
-
-
-public:
- void notifyDatabaseChanged (const TQStringList&);
-
-signals:
- void databaseChanged ();
-
-protected:
- bool checkVersion (bool = 1);
- bool openDatabase (bool = 1);
- void closeDatabase ();
-
-public:
-
-%If ( KDE_3_1_0 - )
-//ig KSycoca* _self;
-%End
-
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-//force
-%ConvertToSubClassCode
- // The table of Python class objects indexed by their names. The table
- // must be sorted by name.
-
- static sipStringTypeClassMap map[] = {
- {sipName_ChmodJob, &sipClass_KIO_ChmodJob},
- {sipName_Connection, &sipClass_KIO_Connection},
- {sipName_CopyJob, &sipClass_KIO_CopyJob},
-#if TDE_VERSION >= 0x030100
- {sipName_DavJob, &sipClass_KIO_DavJob},
-#endif
- {sipName_DefaultProgress, &sipClass_KIO_DefaultProgress},
- {sipName_DeleteJob, &sipClass_KIO_DeleteJob},
- {sipName_FileCopyJob, &sipClass_KIO_FileCopyJob},
- {sipName_Job, &sipClass_KIO_Job},
- {sipName_KAutoMount, &sipClass_KAutoMount},
- {sipName_KAutoUnmount, &sipClass_KAutoUnmount},
- {sipName_KDataTool, &sipClass_KDataTool},
- {sipName_KDataToolAction, &sipClass_KDataToolAction},
- {sipName_KDirLister, &sipClass_KDirLister},
- {sipName_KDirWatch, &sipClass_KDirWatch},
- {sipName_KFileMetaInfoProvider, &sipClass_KFileMetaInfoProvider},
- {sipName_KFilePlugin, &sipClass_KFilePlugin},
- {sipName_KFilterBase, &sipClass_KFilterBase},
- {sipName_KOCRDialog, &sipClass_KOCRDialog},
- {sipName_KOCRDialogFactory, &sipClass_KOCRDialogFactory},
- {sipName_TDEProcessRunner, &sipClass_TDEProcessRunner},
- {sipName_KRun, &sipClass_KRun},
- {sipName_KScanDialog, &sipClass_KScanDialog},
- {sipName_KScanDialogFactory, &sipClass_KScanDialogFactory},
- {sipName_KShellCompletion, &sipClass_KShellCompletion},
- {sipName_KShred, &sipClass_KShred},
- {sipName_KSycoca, &sipClass_KSycoca},
- {sipName_TDETrader, &sipClass_TDETrader},
- {sipName_KURIFilterPlugin, &sipClass_KURIFilterPlugin},
- {sipName_KURLCompletion, &sipClass_KURLCompletion},
- {sipName_ListJob, &sipClass_KIO_ListJob},
-#if TDE_VERSION >= 0x030100
- {sipName_MetaInfoJob, &sipClass_KIO_MetaInfoJob},
-#endif
- {sipName_MimetypeJob, &sipClass_KIO_MimetypeJob},
- {sipName_MultiGetJob, &sipClass_KIO_MultiGetJob},
- {sipName_NetAccess, &sipClass_KIO_NetAccess},
- {sipName_Observer, &sipClass_Observer},
- {sipName_PasswordDialog, &sipClass_KIO_PasswordDialog},
- {sipName_PreviewJob, &sipClass_KIO_PreviewJob},
- {sipName_ProgressBase, &sipClass_KIO_ProgressBase},
- {sipName_RenameDlgPlugin, &sipClass_RenameDlgPlugin},
- {sipName_Scheduler, &sipClass_KIO_Scheduler},
- {sipName_SessionData, &sipClass_KIO_SessionData},
- {sipName_SimpleJob, &sipClass_KIO_SimpleJob},
- {sipName_Slave, &sipClass_KIO_Slave},
- {sipName_SlaveConfig, &sipClass_KIO_SlaveConfig},
- {sipName_SlaveInterface, &sipClass_KIO_SlaveInterface},
- {sipName_StatJob, &sipClass_KIO_StatJob},
- {sipName_StatusbarProgress, &sipClass_KIO_StatusbarProgress},
- {sipName_TransferJob, &sipClass_KIO_TransferJob},
- };
-
- sipClass = sipMapStringToClass(sipCpp -> className(),map,sizeof (map)/sizeof (map[0]));
-%End
-//end
-
-}; // class KSycoca
-
diff --git a/sip/kio/tdesycocadict.sip b/sip/kio/tdesycocadict.sip
deleted file mode 100644
index 0340c6e..0000000
--- a/sip/kio/tdesycocadict.sip
+++ /dev/null
@@ -1,51 +0,0 @@
-//
-// Copyright 2004 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE_3_3_0
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-%If ( KDE_3_3_0 - )
-
-class KSycocaDict
-{
-%TypeHeaderCode
-#include <tdesycocadict.h>
-%End
-
-public:
- KSycocaDict ();
- KSycocaDict (TQDataStream*, int);
- void add (const TQString&, KSycocaEntry*);
- void remove (const TQString&);
- int find_string (const TQString&);
- uint count ();
- void clear ();
- void save (TQDataStream&);
-
-protected:
- TQ_UINT32 hashKey (const TQString&);
-
-}; // class KSycocaDict
-
-%End
-
diff --git a/sip/kio/tdesycocaentry.sip b/sip/kio/tdesycocaentry.sip
deleted file mode 100644
index 6bc56be..0000000
--- a/sip/kio/tdesycocaentry.sip
+++ /dev/null
@@ -1,208 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KSycocaEntry : TDEShared
-{
-%TypeHeaderCode
-#include <tdesycocaentry.h>
-%End
-
-
-public:
- virtual bool isType (KSycocaType) const;
- virtual KSycocaType sycocaType () const;
-
-public:
-//ig typedef TDESharedPtr<KSycocaEntry> Ptr;
-//ig typedef TQValueList<KSycocaEntry::Ptr> List;
-
-public:
- KSycocaEntry (const TQString&);
-
-%If ( KDE_3_1_0 - )
- static void read (TQDataStream&, TQString&);
- static void read (TQDataStream&, TQStringList&);
-%End
-
- KSycocaEntry (TQDataStream&, int);
- virtual TQString name () const = 0;
- TQString entryPath () const;
- virtual bool isValid () const = 0;
- virtual bool isDeleted () const;
- int offset ();
- virtual void save (TQDataStream&);
- virtual void load (TQDataStream&) = 0;
-
-protected:
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KSycocaEntry
-
-
-
-%MappedType KSycocaEntry::Ptr
-//converts KSycocaEntry
-{
-%TypeHeaderCode
-#include <ksharedptr.h>
-#include <tdesycocaentry.h>
-%End
-
-%ConvertFromTypeCode
- // Convert to a Python instance
-
- if (!sipCpp)
- return NULL;
-
- TDESharedPtr<KSycocaEntry> *cPtr = new TDESharedPtr<KSycocaEntry> (*(TDESharedPtr<KSycocaEntry> *)sipCpp);
- KSycocaEntry *cpp = cPtr->data ();
- PyObject *obj = sipConvertFromInstance (cpp, sipClass_KSycocaEntry, sipTransferObj);
-
- return obj;
-%End
-
-%ConvertToTypeCode
- // Convert a Python instance to a Ptr on the heap.
-
- if (sipIsErr == NULL)
- return sipCanConvertToType(sipPy, sipType_KSycocaEntry, SIP_NO_CONVERTORS);
-
- int iserr = 0;
- KSycocaEntry *cpp = (KSycocaEntry *)sipConvertToType(sipPy, sipType_KSycocaEntry, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- return 0;
- }
-
- *sipCppPtr = new TDESharedPtr<KSycocaEntry> (cpp);
-
- return 1;
-%End
-};
-
-
-%MappedType KSycocaEntry::List
-//converts a Python list of KSycocaEntry
-{
-%TypeHeaderCode
-#include <ksharedptr.h>
-#include <kservice.h>
-#include <kservicegroup.h>
-#include <tdesycocaentry.h>
-#include <tdesycocatype.h>
-#include <tqvaluelist.h>
-%End
-
-%ConvertFromTypeCode
- // Convert to a Python list of Ptr (KService).
-
- if (!sipCpp)
- return PyList_New (0);
-
- PyObject *plist;
-
- // Create the list
-
- if ((plist = PyList_New(0)) == NULL)
- return NULL;
-
- // Get it.
-
- KSycocaEntry::List *cList = (KSycocaEntry::List *)sipCpp;
- PyObject *inst;
- TDESharedPtr<KSycocaEntry> *svc;
- TDESharedPtr <KService> *svcType;
- TDESharedPtr <KServiceGroup> *svcGroupType;
-
- KSycocaEntry::List::Iterator it;
- for( it = cList->begin(); it != cList->end(); ++it )
- {
- TDESharedPtr<KSycocaEntry> svcptr = static_cast<KSycocaEntry::Ptr>(*it);
- svc = &svcptr;
- if (svc->data ()->sycocaType () == KST_KService)
- {
- svcType = (TDESharedPtr<KService> *)svc;
- inst = sipConvertFromType(svcType, sipType_KService_Ptr, sipTransferObj);
- }
- else if (svc->data ()->sycocaType () == KST_KServiceGroup)
- {
- svcGroupType = (TDESharedPtr <KServiceGroup> *) svc;
- inst = sipConvertFromType(svcGroupType, sipType_KServiceGroup_Ptr, sipTransferObj);
- }
- else
- inst = NULL;
-
- if ((inst == NULL) || (PyList_Append (plist, inst) < 0))
- {
- Py_XDECREF (inst);
- Py_DECREF (plist);
- return NULL;
- }
- }
-
- return plist;
-%End
-
-%ConvertToTypeCode
- // Convert a Python list to List on the heap.
-
- if (sipIsErr == NULL)
- return PyList_Check(sipPy);
-
- KSycocaEntry::List *cList = new KSycocaEntry::List;
-
- PyObject *elem;
- KSycocaEntry *service;
- int iserr = 0;
-
- for (int i = 0; i < PyList_Size (sipPy); i++)
- {
- elem = PyList_GET_ITEM (sipPy, i);
- service = (KSycocaEntry *)sipForceConvertToType(elem, sipType_KSycocaEntry, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- delete cList;
- return 0;
- }
-
- KSycocaEntry::Ptr ptr(service);
-
- cList->append (ptr);
- }
-
- *sipCppPtr = cList;
-
- return 1;
-%End
-};
-
-
diff --git a/sip/kio/tdesycocafactory.sip b/sip/kio/tdesycocafactory.sip
deleted file mode 100644
index decb1ab..0000000
--- a/sip/kio/tdesycocafactory.sip
+++ /dev/null
@@ -1,63 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KSycocaFactory
-{
-%TypeHeaderCode
-#include <tdesycocafactory.h>
-%End
-
-
-public:
- virtual KSycocaFactoryId factoryId () const = 0;
-
-protected:
- KSycocaFactory (KSycocaFactoryId);
-
-public:
- int offset ();
-//ig KSycocaEntryDict* entryDict ();
- virtual KSycocaEntry* createEntry (const TQString&, const char*) = 0;
- virtual void addEntry (KSycocaEntry*, const char*);
-
-%If ( KDE_3_2_0 - )
- void removeEntry (KSycocaEntry*);
-%End
-
- virtual KSycocaEntry* createEntry (int) = 0;
- KSycocaEntry::List allEntries ();
- virtual void save (TQDataStream&);
- virtual void saveHeader (TQDataStream&);
-//ig virtual const KSycocaResourceList* resourceList () const;
-
-protected:
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KSycocaFactory
-
-//ig typedef TQDict<KSycocaEntry::Ptr> KSycocaEntryDict;
diff --git a/sip/kio/tdesycocatype.sip b/sip/kio/tdesycocatype.sip
deleted file mode 100644
index 4babc21..0000000
--- a/sip/kio/tdesycocatype.sip
+++ /dev/null
@@ -1,76 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-%If ( KDE_3_2_1 - )
-
-enum KSycocaType
-{
- KST_KSycocaEntry,
- KST_KService,
- KST_KServiceType,
- KST_KMimeType,
- KST_KFolderType,
- KST_KDEDesktopMimeType,
- KST_KExecMimeType,
- KST_KServiceGroup,
- KST_KImageIOFormat,
- KST_KProtocolInfo,
- KST_KServiceSeparator,
- KST_KCustom
-};
-
-%End
-
-
-enum KSycocaFactoryId
-{
- KST_KServiceFactory,
- KST_KServiceTypeFactory,
- KST_KServiceGroupFactory,
- KST_KImageIO,
- KST_KProtocolInfoFactory,
- KST_CTimeInfo
-};
-
-
-%If ( - KDE_3_2_1 )
-
-enum KSycocaType
-{
- KST_KSycocaEntry,
- KST_KService,
- KST_KServiceType,
- KST_KMimeType,
- KST_KFolderType,
- KST_KDEDesktopMimeType,
- KST_KExecMimeType,
- KST_KServiceGroup,
- KST_KImageIOFormat,
- KST_KProtocolInfo,
- KST_KCustom
-};
-
-%End
diff --git a/sip/kio/thumbcreator.sip b/sip/kio/thumbcreator.sip
deleted file mode 100644
index 076dcfd..0000000
--- a/sip/kio/thumbcreator.sip
+++ /dev/null
@@ -1,47 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kio version KDE 3.5.3
-
-
-// This software is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License as
-// published by the Free Software Foundation; either version 2 of
-// the License, or (at your option) any later version.
-//
-// This software is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public
-// License along with this library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class ThumbCreator
-{
-%TypeHeaderCode
-#include <thumbcreator.h>
-%End
-
-
-public:
-
- enum Flags
- {
- None,
- DrawFrame,
- BlendIcon
- };
-
- virtual bool create (const TQString&, int, int, TQImage&) = 0;
- virtual ThumbCreator::Flags flags () const;
-
-}; // class ThumbCreator
-