diff options
Diffstat (limited to 'knode/knjobdata.h')
-rw-r--r-- | knode/knjobdata.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/knode/knjobdata.h b/knode/knjobdata.h index 5733a9883..35b54e934 100644 --- a/knode/knjobdata.h +++ b/knode/knjobdata.h @@ -15,8 +15,8 @@ #ifndef KNJOBDATA_H #define KNJOBDATA_H -#include <qobject.h> -#include <qvaluelist.h> +#include <tqobject.h> +#include <tqvaluelist.h> #include <libkdepim/progressmanager.h> @@ -49,7 +49,7 @@ class KNJobConsumer { protected: /** The actual work is done here */ virtual void processJob(KNJobData *j); - QValueList<KNJobData*> mJobs; + TQValueList<KNJobData*> mJobs; }; @@ -63,7 +63,7 @@ class KNJobItem { virtual bool isLocked() { return false; } virtual void setLocked(bool) { } - virtual QString prepareForExecution() { return QString::null; } + virtual TQString prepareForExecution() { return TQString::null; } }; @@ -95,12 +95,12 @@ class KNJobData : public QObject KNServerInfo* account() const { return a_ccount; } KNJobItem* data() const { return d_ata; } - const QString& errorString() const { return e_rrorString; } + const TQString& errorString() const { return e_rrorString; } bool success() const { return e_rrorString.isEmpty(); } bool canceled() const { return c_anceled; } bool authError() const { return a_uthError; } - void setErrorString(const QString& s) { e_rrorString=s; } + void setErrorString(const TQString& s) { e_rrorString=s; } void cancel(); void setAuthError(bool b) { a_uthError=b; } @@ -114,7 +114,7 @@ class KNJobData : public QObject void createProgressItem(); // safe forwards to the progress item - void setStatus( const QString &msg ) { if ( mProgressItem ) mProgressItem->setStatus( msg ); } + void setStatus( const TQString &msg ) { if ( mProgressItem ) mProgressItem->setStatus( msg ); } void setProgress( unsigned int progress ) { if ( mProgressItem ) mProgressItem->setProgress( progress ); } void setComplete() { if ( mProgressItem ) { mProgressItem->setComplete(); mProgressItem = 0; } } @@ -122,14 +122,14 @@ class KNJobData : public QObject jobType t_ype; KNJobItem *d_ata; KNServerInfo *a_ccount; - QString e_rrorString; + TQString e_rrorString; bool c_anceled; bool a_uthError; KNJobConsumer *c_onsumer; private slots: void slotJobPercent( KIO::Job *job, unsigned long percent ); - void slotJobInfoMessage( KIO::Job *job, const QString &msg ); + void slotJobInfoMessage( KIO::Job *job, const TQString &msg ); private: KIO::Job *mJob; |