diff options
Diffstat (limited to 'kresources/carddav/job.h')
-rw-r--r-- | kresources/carddav/job.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kresources/carddav/job.h b/kresources/carddav/job.h index 79e12f828..75626abf3 100644 --- a/kresources/carddav/job.h +++ b/kresources/carddav/job.h @@ -16,10 +16,10 @@ #ifndef KABCDAV_JOB_H #define KABCDAV_JOB_H -#include <qthread.h> -#include <qstring.h> -#include <qdatetime.h> -#include <qapplication.h> +#include <tqthread.h> +#include <tqstring.h> +#include <tqdatetime.h> +#include <tqapplication.h> extern "C" { #include <libcarddav/carddav.h> @@ -34,21 +34,21 @@ namespace KABC { /** * Calendar job. */ -class CardDavJob : public QThread { +class CardDavJob : public TQThread { public: /** * @param url URL to load. */ - CardDavJob(const QString& url = QString()); + CardDavJob(const TQString& url = TQString()); virtual ~CardDavJob(); /** * Sets a new URL to load. */ - virtual void setUrl(const QString& s) { + virtual void setUrl(const TQString& s) { mUrl = s; } @@ -62,7 +62,7 @@ public: /** * Sets the parent qobject. */ - virtual void setParent(QObject *s) { + virtual void setParent(TQObject *s) { mParent = s; } @@ -76,7 +76,7 @@ public: /** * @return URL to load. */ - virtual QString url() const { + virtual TQString url() const { return mUrl; } @@ -90,7 +90,7 @@ public: /** * @return parent object */ - virtual QObject *parent() { + virtual TQObject *parent() { return mParent; } @@ -111,7 +111,7 @@ public: /** * @return an error string. */ - virtual QString errorString() const { + virtual TQString errorString() const { return mErrorString; } @@ -147,7 +147,7 @@ protected: /** * Sets an error string to @p err. Also sets an error flag. */ - void setErrorString(const QString& str, const long number); + void setErrorString(const TQString& str, const long number); /** * Process an error. @@ -159,11 +159,11 @@ protected: private: - QString mUrl; + TQString mUrl; bool mError; - QString mErrorString; + TQString mErrorString; long mErrorNumber; - QObject *mParent; + TQObject *mParent; int mType; bool mUseURI; |