summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/libgroupwise/tasks/setstatustask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/groupwise/libgroupwise/tasks/setstatustask.cpp')
-rw-r--r--kopete/protocols/groupwise/libgroupwise/tasks/setstatustask.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kopete/protocols/groupwise/libgroupwise/tasks/setstatustask.cpp b/kopete/protocols/groupwise/libgroupwise/tasks/setstatustask.cpp
index bf463407..696ffffa 100644
--- a/kopete/protocols/groupwise/libgroupwise/tasks/setstatustask.cpp
+++ b/kopete/protocols/groupwise/libgroupwise/tasks/setstatustask.cpp
@@ -22,7 +22,7 @@
using namespace GroupWise;
-SetStatusTask::SetStatusTask(Task* parent): RequestTask(parent)
+SetStatusTask::SetStatusTask(Task* tqparent): RequestTask(tqparent)
{
}
@@ -30,20 +30,20 @@ SetStatusTask::~SetStatusTask()
{
}
-void SetStatusTask::status( Status newStatus, const TQString &awayMessage, const TQString &autoReply )
+void SetStatusTask::status( tqStatus newtqStatus, const TQString &awayMessage, const TQString &autoReply )
{
- if ( newStatus > GroupWise::Invalid )
+ if ( newtqStatus > GroupWise::Invalid )
{
- setError( 1, "Invalid Status" );
+ setError( 1, "Invalid tqStatus" );
return;
}
- m_status = newStatus;
+ m_status = newtqStatus;
m_awayMessage = awayMessage;
m_autoReply = autoReply;
Field::FieldList lst;
- lst.append( new Field::SingleField( NM_A_SZ_STATUS, 0, NMFIELD_TYPE_UTF8, TQString::number( newStatus ) ) );
+ lst.append( new Field::SingleField( NM_A_SZ_STATUS, 0, NMFIELD_TYPE_UTF8, TQString::number( newtqStatus ) ) );
if ( !awayMessage.isNull() )
lst.append( new Field::SingleField( NM_A_SZ_STATUS_TEXT, 0, NMFIELD_TYPE_UTF8, awayMessage ) );
if ( !autoReply.isNull() )
@@ -51,7 +51,7 @@ void SetStatusTask::status( Status newStatus, const TQString &awayMessage, const
createTransfer( "setstatus", lst );
}
-Status SetStatusTask::requestedStatus() const
+tqStatus SetStatusTask::requestedtqStatus() const
{
return m_status;
}