diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /knode/knjobdata.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knode/knjobdata.cpp')
-rw-r--r-- | knode/knjobdata.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
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 <qstylesheet.h> +#include <tqstylesheet.h> KNJobConsumer::KNJobConsumer() { @@ -33,7 +33,7 @@ KNJobConsumer::KNJobConsumer() KNJobConsumer::~KNJobConsumer() { - QValueList<KNJobData*>::Iterator it; + TQValueList<KNJobData*>::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<KNNntpAccount*>( 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 ); |