summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/msn/msnsocket.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/protocols/msn/msnsocket.h
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/msn/msnsocket.h')
-rw-r--r--kopete/protocols/msn/msnsocket.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/kopete/protocols/msn/msnsocket.h b/kopete/protocols/msn/msnsocket.h
index 96bfd0cb..c6dff087 100644
--- a/kopete/protocols/msn/msnsocket.h
+++ b/kopete/protocols/msn/msnsocket.h
@@ -44,12 +44,13 @@ class MimeMessage;
* Server, the Notification Server and the Switchboard Server. It is
* inherited by the various specialized classes.
*/
-class KOPETE_EXPORT MSNSocket : public QObject
+class KOPETE_EXPORT MSNSocket : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- MSNSocket(TQObject* parent=0l);
+ MSNSocket(TQObject* tqparent=0l);
~MSNSocket();
/**
@@ -75,11 +76,11 @@ public:
* handshake likely has to follow first.
*/
enum OnlineStatus { Connecting, Connected, Disconnecting, Disconnected };
- enum LookupStatus { Processing, Success, Failed };
+ enum LookuptqStatus { Processing, Success, Failed };
enum Transport { TcpTransport, HttpTransport };
enum ErrorType { ErrorConnectionLost, ErrorConnectionError, ErrorCannotConnect, ErrorServerError, ErrorInformation};
- OnlineStatus onlineStatus() { return m_onlineStatus; }
+ OnlineStatus onlinetqStatus() { return m_onlinetqStatus; }
/*
* return the local ip.
@@ -113,7 +114,7 @@ public slots:
*
* return the id
*/
- int sendCommand( const TQString &cmd, const TQString &args = TQString::null,
+ int sendCommand( const TQString &cmd, const TQString &args = TQString(),
bool addId = true, const TQByteArray &body = TQByteArray() , bool binary=false );
signals:
@@ -278,7 +279,7 @@ private:
void parseLine( const TQString &str );
KNetwork::KBufferedSocket *m_socket;
- OnlineStatus m_onlineStatus;
+ OnlineStatus m_onlinetqStatus;
TQString m_server;
uint m_port;
@@ -288,7 +289,7 @@ private:
*/
uint m_waitBlockSize;
- class Buffer : public QByteArray
+ class Buffer : public TQByteArray
{
public:
Buffer( unsigned size = 0 );