diff options
Diffstat (limited to 'kopete/protocols/msn/msnsocket.h')
-rw-r--r-- | kopete/protocols/msn/msnsocket.h | 15 |
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 ); |