diff options
Diffstat (limited to 'kopete/protocols/msn/webcam.cpp')
-rw-r--r-- | kopete/protocols/msn/webcam.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kopete/protocols/msn/webcam.cpp b/kopete/protocols/msn/webcam.cpp index 2c2023c2..584ae803 100644 --- a/kopete/protocols/msn/webcam.cpp +++ b/kopete/protocols/msn/webcam.cpp @@ -312,13 +312,13 @@ void Webcam::processMessage(const Message& message) makeSIPMessage(producerxml); } } - else if(m_content.tqcontains("<producer>") || m_content.tqcontains("<viewer>")) + else if(m_content.contains("<producer>") || m_content.contains("<viewer>")) { TQRegExp rx("<rid>([0-9]*)</rid>.*<session>([0-9]*)</session>"); rx.search(m_content); TQString rid=rx.cap(1); TQString sess=rx.cap(2); - if(m_content.tqcontains("<producer>")) + if(m_content.contains("<producer>")) { TQString viewerxml=xml(sess.toUInt() , rid.toUInt()); @@ -370,7 +370,7 @@ void Webcam::processMessage(const Message& message) while(true) { an++; - if(!m_content.tqcontains( TQString("<tcpipaddress%1>").tqarg(an) )) + if(!m_content.contains( TQString("<tcpipaddress%1>").tqarg(an) )) break; rx=TQRegExp(TQString("<tcpipaddress%1>([^<]*)</tcpipaddress%2>").tqarg(an).tqarg(an)); rx.search(m_content); @@ -416,7 +416,7 @@ void Webcam::processMessage(const Message& message) kdDebug(14140) << k_funcinfo << "connect to " << sock << " - "<< sock->peerAddress().toString() << " ; " << sock->localAddress().toString() << endl; } } - else if(m_content.tqcontains("receivedViewerData")) + else if(m_content.contains("receivedViewerData")) { //I'm happy you received the xml i sent, really. } |