summaryrefslogtreecommitdiffstats
path: root/kioslaves/imap4/imapinfo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kioslaves/imap4/imapinfo.cc')
-rw-r--r--kioslaves/imap4/imapinfo.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/kioslaves/imap4/imapinfo.cc b/kioslaves/imap4/imapinfo.cc
index 4d1fc805c..c65eca0c7 100644
--- a/kioslaves/imap4/imapinfo.cc
+++ b/kioslaves/imap4/imapinfo.cc
@@ -206,29 +206,29 @@ ulong imapInfo::_flags (const TQCString & inFlags)
if (entry.isEmpty ())
flagsString.clear();
- else if (0 != entry.contains ("\\SEEN"))
+ else if (0 != entry.tqcontains ("\\SEEN"))
flags ^= Seen;
- else if (0 != entry.contains ("\\ANSWERED"))
+ else if (0 != entry.tqcontains ("\\ANSWERED"))
flags ^= Answered;
- else if (0 != entry.contains ("\\FLAGGED"))
+ else if (0 != entry.tqcontains ("\\FLAGGED"))
flags ^= Flagged;
- else if (0 != entry.contains ("\\DELETED"))
+ else if (0 != entry.tqcontains ("\\DELETED"))
flags ^= Deleted;
- else if (0 != entry.contains ("\\DRAFT"))
+ else if (0 != entry.tqcontains ("\\DRAFT"))
flags ^= Draft;
- else if (0 != entry.contains ("\\RECENT"))
+ else if (0 != entry.tqcontains ("\\RECENT"))
flags ^= Recent;
- else if (0 != entry.contains ("\\*"))
+ else if (0 != entry.tqcontains ("\\*"))
flags ^= User;
// non standard kmail falgs
- else if ( entry.contains( "KMAILFORWARDED" ) || entry.contains( "$FORWARDED" ) )
+ else if ( entry.tqcontains( "KMAILFORWARDED" ) || entry.tqcontains( "$FORWARDED" ) )
flags = flags | Forwarded;
- else if ( entry.contains( "KMAILTODO" ) || entry.contains( "$TODO" ) )
+ else if ( entry.tqcontains( "KMAILTODO" ) || entry.tqcontains( "$TODO" ) )
flags = flags | Todo;
- else if ( entry.contains( "KMAILWATCHED" ) || entry.contains( "$WATCHED" ) )
+ else if ( entry.tqcontains( "KMAILWATCHED" ) || entry.tqcontains( "$WATCHED" ) )
flags = flags | Watched;
- else if ( entry.contains( "KMAILIGNORED" ) || entry.contains( "$IGNORED" ) )
+ else if ( entry.tqcontains( "KMAILIGNORED" ) || entry.tqcontains( "$IGNORED" ) )
flags = flags | Ignored;
}