diff options
Diffstat (limited to 'kioslaves/imap4/imapinfo.cc')
-rw-r--r-- | kioslaves/imap4/imapinfo.cc | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kioslaves/imap4/imapinfo.cc b/kioslaves/imap4/imapinfo.cc index be955c233..4d1fc805c 100644 --- a/kioslaves/imap4/imapinfo.cc +++ b/kioslaves/imap4/imapinfo.cc @@ -147,8 +147,8 @@ permanentFlagsAvailable_ (false), readWriteAvailable_ (false) else if (tokens[2] == "[PERMANENTFLAGS") { - int flagsStart = line.tqfind('('); - int flagsEnd = line.tqfind(')'); + int flagsStart = line.find('('); + int flagsEnd = line.find(')'); kdDebug(7116) << "Checking permFlags from " << flagsStart << " to " << flagsEnd << endl; if ((-1 != flagsStart) && (-1 != flagsEnd) && flagsStart < flagsEnd) @@ -170,8 +170,8 @@ permanentFlagsAvailable_ (false), readWriteAvailable_ (false) } else if (tokens[1] == "FLAGS") { - int flagsStart = line.tqfind ('('); - int flagsEnd = line.tqfind (')'); + int flagsStart = line.find ('('); + int flagsEnd = line.find (')'); if ((-1 != flagsStart) && (-1 != flagsEnd) && flagsStart < flagsEnd) setFlags (_flags (line.mid (flagsStart, flagsEnd).latin1() )); @@ -206,29 +206,29 @@ ulong imapInfo::_flags (const TQCString & inFlags) if (entry.isEmpty ()) flagsString.clear(); - else if (0 != entry.tqcontains ("\\SEEN")) + else if (0 != entry.contains ("\\SEEN")) flags ^= Seen; - else if (0 != entry.tqcontains ("\\ANSWERED")) + else if (0 != entry.contains ("\\ANSWERED")) flags ^= Answered; - else if (0 != entry.tqcontains ("\\FLAGGED")) + else if (0 != entry.contains ("\\FLAGGED")) flags ^= Flagged; - else if (0 != entry.tqcontains ("\\DELETED")) + else if (0 != entry.contains ("\\DELETED")) flags ^= Deleted; - else if (0 != entry.tqcontains ("\\DRAFT")) + else if (0 != entry.contains ("\\DRAFT")) flags ^= Draft; - else if (0 != entry.tqcontains ("\\RECENT")) + else if (0 != entry.contains ("\\RECENT")) flags ^= Recent; - else if (0 != entry.tqcontains ("\\*")) + else if (0 != entry.contains ("\\*")) flags ^= User; // non standard kmail falgs - else if ( entry.tqcontains( "KMAILFORWARDED" ) || entry.tqcontains( "$FORWARDED" ) ) + else if ( entry.contains( "KMAILFORWARDED" ) || entry.contains( "$FORWARDED" ) ) flags = flags | Forwarded; - else if ( entry.tqcontains( "KMAILTODO" ) || entry.tqcontains( "$TODO" ) ) + else if ( entry.contains( "KMAILTODO" ) || entry.contains( "$TODO" ) ) flags = flags | Todo; - else if ( entry.tqcontains( "KMAILWATCHED" ) || entry.tqcontains( "$WATCHED" ) ) + else if ( entry.contains( "KMAILWATCHED" ) || entry.contains( "$WATCHED" ) ) flags = flags | Watched; - else if ( entry.tqcontains( "KMAILIGNORED" ) || entry.tqcontains( "$IGNORED" ) ) + else if ( entry.contains( "KMAILIGNORED" ) || entry.contains( "$IGNORED" ) ) flags = flags | Ignored; } |