From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kioslaves/sieve/sieve.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'kioslaves/sieve/sieve.h') 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 #include -#include -#include -#include +#include +#include +#include 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 -- cgit v1.2.1