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 /kioslaves/sieve/sieve.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 'kioslaves/sieve/sieve.h')
-rw-r--r-- | kioslaves/sieve/sieve.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kioslaves/sieve/sieve.h b/kioslaves/sieve/sieve.h index 1e064bbf6..f8749f013 100644 --- a/kioslaves/sieve/sieve.h +++ b/kioslaves/sieve/sieve.h @@ -19,9 +19,9 @@ #include <kio/tcpslavebase.h> #include <kio/authinfo.h> -#include <qstring.h> -#include <qcstring.h> -#include <qstringlist.h> +#include <tqstring.h> +#include <tqcstring.h> +#include <tqstringlist.h> class KDESasl; class KURL; @@ -36,17 +36,17 @@ public: const uint& getType() const; - const QCString& getAction() const; + const TQCString& getAction() const; const uint getQuantity() const; - const QCString& getKey() const; - const QCString& getVal() const; - const QCString& getExtra() const; + const TQCString& getKey() const; + const TQCString& getVal() const; + const TQCString& getExtra() const; void setQuantity(const uint& quantity); - void setAction(const QCString& newAction); - void setKey(const QCString& newKey); - void setVal(const QCString& newVal); - void setExtra(const QCString& newExtra); + void setAction(const TQCString& newAction); + void setKey(const TQCString& newKey); + void setVal(const TQCString& newVal); + void setExtra(const TQCString& newExtra); void clear(); @@ -65,7 +65,7 @@ public: enum connectionModes { NORMAL, CONNECTION_ORIENTED }; enum Results { OK, NO, BYE, OTHER }; - kio_sieveProtocol(const QCString &pool_socket, const QCString &app_socket); + kio_sieveProtocol(const TQCString &pool_socket, const TQCString &app_socket); virtual ~kio_sieveProtocol(); virtual void mimetype(const KURL& url); @@ -77,7 +77,7 @@ public: virtual void chmod(const KURL& url, int permissions); virtual void stat(const KURL& url); - virtual void setHost(const QString &host, int port, const QString &user, const QString &pass); + virtual void setHost(const TQString &host, int port, const TQString &user, const TQString &pass); virtual void openConnection(); virtual void closeConnection(); //virtual void slave_status(); @@ -88,7 +88,7 @@ public: * 2 - deactivate (all - only one active at any one time) scripts * 3 - request capabilities, returned as metadata */ - virtual void special(const QByteArray &data); + virtual void special(const TQByteArray &data); bool activate(const KURL& url); bool deactivate(); @@ -98,8 +98,8 @@ protected: void disconnect(bool forcibly = false); void changeCheck( const KURL &url ); - bool sendData(const QCString &data); - bool receiveData(bool waitForData = true, QCString *reparse = 0); + bool sendData(const TQCString &data); + bool receiveData(bool waitForData = true, TQCString *reparse = 0); bool operationSuccessful(); int operationResult(); @@ -126,7 +126,7 @@ protected: private: bool requestCapabilitiesAfterStartTLS() const; - QString m_implementation; + TQString m_implementation; }; #endif |