summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/liboscar/changevisibilitytask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/oscar/liboscar/changevisibilitytask.cpp')
-rw-r--r--kopete/protocols/oscar/liboscar/changevisibilitytask.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kopete/protocols/oscar/liboscar/changevisibilitytask.cpp b/kopete/protocols/oscar/liboscar/changevisibilitytask.cpp
index 5cb44720..7c6ff26a 100644
--- a/kopete/protocols/oscar/liboscar/changevisibilitytask.cpp
+++ b/kopete/protocols/oscar/liboscar/changevisibilitytask.cpp
@@ -18,7 +18,7 @@
#include "changevisibilitytask.h"
-#include <qvaluelist.h>
+#include <tqvaluelist.h>
#include <kdebug.h>
#include "buffer.h"
#include "client.h"
@@ -64,13 +64,13 @@ bool ChangeVisibilityTask::take(Transfer* transfer)
if ( forMe( transfer ) )
{
setTransfer( transfer );
- setSuccess( 0, QString::null );
+ setSuccess( 0, TQString::null );
setTransfer( 0 );
return true;
}
else
{
- setError( 0, QString::null );
+ setError( 0, TQString::null );
return false;
}
}
@@ -82,7 +82,7 @@ void ChangeVisibilityTask::onGo()
if ( !item )
{
kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "Didn't find a visibility item" << endl;
- setError( 0, QString::null );
+ setError( 0, TQString::null );
return;
}
@@ -90,14 +90,14 @@ void ChangeVisibilityTask::onGo()
BYTE visibleByte = m_visible ? 0x04 : 0x03;
c8tlv.addByte( visibleByte );
- QValueList<Oscar::TLV> tList;
+ TQValueList<Oscar::TLV> tList;
tList.append( TLV( 0x00CA, c8tlv.length(), c8tlv.buffer() ) );
Oscar::SSI newSSI(item);
if ( Oscar::uptateTLVs( newSSI, tList ) == false )
{
kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "Visibility didn't change, don't update" << endl;
- setSuccess( 0, QString::null );
+ setSuccess( 0, TQString::null );
return;
}
@@ -118,8 +118,8 @@ void ChangeVisibilityTask::onGo()
b->addWord( newSSI.type() );
b->addWord( newSSI.tlvListLength() );
- QValueList<TLV>::const_iterator it2 = newSSI.tlvList().begin();
- QValueList<TLV>::const_iterator listEnd2 = newSSI.tlvList().end();
+ TQValueList<TLV>::const_iterator it2 = newSSI.tlvList().begin();
+ TQValueList<TLV>::const_iterator listEnd2 = newSSI.tlvList().end();
for( ; it2 != listEnd2; ++it2 )
b->addTLV( ( *it2 ) );