summaryrefslogtreecommitdiffstats
path: root/kioslaves/imap4/imaplist.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kioslaves/imap4/imaplist.cc
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
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
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;