From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kioslaves/imap4/imaplist.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kioslaves/imap4/imaplist.cc') 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; -- cgit v1.2.1