From d497b1b0373d758ede3d877ab68c8d7c8ab29062 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 13 Jan 2012 15:08:46 -0600 Subject: Fix inadvertent TQt changes This closes Bug 752 --- kioslaves/sieve/sieve.cpp | 8 ++++---- kioslaves/sieve/sieve.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kioslaves/sieve') diff --git a/kioslaves/sieve/sieve.cpp b/kioslaves/sieve/sieve.cpp index 4e7e75d30..8cba6a50c 100644 --- a/kioslaves/sieve/sieve.cpp +++ b/kioslaves/sieve/sieve.cpp @@ -151,7 +151,7 @@ const TQCString& kio_sieveResponse::getExtra() const /* ---------------------------------------------------------------------------------- */ void kio_sieveResponse::setQuantity(const uint& newTQty) { - rType = TQUANTITY; + rType = QUANTITY; quantity = newTQty; } @@ -661,7 +661,7 @@ void kio_sieveProtocol::put(const KURL& url, int /*permissions*/, bool /*overwri // send the extra message off for re-processing receiveData(false, &extra); - if (r.getType() == kio_sieveResponse::TQUANTITY) { + if (r.getType() == kio_sieveResponse::QUANTITY) { // length of the error message uint len = r.getQuantity(); @@ -736,7 +736,7 @@ void kio_sieveProtocol::get(const KURL& url) if (!sendData("GETSCRIPT \"" + filename.utf8() + "\"")) return; - if (receiveData() && r.getType() == kio_sieveResponse::TQUANTITY) { + if (receiveData() && r.getType() == kio_sieveResponse::QUANTITY) { // determine script size ssize_t total_len = r.getQuantity(); totalSize( total_len ); @@ -1105,7 +1105,7 @@ bool kio_sieveProtocol::authenticate() ksDebug() << "Challenge len " << r.getQuantity() << endl; - if (r.getType() != kio_sieveResponse::TQUANTITY) { + if (r.getType() != kio_sieveResponse::QUANTITY) { sasl_dispose( &conn ); error(ERR_SLAVE_DEFINED, i18n("A protocol error occurred during authentication.\n" diff --git a/kioslaves/sieve/sieve.h b/kioslaves/sieve/sieve.h index 4a22cbe14..d435892ec 100644 --- a/kioslaves/sieve/sieve.h +++ b/kioslaves/sieve/sieve.h @@ -30,7 +30,7 @@ class KURL; class kio_sieveResponse { public: - enum responses { NONE, KEY_VAL_PAIR, ACTION, TQUANTITY }; + enum responses { NONE, KEY_VAL_PAIR, ACTION, QUANTITY }; kio_sieveResponse(); -- cgit v1.2.1