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.h | |
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.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; |