summaryrefslogtreecommitdiffstats
path: root/python/pykde/sip/dcop
diff options
context:
space:
mode:
Diffstat (limited to 'python/pykde/sip/dcop')
-rw-r--r--python/pykde/sip/dcop/dcopclient.sip175
-rw-r--r--python/pykde/sip/dcop/dcopmod.sip42
-rw-r--r--python/pykde/sip/dcop/dcopmod.sip.in43
-rw-r--r--python/pykde/sip/dcop/dcopobject.sip82
-rw-r--r--python/pykde/sip/dcop/dcopref.sip109
-rw-r--r--python/pykde/sip/dcop/dcopstub.sip68
-rw-r--r--python/pykde/sip/dcop/typedefs.sip108
7 files changed, 0 insertions, 627 deletions
diff --git a/python/pykde/sip/dcop/dcopclient.sip b/python/pykde/sip/dcop/dcopclient.sip
deleted file mode 100644
index 6c8dab32..00000000
--- a/python/pykde/sip/dcop/dcopclient.sip
+++ /dev/null
@@ -1,175 +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 dcop 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 DCOPClientTransaction;
-
-class DCOPClient : QObject
-{
-%TypeHeaderCode
-#include <dcopclient.h>
-%End
-
-
-public:
- DCOPClient ();
- static void setServerAddress (const QCString&);
- bool attach ();
- void bindToApp ();
- bool detach ();
- bool isAttached () const;
- bool isAttachedToForeignServer () const;
- bool acceptCalls () const;
- void setAcceptCalls (bool);
-
-%If ( KDE_3_0_3 - )
- bool qtBridgeEnabled ();
- void setQtBridgeEnabled (bool);
-%End
-
- QCString registerAs (const QCString&, bool = 1);
- bool isRegistered () const;
- QCString appId () const;
- int socket () const;
- void suspend ();
- void resume ();
-
-%If ( KDE_3_1_0 - )
- bool isSuspended () const;
-%End
-
- bool send (const QCString&, const QCString&, const QCString&, const QByteArray&);
- bool send (const QCString&, const QCString&, const QCString&, const QString&);
-
-%If ( KDE_3_2_0 - )
- bool call (const QCString&, const QCString&, const QCString&, const QByteArray&, QCString& /Out/, QByteArray& /Out/, bool, int);
-%End
-
- bool call (const QCString&, const QCString&, const QCString&, const QByteArray&, QCString& /Out/, QByteArray& /Out/, bool = 0);
-
-%If ( KDE_3_3_0 - )
- int callAsync (const QCString&, const QCString&, const QCString&, const QByteArray&, QObject*, const char*);
-%End
-
-
-%If ( KDE_3_2_0 - )
- bool findObject (const QCString&, const QCString&, const QCString&, const QByteArray&, QCString& /Out/, QCString& /Out/, bool, int);
-%End
-
- bool findObject (const QCString&, const QCString&, const QCString&, const QByteArray&, QCString& /Out/, QCString& /Out/, bool = 0);
- void emitDCOPSignal (const QCString&, const QCString&, const QByteArray&);
- void emitDCOPSignal (const QCString&, const QByteArray&);
- bool connectDCOPSignal (const QCString&, const QCString&, const QCString&, const QCString&, const QCString&, bool);
- bool connectDCOPSignal (const QCString&, const QCString&, const QCString&, const QCString&, bool);
- bool disconnectDCOPSignal (const QCString&, const QCString&, const QCString&, const QCString&, const QCString&);
- bool disconnectDCOPSignal (const QCString&, const QCString&, const QCString&, const QCString&);
- virtual bool process (const QCString&, const QByteArray&, QCString&, QByteArray&);
- DCOPClientTransaction* beginTransaction ();
- void endTransaction (DCOPClientTransaction*, QCString&, QByteArray&);
- Q_INT32 transactionId ();
- bool isApplicationRegistered (const QCString&);
- QCStringList registeredApplications ();
- QCStringList remoteObjects (const QCString&, bool* = 0);
- QCStringList remoteInterfaces (const QCString&, const QCString&, bool* = 0);
- QCStringList remoteFunctions (const QCString&, const QCString&, bool* = 0);
- bool receive (const QCString&, const QCString&, const QCString&, const QByteArray&, QCString& /Out/, QByteArray& /Out/);
- bool find (const QCString&, const QCString&, const QCString&, const QByteArray&, QCString& /Out/, QByteArray& /Out/);
- static QCString normalizeFunctionSignature (const QCString&);
- QCString senderId () const;
- void setDefaultObject (const QCString&);
- QCString defaultObject () const;
- void setNotifications (bool);
- void setDaemonMode (bool);
-
-%If ( KDE_3_2_0 - )
- void setPriorityCall (bool);
-%End
-
- static DCOPClient* mainClient ();
- static void setMainClient (DCOPClient*);
-
-%If ( KDE_3_2_0 - )
- static DCOPClient* findLocalClient (const QCString&);
-%End
-
- static void emergencyClose ();
- static const char* postMortemSender ();
- static const char* postMortemObject ();
- static const char* postMortemFunction ();
- static QCString dcopServerFile (const QCString& = 0);
- static QCString dcopServerFileOld (const QCString& = 0);
-
-%If ( KDE_3_2_0 - )
- static QCString iceauthPath ();
-%End
-
-
-signals:
- void applicationRegistered (const QCString&);
- void applicationRemoved (const QCString&);
- void attachFailed (const QString&);
- void blockUserInput (bool);
-
-%If ( KDE_3_2_0 - )
- void callBack (int, const QCString&, const QByteArray&);
-%End
-
-
-protected slots:
- void processSocketData (int);
-
-public:
-
-%If ( KDE_3_2_3 - )
-//ig void handleAsyncReply (DCOPClient::ReplyStruct*);
-%End
-
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-public:
-
-%If ( KDE_3_2_0 - KDE_3_3_0 )
- int callAsync (const QCString&, const QCString&, const QCString&, const QByteArray&, SIP_RXOBJ_CON, SIP_SLOT_CON (int, const QCString&, const QByteArray&));
-
-//force
-%ConvertToSubClassCode
- // The table of Python class objects indexed by their names. The table
- // must be sorted by name.
-
- static sipStringTypeClassMap map[] = {
- {sipName_DCOPClient, &sipClass_DCOPClient},
- };
-
- sipClass = sipMapStringToClass(sipCpp -> className(),map,sizeof (map)/sizeof (map[0]));
-%End
-//end
-%End
-
-
-}; // class DCOPClient
-
-typedef QValueList<QCString> QCStringList;
diff --git a/python/pykde/sip/dcop/dcopmod.sip b/python/pykde/sip/dcop/dcopmod.sip
deleted file mode 100644
index 9588ab91..00000000
--- a/python/pykde/sip/dcop/dcopmod.sip
+++ /dev/null
@@ -1,42 +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 dcop 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 dcop
-
-%Timeline { KDE_3_0_0 KDE_3_0_1 KDE_3_0_3 KDE_3_1_0 KDE_3_1_1 KDE_3_1_2 KDE_3_1_3 KDE_3_1_4 KDE_3_1_5 KDE_3_2_0 KDE_3_2_1 KDE_3_2_2 KDE_3_2_3 KDE_3_3_0 KDE_3_3_1 KDE_3_3_2 KDE_3_4_0 KDE_3_4_1 KDE_3_4_2 KDE_3_4_3 KDE_3_5_0 KDE_3_5_1 KDE_3_5_2 KDE_3_5_3 }
-
-%Platforms { D_MANDRAKE ALL }
-
-%Import qt/qtmod.sip
-
-%Include dcopclient.sip
-%Include dcopobject.sip
-%Include dcopref.sip
-%Include dcopstub.sip
-%Include typedefs.sip
-
diff --git a/python/pykde/sip/dcop/dcopmod.sip.in b/python/pykde/sip/dcop/dcopmod.sip.in
deleted file mode 100644
index 9f9e0fbc..00000000
--- a/python/pykde/sip/dcop/dcopmod.sip.in
+++ /dev/null
@@ -1,43 +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 dcop 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 dcop
-
-%Timeline { KDE_3_0_0 KDE_3_0_1 KDE_3_0_3 KDE_3_1_0 KDE_3_1_1 KDE_3_1_2 KDE_3_1_3 KDE_3_1_4 KDE_3_1_5 KDE_3_2_0 KDE_3_2_1 KDE_3_2_2 KDE_3_2_3 KDE_3_3_0 KDE_3_3_1 KDE_3_3_2 KDE_3_4_0 KDE_3_4_1 KDE_3_4_2 KDE_3_4_3 KDE_3_5_0 KDE_3_5_1 KDE_3_5_2 KDE_3_5_3 }
-
-%Platforms { D_MANDRAKE ALL }
-
-%Import qt/qtmod.sip
-
-%Include dcopclient.sip
-%Include dcopobject.sip
-%Include dcopref.sip
-%Include dcopstub.sip
-%Include typedefs.sip
-@mark@
-
diff --git a/python/pykde/sip/dcop/dcopobject.sip b/python/pykde/sip/dcop/dcopobject.sip
deleted file mode 100644
index 7b7ee1c5..00000000
--- a/python/pykde/sip/dcop/dcopobject.sip
+++ /dev/null
@@ -1,82 +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 dcop 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 DCOPObject
-{
-%TypeHeaderCode
-#include <dcopobject.h>
-%End
-
-
-public:
- DCOPObject ();
- DCOPObject (QObject*);
- DCOPObject (const QCString&);
- QCString objId () const;
- bool setObjId (const QCString&);
- virtual bool process (const QCString&, const QByteArray&, QCString&, QByteArray&);
- virtual bool processDynamic (const QCString&, const QByteArray&, QCString&, QByteArray&);
- virtual QCStringList functionsDynamic ();
- virtual QCStringList interfacesDynamic ();
- virtual QCStringList interfaces ();
- virtual QCStringList functions ();
- void emitDCOPSignal (const QCString&, const QByteArray&);
- bool connectDCOPSignal (const QCString&, const QCString&, const QCString&, const QCString&, bool);
- bool disconnectDCOPSignal (const QCString&, const QCString&, const QCString&, const QCString&);
-
-%If ( KDE_3_1_0 - )
- DCOPClient* callingDcopClient ();
- void setCallingDcopClient (DCOPClient*);
-%End
-
- static bool hasObject (const QCString&);
- static DCOPObject* find (const QCString&);
- static QPtrList<DCOPObject> match (const QCString&);
- static QCString objectName (QObject*);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class DCOPObject
-
-
-class DCOPObjectProxy
-{
-%TypeHeaderCode
-#include <dcopobject.h>
-%End
-
-
-public:
- DCOPObjectProxy ();
- DCOPObjectProxy (DCOPClient*);
- virtual bool process (const QCString&, const QCString&, const QByteArray&, QCString&, QByteArray&);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class DCOPObjectProxy
-
diff --git a/python/pykde/sip/dcop/dcopref.sip b/python/pykde/sip/dcop/dcopref.sip
deleted file mode 100644
index ec090346..00000000
--- a/python/pykde/sip/dcop/dcopref.sip
+++ /dev/null
@@ -1,109 +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 dcop 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 DCOPReply
-{
-%TypeHeaderCode
-#include <dcopref.h>
-%End
-
-
-public:
- bool isValid () const;
- QByteArray data;
- QCString type;
-
-}; // class DCOPReply
-
-%End
-
-
-%If ( KDE_3_1_0 - )
-
-//ig class DCOPArg;
-
-%End
-
-
-class DCOPRef
-{
-%TypeHeaderCode
-#include <dcopref.h>
-%End
-
-
-public:
- DCOPRef ();
- DCOPRef (const DCOPRef&);
- DCOPRef (const QCString&, const QCString&);
- DCOPRef (DCOPObject*);
- DCOPRef (const QCString&, const QCString&, const QCString&);
- bool isNull () const;
- QCString app () const;
-
-%If ( KDE_3_1_0 - )
- QCString obj () const;
-%End
-
- QCString object () const;
- QCString type () const;
- void setRef (const QCString&, const QCString&);
- void setRef (const QCString&, const QCString&, const QCString&);
- void clear ();
-
-%If ( KDE_3_1_0 - )
- DCOPClient* dcopClient () const;
- void setDCOPClient (DCOPClient*);
-
-%If ( KDE_3_2_0 - )
-
- enum EventLoopFlag
- {
- NoEventLoop,
- UseEventLoop
- };
-
-%End
-
- DCOPReply call (const QCString&);
-
-%If ( KDE_3_2_0 - )
- DCOPReply callExt (const QCString&, DCOPRef::EventLoopFlag = NoEventLoop , int = -1);
-%End
-
- bool send (const QCString&);
-%End
-
-
-}; // class DCOPRef
-
-
-%If ( KDE_3_1_4 - )
-//igx QDataStream& operator << (QDataStream&, const DCOPRef&);
-//igx QDataStream& operator >> (QDataStream&, DCOPRef&);
-%End
diff --git a/python/pykde/sip/dcop/dcopstub.sip b/python/pykde/sip/dcop/dcopstub.sip
deleted file mode 100644
index a6ba8296..00000000
--- a/python/pykde/sip/dcop/dcopstub.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 dcop 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 DCOPStub
-{
-%TypeHeaderCode
-#include <dcopstub.h>
-%End
-
-
-public:
- DCOPStub (const QCString&, const QCString&);
- DCOPStub (DCOPClient*, const QCString&, const QCString&);
-
-%If ( KDE_3_2_0 - )
- DCOPStub (const DCOPRef&);
-%End
-
- QCString app () const;
- QCString obj () const;
-
- enum Status
- {
- CallSucceeded,
- CallFailed
- };
-
- Status status () const;
- bool ok () const;
-
-protected:
- void setStatus (DCOPStub::Status);
- virtual void callFailed ();
- DCOPClient* dcopClient ();
-
-%If ( KDE_3_1_0 - )
-//ig DCOPStub (DCOPStub::never_use_t);
-%End
-
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class DCOPStub
-
diff --git a/python/pykde/sip/dcop/typedefs.sip b/python/pykde/sip/dcop/typedefs.sip
deleted file mode 100644
index 1f5e83e6..00000000
--- a/python/pykde/sip/dcop/typedefs.sip
+++ /dev/null
@@ -1,108 +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 dcop 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.
-
-typedef uint mode_t;
-typedef long time_t;
-typedef ulong size_t;
-typedef int ssize_t;
-typedef int pid_t;
-typedef ulong Window;
-typedef bool Bool;
-typedef uint WFlags;
-typedef long off_t;
-
-
-/*%MappedType QValueList<pid_t>
-//converts a Python list of long
-{
-%TypeHeaderCode
-#include <qvaluelist.h>
-%End
-
-%ConvertFromTypeCode
- // Handle no list.
-
- if (!sipCpp)
- return PyList_New(0);
-
- // Convert to a Python list of long.
-
- PyObject *l;
-
- // Create the list.
-
- if ((l = PyList_New(sipCpp -> count())) == NULL)
- return NULL;
-
- // Get it.
-
- for (uint i = 0; i < sipCpp -> count(); ++i)
- if (PyList_SetItem(l,i,PyLong_FromLong((long)(*sipCpp)[i])) < 0)
- {
- Py_DECREF(l);
-
- return NULL;
- }
-
- return l;
-%End
-
-%ConvertToTypeCode
- // Convert a Python list of long to a QValueList<long> on the heap.
-
- if (sipIsErr == NULL)
- return PyList_Check(sipPy);
-
- if (sipPy == Py_None)
- {
- *sipCppPtr = NULL;
-
- return 0;
- }
-
- QValueList<pid_t> *qvl = new QValueList<pid_t>;
-
- PyErr_Clear();
-
- for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
- {
- qvl -> append((pid_t)PyLong_AsLong(PyList_GET_ITEM(sipPy,i)));
-
- if (PyErr_Occurred() != NULL)
- {
- delete qvl;
- *sipIsErr = 1;
-
- return 0;
- }
- }
-
- *sipCppPtr = qvl;
-
- return 1;
-%End
-};*/
-
-