summaryrefslogtreecommitdiffstats
path: root/knode/knjobdata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/knjobdata.cpp')
-rw-r--r--knode/knjobdata.cpp18
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 );