26 #include <tqstringlist.h>
35 imapInfo ( const TQStringList &);
36 imapInfo ( const imapInfo &);
37 imapInfo & operator = ( const imapInfo &);
39 ulong _flags ( const TQString &) const;
41 void setCount (ulong l)
43 countAvailable_ = true;
47 void setRecent (ulong l)
49 recentAvailable_ = true;
53 void setUnseen (ulong l)
55 unseenAvailable_ = true;
59 void setUidValidity (ulong l)
61 uidValidityAvailable_ = true;
65 void setUidNext (ulong l)
67 uidNextAvailable_ = true;
71 void setFlags (ulong l)
73 flagsAvailable_ = true;
77 void setFlags ( const TQString & inFlag)
79 flagsAvailable_ = true;
80 flags_ = _flags (inFlag);
83 void setPermanentFlags (ulong l)
85 permanentFlagsAvailable_ = true;
89 void setPermanentFlags ( const TQString & inFlag)
91 permanentFlagsAvailable_ = true;
92 permanentFlags_ = _flags (inFlag);
95 void setReadWrite ( bool b)
97 readWriteAvailable_ = true;
106 ulong recent () const
111 ulong unseen () const
116 ulong uidValidity () const
121 ulong uidNext () const
131 ulong permanentFlags () const
133 return permanentFlags_;
136 bool readWrite () const
141 ulong countAvailable () const
143 return countAvailable_;
146 ulong recentAvailable () const
148 return recentAvailable_;
151 ulong unseenAvailable () const
153 return unseenAvailable_;
156 ulong uidValidityAvailable () const
158 return uidValidityAvailable_;
161 ulong uidNextAvailable () const
163 return uidNextAvailable_;
166 ulong flagsAvailable () const
168 return flagsAvailable_;
171 ulong permanentFlagsAvailable () const
173 return permanentFlagsAvailable_;
176 bool readWriteAvailable () const
178 return readWriteAvailable_;
189 ulong permanentFlags_;
192 bool countAvailable_;
193 bool recentAvailable_;
194 bool unseenAvailable_;
195 bool uidValidityAvailable_;
196 bool uidNextAvailable_;
197 bool flagsAvailable_;
198 bool permanentFlagsAvailable_;
199 bool readWriteAvailable_;
|