summaryrefslogtreecommitdiffstats
path: root/kioslaves/imap4/imaplist.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kioslaves/imap4/imaplist.cc')
-rw-r--r--kioslaves/imap4/imaplist.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/kioslaves/imap4/imaplist.cc b/kioslaves/imap4/imaplist.cc
index b15c821d2..6c9dad64f 100644
--- a/kioslaves/imap4/imaplist.cc
+++ b/kioslaves/imap4/imaplist.cc
@@ -103,7 +103,7 @@ hasNoChildren_ (false)
hierarchyDelimiter_ = parser_->parseOneWordC(s);
if (hierarchyDelimiter_ == "NIL")
- hierarchyDelimiter_ = TQString::null;
+ hierarchyDelimiter_ = TQString();
name_ = rfcDecoder::fromIMAP (parser_->parseLiteral (s)); // decode modified UTF7
}
@@ -116,17 +116,17 @@ void imapList::parseAttributes( parseString & str )
orig = parser_->parseOneWordC(str);
attributes_ << orig;
attribute = orig.lower();
- if (-1 != attribute.find ("\\noinferiors"))
+ if (-1 != attribute.tqfind ("\\noinferiors"))
noInferiors_ = true;
- else if (-1 != attribute.find ("\\noselect"))
+ else if (-1 != attribute.tqfind ("\\noselect"))
noSelect_ = true;
- else if (-1 != attribute.find ("\\marked"))
+ else if (-1 != attribute.tqfind ("\\marked"))
marked_ = true;
- else if (-1 != attribute.find ("\\unmarked"))
+ else if (-1 != attribute.tqfind ("\\unmarked"))
unmarked_ = true;
- else if (-1 != attribute.find ("\\haschildren"))
+ else if (-1 != attribute.tqfind ("\\hastqchildren"))
hasChildren_ = true;
- else if (-1 != attribute.find ("\\hasnochildren"))
+ else if (-1 != attribute.tqfind ("\\hasnotqchildren"))
hasNoChildren_ = true;
else
kdDebug(7116) << "imapList::imapList: bogus attribute " << attribute << endl;