From 1c93fca14d9ce37499bcfdf994c660186a0b6f17 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 14 Apr 2011 20:16:30 +0000 Subject: Enable kdepim compilation under Qt4 This will likely break Qt3 compilation temporarily, which is an unintended side effect. A third and final kdepim commit will repair Qt3 compilation shortly. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227946 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkpimexchange/core/exchangemonitor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libkpimexchange/core/exchangemonitor.cpp') diff --git a/libkpimexchange/core/exchangemonitor.cpp b/libkpimexchange/core/exchangemonitor.cpp index ddb953135..b88510daf 100644 --- a/libkpimexchange/core/exchangemonitor.cpp +++ b/libkpimexchange/core/exchangemonitor.cpp @@ -104,7 +104,7 @@ ExchangeMonitor::ExchangeMonitor( ExchangeAccount* account, int pollMode, const // kdError() << "Error in socket listen: " << code << endl; //mSocket.enableRead( true ); kdDebug() << "Port: " << mSocket->port() << endl; - kdDebug() << "Host: " << mSocket->address().toString() << endl; + kdDebug() << "Host: " << TQString(mSocket->address().toString()) << endl; // mStream = new TQTextStream( mSocket ); } @@ -303,7 +303,7 @@ void ExchangeMonitor::slotActivated( int ) for ( it = lines.begin(); it != lines.end(); ++it ) { TQString line = (*it).stripWhiteSpace().lower(); if ( line.startsWith( "subscription-id: " ) ) - IDs = makeIDList( line.section(":",1).stripWhiteSpace() ); + IDs = makeIDList( TQString(line.section(":",1)).stripWhiteSpace() ); } if ( IDs.isEmpty() ) { -- cgit v1.2.1