summaryrefslogtreecommitdiffstats
path: root/kioslaves/imap4/imapparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'kioslaves/imap4/imapparser.h')
-rw-r--r--kioslaves/imap4/imapparser.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kioslaves/imap4/imapparser.h b/kioslaves/imap4/imapparser.h
index d40524d1c..0552baf83 100644
--- a/kioslaves/imap4/imapparser.h
+++ b/kioslaves/imap4/imapparser.h
@@ -60,9 +60,9 @@ public:
if (pos >= data.size()) return TQCString();
return TQCString(data.data() + pos, data.size() - pos + 1);
}
- int find(char c, int index = 0)
+ int tqfind(char c, int index = 0)
{
- int res = data.find(c, index + pos);
+ int res = data.tqfind(c, index + pos);
return (res == -1) ? res : (res - pos);
}
// Warning: does not check for going past end of "data"
@@ -244,7 +244,7 @@ public:
* @param resultInfo The resultinfo from the command
* @return success or failure
*/
- bool clientAuthenticate (KIO::SlaveBase *slave, KIO::AuthInfo &ai, const TQString & aFQDN,
+ bool clientAuthenticate (KIO::SlaveBase *slave, KIO::AuthInfo &ai, const TQString & aFTQDN,
const TQString & aAuth, bool isSSL, TQString & resultInfo);
/**
@@ -263,7 +263,7 @@ public:
void parseRecent (ulong value, parseString & result);
/** @brief parse a RESULT line */
void parseResult (TQByteArray & result, parseString & rest,
- const TQString & command = TQString::null);
+ const TQString & command = TQString());
/** @brief parse a CAPABILITY line */
void parseCapability (parseString & result);
/** @brief parse a FLAGS line */
@@ -279,7 +279,7 @@ public:
/** @brief parse a SEARCH line */
void parseSearch (parseString & result);
/** @brief parse a STATUS line */
- void parseStatus (parseString & result);
+ void parsetqStatus (parseString & result);
/** @brief parse a EXISTS line */
void parseExists (ulong value, parseString & result);
/** @brief parse a EXPUNGE line */
@@ -290,9 +290,9 @@ public:
void parseAnnotation (parseString & result);
/** @brief parse a NAMESPACE line */
void parseNamespace (parseString & result);
- /** @brief parse a QUOTAROOT line */
+ /** @brief parse a TQUOTAROOT line */
void parseQuotaRoot (parseString & result);
- /** @brief parse a QUOTA line */
+ /** @brief parse a TQUOTA line */
void parseQuota (parseString & result);
/** @brief parse a custom command line */
void parseCustom (parseString & result);
@@ -356,7 +356,7 @@ public:
// generic parser routines
- /** parse a parenthesized list */
+ /** parse a tqparenthesized list */
void parseSentence (parseString & inWords);
/** parse a literal or word, may require more data */
@@ -404,9 +404,9 @@ public:
};
/** @brief return the last status code */
- const imapInfo & geStatus ()
+ const imapInfo & getqStatus ()
{
- return lasStatus;
+ return lastqStatus;
};
/** return the select info */
const imapInfo & getSelected ()
@@ -450,7 +450,7 @@ protected:
imapInfo selectInfo;
/** @brief the results from the last status command */
- imapInfo lasStatus;
+ imapInfo lastqStatus;
/** @brief the results from the capabilities, split at ' ' */
TQStringList imapCapabilities;