summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/liboscar/changevisibilitytask.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/protocols/oscar/liboscar/changevisibilitytask.cpp
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/oscar/liboscar/changevisibilitytask.cpp')
-rw-r--r--kopete/protocols/oscar/liboscar/changevisibilitytask.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kopete/protocols/oscar/liboscar/changevisibilitytask.cpp b/kopete/protocols/oscar/liboscar/changevisibilitytask.cpp
index 7c6ff26a..b4dfff4a 100644
--- a/kopete/protocols/oscar/liboscar/changevisibilitytask.cpp
+++ b/kopete/protocols/oscar/liboscar/changevisibilitytask.cpp
@@ -30,7 +30,7 @@
#include "transfer.h"
-ChangeVisibilityTask::ChangeVisibilityTask(Task* parent): Task(parent)
+ChangeVisibilityTask::ChangeVisibilityTask(Task* tqparent): Task(tqparent)
{
m_sequence = 0;
m_visible = true;
@@ -64,13 +64,13 @@ bool ChangeVisibilityTask::take(Transfer* transfer)
if ( forMe( transfer ) )
{
setTransfer( transfer );
- setSuccess( 0, TQString::null );
+ setSuccess( 0, TQString() );
setTransfer( 0 );
return true;
}
else
{
- setError( 0, TQString::null );
+ setError( 0, TQString() );
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, TQString::null );
+ setError( 0, TQString() );
return;
}
@@ -97,7 +97,7 @@ void ChangeVisibilityTask::onGo()
if ( Oscar::uptateTLVs( newSSI, tList ) == false )
{
kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "Visibility didn't change, don't update" << endl;
- setSuccess( 0, TQString::null );
+ setSuccess( 0, TQString() );
return;
}
@@ -147,4 +147,4 @@ void ChangeVisibilityTask::sendEditEnd()
send( t5 );
}
-//kate: indent-mode csands; space-indent off; replace-tabs off; tab-width 4;
+//kate: indent-mode csands; space-indent off; tqreplace-tabs off; tab-width 4;