summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/libgroupwise/tasks/getstatustask.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/groupwise/libgroupwise/tasks/getstatustask.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/groupwise/libgroupwise/tasks/getstatustask.cpp')
-rw-r--r--kopete/protocols/groupwise/libgroupwise/tasks/getstatustask.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kopete/protocols/groupwise/libgroupwise/tasks/getstatustask.cpp b/kopete/protocols/groupwise/libgroupwise/tasks/getstatustask.cpp
index 153746ea..68063261 100644
--- a/kopete/protocols/groupwise/libgroupwise/tasks/getstatustask.cpp
+++ b/kopete/protocols/groupwise/libgroupwise/tasks/getstatustask.cpp
@@ -22,7 +22,7 @@
#include "getstatustask.h"
-GetStatusTask::GetStatusTask(Task* parent): RequestTask(parent)
+GetStatusTask::GetStatusTask(Task* tqparent): RequestTask(tqparent)
{
}
@@ -52,7 +52,7 @@ bool GetStatusTask::take( Transfer * transfer )
responseFields.dump( true );
// parse received details and signal like billio
Field::SingleField * sf = 0;
- Q_UINT16 status;
+ TQ_UINT16 status;
sf = responseFields.findSingleField( NM_A_SZ_STATUS );
if ( sf )
{
@@ -60,8 +60,8 @@ bool GetStatusTask::take( Transfer * transfer )
// This must be because the sender is not on our contact list but has sent us a message.
// TODO: Check that the change to sending DNs above has fixed this problem.
status = sf->value().toInt();
- // unfortunately getstatus doesn't give us an away message so we pass TQString::null here
- emit gotStatus( m_userDN, status, TQString::null );
+ // unfortunately getstatus doesn't give us an away message so we pass TQString() here
+ emit gottqStatus( m_userDN, status, TQString() );
setSuccess();
}
else