summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/libgroupwise/tasks/conferencetask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/groupwise/libgroupwise/tasks/conferencetask.cpp')
-rw-r--r--kopete/protocols/groupwise/libgroupwise/tasks/conferencetask.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kopete/protocols/groupwise/libgroupwise/tasks/conferencetask.cpp b/kopete/protocols/groupwise/libgroupwise/tasks/conferencetask.cpp
index 9773a622..c88e22b4 100644
--- a/kopete/protocols/groupwise/libgroupwise/tasks/conferencetask.cpp
+++ b/kopete/protocols/groupwise/libgroupwise/tasks/conferencetask.cpp
@@ -42,8 +42,8 @@ ConferenceTask::ConferenceTask( Task* parent )
registerEvent( GroupWise::ReceivedSystemBroadcast );
// listen to the UserDetailsManager telling us that user details are available
- connect( client()->userDetailsManager(), SIGNAL( gotContactDetails( const GroupWise::ContactDetails & ) ),
- SLOT( slotReceiveUserDetails( const GroupWise::ContactDetails & ) ) );
+ connect( client()->userDetailsManager(), TQT_SIGNAL( gotContactDetails( const GroupWise::ContactDetails & ) ),
+ TQT_SLOT( slotReceiveUserDetails( const GroupWise::ContactDetails & ) ) );
}
@@ -53,10 +53,10 @@ ConferenceTask::~ConferenceTask()
void ConferenceTask::dumpConferenceEvent( ConferenceEvent & evt )
{
- client()->debug( QString( "Conference Event - guid: %1 user: %2 timestamp: %3:%4:%5" ).arg
+ client()->debug( TQString( "Conference Event - guid: %1 user: %2 timestamp: %3:%4:%5" ).arg
( evt.guid ).arg( evt.user.ascii() ).arg( evt.timeStamp.time().hour() ).arg
( evt.timeStamp.time().minute() ).arg( evt.timeStamp.time().second() ) );
- client()->debug( QString( " flags: %1" ).arg( evt.flags, 8 ) );
+ client()->debug( TQString( " flags: %1" ).arg( evt.flags, 8 ) );
}
bool ConferenceTask::take( Transfer * transfer )
@@ -103,7 +103,7 @@ bool ConferenceTask::take( Transfer * transfer )
Q_ASSERT( incomingEvent->hasMessage() );
event.message = incomingEvent->message();
client()->debug( "ReceiveMessage" );
- client()->debug( QString( "message: %1" ).arg( event.message ) );
+ client()->debug( TQString( "message: %1" ).arg( event.message ) );
if ( !queueWhileAwaitingData( event ) )
emit message( event );
break;
@@ -119,7 +119,7 @@ bool ConferenceTask::take( Transfer * transfer )
Q_ASSERT( incomingEvent->hasMessage() );
event.message = incomingEvent->message();
client()->debug( "ConferenceInvite" );
- client()->debug( QString( "message: %1" ).arg( event.message ) );
+ client()->debug( TQString( "message: %1" ).arg( event.message ) );
if ( !queueWhileAwaitingData( event ) )
emit invited( event );
break;
@@ -139,14 +139,14 @@ bool ConferenceTask::take( Transfer * transfer )
Q_ASSERT( incomingEvent->hasMessage() );
event.message = incomingEvent->message();
client()->debug( "ReceiveAutoReply" );
- client()->debug( QString( "message: %1" ).arg( event.message.ascii() ) );
+ client()->debug( TQString( "message: %1" ).arg( event.message.ascii() ) );
emit autoReply( event );
break;
case GroupWise::ReceivedBroadcast:
Q_ASSERT( incomingEvent->hasMessage() );
event.message = incomingEvent->message();
client()->debug( "ReceivedBroadCast" );
- client()->debug( QString( "message: %1" ).arg( event.message ) );
+ client()->debug( TQString( "message: %1" ).arg( event.message ) );
if ( !queueWhileAwaitingData( event ) )
emit broadcast( event );
break;
@@ -154,11 +154,11 @@ bool ConferenceTask::take( Transfer * transfer )
Q_ASSERT( incomingEvent->hasMessage() );
event.message = incomingEvent->message();
client()->debug( "ReceivedSystemBroadCast" );
- client()->debug( QString( "message: %1" ).arg( event.message ) );
+ client()->debug( TQString( "message: %1" ).arg( event.message ) );
emit systemBroadcast( event );
break;
default:
- client()->debug( QString( "WARNING: didn't handle registered event %1, on conference %2" ).arg( incomingEvent->eventType() ).arg( event.guid.ascii() ) );
+ client()->debug( TQString( "WARNING: didn't handle registered event %1, on conference %2" ).arg( incomingEvent->eventType() ).arg( event.guid.ascii() ) );
}
dumpConferenceEvent( event );
@@ -172,16 +172,16 @@ void ConferenceTask::slotReceiveUserDetails( const GroupWise::ContactDetails & d
client()->debug( "ConferenceTask::slotReceiveUserDetails()" );
// dequeue any events which are deliverable now we have these details
- QValueListIterator< ConferenceEvent > end = m_pendingEvents.end();
- QValueListIterator< ConferenceEvent > it = m_pendingEvents.begin();
+ TQValueListIterator< ConferenceEvent > end = m_pendingEvents.end();
+ TQValueListIterator< ConferenceEvent > it = m_pendingEvents.begin();
while ( it != end )
{
- QValueListIterator< ConferenceEvent > current = it;
+ TQValueListIterator< ConferenceEvent > current = it;
++it;
// if the details relate to event, try again to handle it
if ( details.dn == (*current).user )
{
- client()->debug( QString( " - got details for event involving %1" ).arg( (*current).user ) );
+ client()->debug( TQString( " - got details for event involving %1" ).arg( (*current).user ) );
switch ( (*current).type )
{
case GroupWise::ConferenceJoined:
@@ -204,7 +204,7 @@ void ConferenceTask::slotReceiveUserDetails( const GroupWise::ContactDetails & d
client()->debug( "Queued an event while waiting for more data, but didn't write a handler for the dequeue!" );
}
m_pendingEvents.remove( current );
- client()->debug( QString( "Event handled - now %1 pending events" ).arg
+ client()->debug( TQString( "Event handled - now %1 pending events" ).arg
( (uint)m_pendingEvents.count() ) );
}
}
@@ -220,7 +220,7 @@ bool ConferenceTask::queueWhileAwaitingData( const ConferenceEvent & event )
}
else
{
- client()->debug( QString( "ConferenceTask::queueWhileAwaitingData() - queueing event involving %1" ).arg( event.user ) );
+ client()->debug( TQString( "ConferenceTask::queueWhileAwaitingData() - queueing event involving %1" ).arg( event.user ) );
client()->userDetailsManager()->requestDetails( event.user );
m_pendingEvents.append( event );
return true;