summaryrefslogtreecommitdiffstats
path: root/kioslaves/sieve
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-13 15:08:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-13 15:08:46 -0600
commitd497b1b0373d758ede3d877ab68c8d7c8ab29062 (patch)
tree00ebfc47087a5fd82949fc1abf08dd7e03c1c631 /kioslaves/sieve
parent639f34ef2efdec6ff0d1f47d919ca070d027fb80 (diff)
downloadtdepim-d497b1b0373d758ede3d877ab68c8d7c8ab29062.tar.gz
tdepim-d497b1b0373d758ede3d877ab68c8d7c8ab29062.zip
Fix inadvertent TQt changes
This closes Bug 752
Diffstat (limited to 'kioslaves/sieve')
-rw-r--r--kioslaves/sieve/sieve.cpp8
-rw-r--r--kioslaves/sieve/sieve.h2
2 files changed, 5 insertions, 5 deletions
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();