summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/liboscar/profiletask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/oscar/liboscar/profiletask.cpp')
-rw-r--r--kopete/protocols/oscar/liboscar/profiletask.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kopete/protocols/oscar/liboscar/profiletask.cpp b/kopete/protocols/oscar/liboscar/profiletask.cpp
index d64d5dbe..4b0949ea 100644
--- a/kopete/protocols/oscar/liboscar/profiletask.cpp
+++ b/kopete/protocols/oscar/liboscar/profiletask.cpp
@@ -18,7 +18,7 @@
#include "profiletask.h"
-#include <qstring.h>
+#include <tqstring.h>
#include <kdebug.h>
#include "transfer.h"
@@ -56,12 +56,12 @@ void ProfileTask::onGo()
sendProfileUpdate();
}
-void ProfileTask::setProfileText( const QString& text )
+void ProfileTask::setProfileText( const TQString& text )
{
m_profileText = text;
}
-void ProfileTask::setAwayMessage( const QString& text )
+void ProfileTask::setAwayMessage( const TQString& text )
{
m_awayMessage = text;
}
@@ -76,7 +76,7 @@ void ProfileTask::sendProfileUpdate()
if ( !m_profileText.isNull() && !client()->isIcq() )
{
- static const QString defencoding = "text/aolrtf; charset=\"us-ascii\"";
+ static const TQString defencoding = "text/aolrtf; charset=\"us-ascii\"";
buffer->addTLV(0x0001, defencoding.length(), defencoding.latin1());
buffer->addTLV(0x0002, m_profileText.length(), m_profileText.local8Bit());
kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "setting profile = " << m_profileText << endl;
@@ -84,7 +84,7 @@ void ProfileTask::sendProfileUpdate()
if ( !m_awayMessage.isNull() && !client()->isIcq() )
{
- static const QString defencoding = "text/aolrtf; charset=\"us-ascii\"";
+ static const TQString defencoding = "text/aolrtf; charset=\"us-ascii\"";
buffer->addTLV(0x0003, defencoding.length(), defencoding.latin1());
buffer->addTLV(0x0004, m_awayMessage.length(), m_awayMessage.local8Bit());
kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "setting away message = " << m_awayMessage << endl;
@@ -112,7 +112,7 @@ void ProfileTask::sendProfileUpdate()
buffer->addTLV(0x0005, capBuf.length(), capBuf.buffer());
Transfer* st = createTransfer( f, s , buffer );
send( st );
- setSuccess( 0, QString::null );
+ setSuccess( 0, TQString::null );
}