From f4fae92b6768541e2952173c3d4b09040f95bf7e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 16 Feb 2011 20:17:18 +0000 Subject: Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkpimexchange/core/exchangemonitor.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libkpimexchange/core/exchangemonitor.cpp') diff --git a/libkpimexchange/core/exchangemonitor.cpp b/libkpimexchange/core/exchangemonitor.cpp index 8e5525038..ae33a3693 100644 --- a/libkpimexchange/core/exchangemonitor.cpp +++ b/libkpimexchange/core/exchangemonitor.cpp @@ -261,7 +261,7 @@ void ExchangeMonitor::slotUnsubscribeResult( KIO::Job * job ) kdDebug() << "Subscription ID.text(): " << subscriptionID.text() << endl; bool ok; ID id = subscriptionID.text().toLong( &ok ); - if ( ! status.text().contains( "200" ) || !ok) { + if ( ! status.text().tqcontains( "200" ) || !ok) { kdError() << "UNSUBSCRIBE result is not 200 or no subscription ID found" << endl; emit error( ExchangeClient::ServerResponseError, "UNSUBSCRIBE yields an error response: \n" + response.toString() ); } @@ -285,7 +285,7 @@ void ExchangeMonitor::slotActivated( int ) return; TQCString response( maxLen+2 ); - Q_LONG len = mSocket->readBlock ( response.data(), maxLen+1 ); + TQ_LONG len = mSocket->readBlock ( response.data(), maxLen+1 ); if ( len <= 0 ) { kdDebug() << "Error: len<=0" << endl; @@ -346,7 +346,7 @@ void ExchangeMonitor::slotPollResult( KIO::Job * job ) TQDomElement item = responses.item( i ).toElement(); TQDomElement status = item.namedItem( "status" ).toElement(); TQDomElement subscriptionID = item.namedItem( "subscriptionID" ).toElement(); - if ( status.text().contains( "200" ) ) { + if ( status.text().tqcontains( "200" ) ) { kdDebug() << "subscriptionID: " << subscriptionID.text() << endl; IDList IDs = makeIDList( subscriptionID.text() ); TQValueList urls; @@ -355,7 +355,7 @@ void ExchangeMonitor::slotPollResult( KIO::Job * job ) urls += mSubscriptionMap[ *it ]; } emit notify( IDs, urls ); - } else if ( ! status.text().contains( "204" ) ) { + } else if ( ! status.text().tqcontains( "204" ) ) { kdWarning() << "POLL result is not 200 or 204, what's up?" << endl; emit error( ExchangeClient::ServerResponseError, "Poll result is wrong: \n" + response.toString() ); } -- cgit v1.2.1