summaryrefslogtreecommitdiffstats
path: root/kioslaves/sieve/sieve.h
diff options
context:
space:
mode:
Diffstat (limited to 'kioslaves/sieve/sieve.h')
-rw-r--r--kioslaves/sieve/sieve.h34
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