From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- knode/knjobdata.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'knode/knjobdata.cpp') diff --git a/knode/knjobdata.cpp b/knode/knjobdata.cpp index 7d8cb6f8f..5d46c29d9 100644 --- a/knode/knjobdata.cpp +++ b/knode/knjobdata.cpp @@ -24,7 +24,7 @@ #include "knnetaccess.h" #include "knnntpaccount.h" -#include +#include KNJobConsumer::KNJobConsumer() { @@ -33,7 +33,7 @@ KNJobConsumer::KNJobConsumer() KNJobConsumer::~KNJobConsumer() { - QValueList::Iterator it; + TQValueList::Iterator it; for ( it = mJobs.begin(); it != mJobs.end(); ++it ) (*it)->c_onsumer = 0; } @@ -105,10 +105,10 @@ void KNJobData::setJob( KIO::Job *job ) { mJob = job; if ( job ) { - connect( job, SIGNAL( percent(KIO::Job*, unsigned long) ), - SLOT( slotJobPercent(KIO::Job*, unsigned long) ) ); - connect( job, SIGNAL( infoMessage(KIO::Job*, const QString&) ), - SLOT( slotJobInfoMessage(KIO::Job*, const QString&) ) ); + connect( job, TQT_SIGNAL( percent(KIO::Job*, unsigned long) ), + TQT_SLOT( slotJobPercent(KIO::Job*, unsigned long) ) ); + connect( job, TQT_SIGNAL( infoMessage(KIO::Job*, const TQString&) ), + TQT_SLOT( slotJobInfoMessage(KIO::Job*, const TQString&) ) ); } } @@ -117,12 +117,12 @@ void KNJobData::createProgressItem() if ( mProgressItem ) return; KNNntpAccount *acc = static_cast( account() ); - QString msg = i18n( "KNode" ); + TQString msg = i18n( "KNode" ); if ( type() == JTmail ) msg = i18n( "Sending message" ); else { if ( acc ) - msg = QStyleSheet::escape( acc->name() ); + msg = TQStyleSheet::escape( acc->name() ); } bool encr = false; if ( acc && acc->encryption() != KNServerInfo::None ) @@ -137,7 +137,7 @@ void KNJobData::slotJobPercent( KIO::Job*, unsigned long percent ) setProgress( percent ); } -void KNJobData::slotJobInfoMessage( KIO::Job*, const QString &msg ) +void KNJobData::slotJobInfoMessage( KIO::Job*, const TQString &msg ) { kdDebug(5003) << k_funcinfo << "Status: " << msg << endl; setStatus( msg ); -- cgit v1.2.1