summaryrefslogtreecommitdiffstats
path: root/sip/tdecore/ksock.sip
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:18:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:18:41 -0600
commit352b2ef6c06332062d35211d7f49942315d2f36a (patch)
tree842a828f1f3c6686c33cd8512d00b80d6feaefdd /sip/tdecore/ksock.sip
parent8bd906c03534d2ad9cff2f22e957bf30987c99a9 (diff)
downloadpytde-352b2ef6c06332062d35211d7f49942315d2f36a.tar.gz
pytde-352b2ef6c06332062d35211d7f49942315d2f36a.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'sip/tdecore/ksock.sip')
-rw-r--r--sip/tdecore/ksock.sip34
1 files changed, 17 insertions, 17 deletions
diff --git a/sip/tdecore/ksock.sip b/sip/tdecore/ksock.sip
index 5178dec..04f5e7e 100644
--- a/sip/tdecore/ksock.sip
+++ b/sip/tdecore/ksock.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KSocket : TQObject
+class TDESocket : TQObject
{
%TypeHeaderCode
#include <ksock.h>
@@ -32,17 +32,17 @@ class KSocket : TQObject
public:
- KSocket (int);
- KSocket (const char*, ushort, int = 30);
- KSocket (const char*);
+ TDESocket (int);
+ TDESocket (const char*, ushort, int = 30);
+ TDESocket (const char*);
int socket () const;
void enableRead (bool);
void enableWrite (bool);
signals:
- void readEvent (KSocket*);
- void writeEvent (KSocket*);
- void closeEvent (KSocket*);
+ void readEvent (TDESocket*);
+ void writeEvent (TDESocket*);
+ void closeEvent (TDESocket*);
public slots:
void slotWrite (int);
@@ -53,12 +53,12 @@ protected:
bool connect (const char*);
private:
- KSocket (const KSocket&);
+ TDESocket (const TDESocket&);
-}; // class KSocket
+}; // class TDESocket
-class KServerSocket : TQObject
+class TDEServerSocket : TQObject
{
%TypeHeaderCode
#include <ksock.h>
@@ -66,8 +66,8 @@ class KServerSocket : TQObject
public:
- KServerSocket (ushort, bool);
- KServerSocket (const char*, bool);
+ TDEServerSocket (ushort, bool);
+ TDEServerSocket (const char*, bool);
bool bindAndListen ();
int socket () const;
ushort port ();
@@ -76,22 +76,22 @@ public slots:
virtual void slotAccept (int);
signals:
- void accepted (KSocket*);
+ void accepted (TDESocket*);
protected:
bool init (ushort);
bool init (const char*);
private:
- KServerSocket (const KServerSocket&);
+ TDEServerSocket (const TDEServerSocket&);
public:
%If ( - KDE_3_1_2 )
- KServerSocket (ushort);
- KServerSocket (const char*);
+ TDEServerSocket (ushort);
+ TDEServerSocket (const char*);
%End
-}; // class KServerSocket
+}; // class TDEServerSocket