summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/msn/webcam.h
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/msn/webcam.h')
-rw-r--r--kopete/protocols/msn/webcam.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/kopete/protocols/msn/webcam.h b/kopete/protocols/msn/webcam.h
index 472a0fba..59858d94 100644
--- a/kopete/protocols/msn/webcam.h
+++ b/kopete/protocols/msn/webcam.h
@@ -30,10 +30,11 @@ namespace P2P {
class Webcam : public TransferContext
{ Q_OBJECT
+ TQ_OBJECT
public:
enum Who { wProducer , wViewer };
- Webcam( Who who , const TQString& to, Dispatcher *parent, Q_UINT32 sessionID);
+ Webcam( Who who , const TQString& to, Dispatcher *tqparent, TQ_UINT32 sessionID);
~Webcam( );
virtual void processMessage(const Message& message);
@@ -44,7 +45,7 @@ class Webcam : public TransferContext
void sendBYEMessage();
private:
- void makeSIPMessage(const TQString &message, Q_UINT8 XX=0, Q_UINT8 YY=9 , Q_UINT8 ZZ=0);
+ void makeSIPMessage(const TQString &message, TQ_UINT8 XX=0, TQ_UINT8 YY=9 , TQ_UINT8 ZZ=0);
void sendBigP2PMessage( const TQByteArray& dataMessage );
void closeAllOtherSockets();
TQString m_content;
@@ -56,7 +57,7 @@ class Webcam : public TransferContext
KNetwork::KServerSocket *m_listener;
KNetwork::KBufferedSocket *m_webcamSocket;
- enum WebcamStatus { wsNegotiating , wsConnecting, wsConnected, wsTransfer } ;
+ enum WebcamtqStatus { wsNegotiating , wsConnecting, wsConnected, wsTransfer } ;
Who m_who;
@@ -67,7 +68,7 @@ class Webcam : public TransferContext
MSNWebcamDialog *m_widget;
TQValueList<KNetwork::KBufferedSocket* > m_allSockets;
- TQMap<KNetwork::KBufferedSocket*, WebcamStatus> m_webcamStates;
+ TQMap<KNetwork::KBufferedSocket*, WebcamtqStatus> m_webcamStates;
int m_timerId;
int m_timerFps;