summaryrefslogtreecommitdiffstats
path: root/sip/dcop
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-03 22:23:44 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-03 22:23:44 -0600
commit203ba231d0276943aae36111f9ec1e949f3c6a4c (patch)
treef039f7a5b5fc2da88a96876971bac580d87f6788 /sip/dcop
parentfd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff)
downloadpytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz
pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip
Initial TQt conversion
Diffstat (limited to 'sip/dcop')
-rw-r--r--sip/dcop/dcopclient.sip82
-rw-r--r--sip/dcop/dcopobject.sip36
-rw-r--r--sip/dcop/dcopref.sip30
-rw-r--r--sip/dcop/dcopstub.sip8
-rw-r--r--sip/dcop/typedefs.sip6
5 files changed, 81 insertions, 81 deletions
diff --git a/sip/dcop/dcopclient.sip b/sip/dcop/dcopclient.sip
index 6c8dab3..ca498f6 100644
--- a/sip/dcop/dcopclient.sip
+++ b/sip/dcop/dcopclient.sip
@@ -26,7 +26,7 @@
class DCOPClientTransaction;
-class DCOPClient : QObject
+class DCOPClient : TQObject
{
%TypeHeaderCode
#include <dcopclient.h>
@@ -35,7 +35,7 @@ class DCOPClient : QObject
public:
DCOPClient ();
- static void setServerAddress (const QCString&);
+ static void setServerAddress (const TQCString&);
bool attach ();
void bindToApp ();
bool detach ();
@@ -46,12 +46,12 @@ public:
%If ( KDE_3_0_3 - )
bool qtBridgeEnabled ();
- void setQtBridgeEnabled (bool);
+ void setTQtBridgeEnabled (bool);
%End
- QCString registerAs (const QCString&, bool = 1);
+ TQCString registerAs (const TQCString&, bool = 1);
bool isRegistered () const;
- QCString appId () const;
+ TQCString appId () const;
int socket () const;
void suspend ();
void resume ();
@@ -60,46 +60,46 @@ public:
bool isSuspended () const;
%End
- bool send (const QCString&, const QCString&, const QCString&, const QByteArray&);
- bool send (const QCString&, const QCString&, const QCString&, const QString&);
+ bool send (const TQCString&, const TQCString&, const TQCString&, const TQByteArray&);
+ bool send (const TQCString&, const TQCString&, const TQCString&, const TQString&);
%If ( KDE_3_2_0 - )
- bool call (const QCString&, const QCString&, const QCString&, const QByteArray&, QCString& /Out/, QByteArray& /Out/, bool, int);
+ bool call (const TQCString&, const TQCString&, const TQCString&, const TQByteArray&, TQCString& /Out/, TQByteArray& /Out/, bool, int);
%End
- bool call (const QCString&, const QCString&, const QCString&, const QByteArray&, QCString& /Out/, QByteArray& /Out/, bool = 0);
+ bool call (const TQCString&, const TQCString&, const TQCString&, const TQByteArray&, TQCString& /Out/, TQByteArray& /Out/, bool = 0);
%If ( KDE_3_3_0 - )
- int callAsync (const QCString&, const QCString&, const QCString&, const QByteArray&, QObject*, const char*);
+ int callAsync (const TQCString&, const TQCString&, const TQCString&, const TQByteArray&, TQObject*, const char*);
%End
%If ( KDE_3_2_0 - )
- bool findObject (const QCString&, const QCString&, const QCString&, const QByteArray&, QCString& /Out/, QCString& /Out/, bool, int);
+ bool findObject (const TQCString&, const TQCString&, const TQCString&, const TQByteArray&, TQCString& /Out/, TQCString& /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&);
+ bool findObject (const TQCString&, const TQCString&, const TQCString&, const TQByteArray&, TQCString& /Out/, TQCString& /Out/, bool = 0);
+ void emitDCOPSignal (const TQCString&, const TQCString&, const TQByteArray&);
+ void emitDCOPSignal (const TQCString&, const TQByteArray&);
+ bool connectDCOPSignal (const TQCString&, const TQCString&, const TQCString&, const TQCString&, const TQCString&, bool);
+ bool connectDCOPSignal (const TQCString&, const TQCString&, const TQCString&, const TQCString&, bool);
+ bool disconnectDCOPSignal (const TQCString&, const TQCString&, const TQCString&, const TQCString&, const TQCString&);
+ bool disconnectDCOPSignal (const TQCString&, const TQCString&, const TQCString&, const TQCString&);
+ virtual bool process (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&);
DCOPClientTransaction* beginTransaction ();
- void endTransaction (DCOPClientTransaction*, QCString&, QByteArray&);
+ void endTransaction (DCOPClientTransaction*, TQCString&, TQByteArray&);
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;
+ bool isApplicationRegistered (const TQCString&);
+ TQCStringList registeredApplications ();
+ TQCStringList remoteObjects (const TQCString&, bool* = 0);
+ TQCStringList remoteInterfaces (const TQCString&, const TQCString&, bool* = 0);
+ TQCStringList remoteFunctions (const TQCString&, const TQCString&, bool* = 0);
+ bool receive (const TQCString&, const TQCString&, const TQCString&, const TQByteArray&, TQCString& /Out/, TQByteArray& /Out/);
+ bool find (const TQCString&, const TQCString&, const TQCString&, const TQByteArray&, TQCString& /Out/, TQByteArray& /Out/);
+ static TQCString normalizeFunctionSignature (const TQCString&);
+ TQCString senderId () const;
+ void setDefaultObject (const TQCString&);
+ TQCString defaultObject () const;
void setNotifications (bool);
void setDaemonMode (bool);
@@ -111,29 +111,29 @@ public:
static void setMainClient (DCOPClient*);
%If ( KDE_3_2_0 - )
- static DCOPClient* findLocalClient (const QCString&);
+ static DCOPClient* findLocalClient (const TQCString&);
%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);
+ static TQCString dcopServerFile (const TQCString& = 0);
+ static TQCString dcopServerFileOld (const TQCString& = 0);
%If ( KDE_3_2_0 - )
- static QCString iceauthPath ();
+ static TQCString iceauthPath ();
%End
signals:
- void applicationRegistered (const QCString&);
- void applicationRemoved (const QCString&);
- void attachFailed (const QString&);
+ void applicationRegistered (const TQCString&);
+ void applicationRemoved (const TQCString&);
+ void attachFailed (const TQString&);
void blockUserInput (bool);
%If ( KDE_3_2_0 - )
- void callBack (int, const QCString&, const QByteArray&);
+ void callBack (int, const TQCString&, const TQByteArray&);
%End
@@ -153,7 +153,7 @@ protected:
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&));
+ int callAsync (const TQCString&, const TQCString&, const TQCString&, const TQByteArray&, SIP_RXOBJ_CON, SIP_SLOT_CON (int, const TQCString&, const TQByteArray&));
//force
%ConvertToSubClassCode
@@ -172,4 +172,4 @@ public:
}; // class DCOPClient
-typedef QValueList<QCString> QCStringList;
+typedef TQValueList<TQCString> TQCStringList;
diff --git a/sip/dcop/dcopobject.sip b/sip/dcop/dcopobject.sip
index 7b7ee1c..f3c445b 100644
--- a/sip/dcop/dcopobject.sip
+++ b/sip/dcop/dcopobject.sip
@@ -33,29 +33,29 @@ class DCOPObject
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&);
+ DCOPObject (TQObject*);
+ DCOPObject (const TQCString&);
+ TQCString objId () const;
+ bool setObjId (const TQCString&);
+ virtual bool process (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&);
+ virtual bool processDynamic (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&);
+ virtual TQCStringList functionsDynamic ();
+ virtual TQCStringList interfacesDynamic ();
+ virtual TQCStringList interfaces ();
+ virtual TQCStringList functions ();
+ void emitDCOPSignal (const TQCString&, const TQByteArray&);
+ bool connectDCOPSignal (const TQCString&, const TQCString&, const TQCString&, const TQCString&, bool);
+ bool disconnectDCOPSignal (const TQCString&, const TQCString&, const TQCString&, const TQCString&);
%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*);
+ static bool hasObject (const TQCString&);
+ static DCOPObject* find (const TQCString&);
+ static TQPtrList<DCOPObject> match (const TQCString&);
+ static TQCString objectName (TQObject*);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -73,7 +73,7 @@ class DCOPObjectProxy
public:
DCOPObjectProxy ();
DCOPObjectProxy (DCOPClient*);
- virtual bool process (const QCString&, const QCString&, const QByteArray&, QCString&, QByteArray&);
+ virtual bool process (const TQCString&, const TQCString&, const TQByteArray&, TQCString&, TQByteArray&);
protected:
//igx virtual void virtual_hook (int, void*);
diff --git a/sip/dcop/dcopref.sip b/sip/dcop/dcopref.sip
index ec09034..8548801 100644
--- a/sip/dcop/dcopref.sip
+++ b/sip/dcop/dcopref.sip
@@ -35,8 +35,8 @@ class DCOPReply
public:
bool isValid () const;
- QByteArray data;
- QCString type;
+ TQByteArray data;
+ TQCString type;
}; // class DCOPReply
@@ -60,20 +60,20 @@ class DCOPRef
public:
DCOPRef ();
DCOPRef (const DCOPRef&);
- DCOPRef (const QCString&, const QCString&);
+ DCOPRef (const TQCString&, const TQCString&);
DCOPRef (DCOPObject*);
- DCOPRef (const QCString&, const QCString&, const QCString&);
+ DCOPRef (const TQCString&, const TQCString&, const TQCString&);
bool isNull () const;
- QCString app () const;
+ TQCString app () const;
%If ( KDE_3_1_0 - )
- QCString obj () const;
+ TQCString obj () const;
%End
- QCString object () const;
- QCString type () const;
- void setRef (const QCString&, const QCString&);
- void setRef (const QCString&, const QCString&, const QCString&);
+ TQCString object () const;
+ TQCString type () const;
+ void setRef (const TQCString&, const TQCString&);
+ void setRef (const TQCString&, const TQCString&, const TQCString&);
void clear ();
%If ( KDE_3_1_0 - )
@@ -90,13 +90,13 @@ public:
%End
- DCOPReply call (const QCString&);
+ DCOPReply call (const TQCString&);
%If ( KDE_3_2_0 - )
- DCOPReply callExt (const QCString&, DCOPRef::EventLoopFlag = NoEventLoop , int = -1);
+ DCOPReply callExt (const TQCString&, DCOPRef::EventLoopFlag = NoEventLoop , int = -1);
%End
- bool send (const QCString&);
+ bool send (const TQCString&);
%End
@@ -104,6 +104,6 @@ public:
%If ( KDE_3_1_4 - )
-//igx QDataStream& operator << (QDataStream&, const DCOPRef&);
-//igx QDataStream& operator >> (QDataStream&, DCOPRef&);
+//igx TQDataStream& operator << (TQDataStream&, const DCOPRef&);
+//igx TQDataStream& operator >> (TQDataStream&, DCOPRef&);
%End
diff --git a/sip/dcop/dcopstub.sip b/sip/dcop/dcopstub.sip
index a6ba829..284bfd7 100644
--- a/sip/dcop/dcopstub.sip
+++ b/sip/dcop/dcopstub.sip
@@ -32,15 +32,15 @@ class DCOPStub
public:
- DCOPStub (const QCString&, const QCString&);
- DCOPStub (DCOPClient*, const QCString&, const QCString&);
+ DCOPStub (const TQCString&, const TQCString&);
+ DCOPStub (DCOPClient*, const TQCString&, const TQCString&);
%If ( KDE_3_2_0 - )
DCOPStub (const DCOPRef&);
%End
- QCString app () const;
- QCString obj () const;
+ TQCString app () const;
+ TQCString obj () const;
enum Status
{
diff --git a/sip/dcop/typedefs.sip b/sip/dcop/typedefs.sip
index ba1f4c5..8f9061b 100644
--- a/sip/dcop/typedefs.sip
+++ b/sip/dcop/typedefs.sip
@@ -33,7 +33,7 @@ typedef bool Bool;
typedef long off_t;
-/*%MappedType QValueList<pid_t>
+/*%MappedType TQValueList<pid_t>
//converts a Python list of long
{
%TypeHeaderCode
@@ -69,7 +69,7 @@ typedef long off_t;
%End
%ConvertToTypeCode
- // Convert a Python list of long to a QValueList<long> on the heap.
+ // Convert a Python list of long to a TQValueList<long> on the heap.
if (sipIsErr == NULL)
return PyList_Check(sipPy);
@@ -81,7 +81,7 @@ typedef long off_t;
return 0;
}
- QValueList<pid_t> *qvl = new QValueList<pid_t>;
+ TQValueList<pid_t> *qvl = new TQValueList<pid_t>;
PyErr_Clear();