26 #include <tqstringlist.h>
53 imapInfo ( const TQStringList &);
54 imapInfo ( const imapInfo &);
55 imapInfo & operator = ( const imapInfo &);
57 static ulong _flags ( const TQCString &);
59 void setCount (ulong l)
61 countAvailable_ = true;
65 void setRecent (ulong l)
67 recentAvailable_ = true;
71 void setUnseen (ulong l)
73 unseenAvailable_ = true;
77 void setUidValidity (ulong l)
79 uidValidityAvailable_ = true;
83 void setUidNext (ulong l)
85 uidNextAvailable_ = true;
89 void setFlags (ulong l)
91 flagsAvailable_ = true;
95 void setFlags ( const TQCString & inFlag)
97 flagsAvailable_ = true;
98 flags_ = _flags (inFlag);
101 void setPermanentFlags (ulong l)
103 permanentFlagsAvailable_ = true;
107 void setPermanentFlags ( const TQCString & inFlag)
109 permanentFlagsAvailable_ = true;
110 permanentFlags_ = _flags (inFlag);
113 void setReadWrite ( bool b)
115 readWriteAvailable_ = true;
119 void setAlert( const char* cstr )
129 ulong recent () const
134 ulong unseen () const
139 ulong uidValidity () const
144 ulong uidNext () const
154 ulong permanentFlags () const
156 return permanentFlags_;
159 bool readWrite () const
164 ulong countAvailable () const
166 return countAvailable_;
169 ulong recentAvailable () const
171 return recentAvailable_;
174 ulong unseenAvailable () const
176 return unseenAvailable_;
179 ulong uidValidityAvailable () const
181 return uidValidityAvailable_;
184 ulong uidNextAvailable () const
186 return uidNextAvailable_;
189 ulong flagsAvailable () const
191 return flagsAvailable_;
194 ulong permanentFlagsAvailable () const
196 return permanentFlagsAvailable_;
199 bool readWriteAvailable () const
201 return readWriteAvailable_;
204 TQCString alert() const
219 ulong permanentFlags_;
222 bool countAvailable_;
223 bool recentAvailable_;
224 bool unseenAvailable_;
225 bool uidValidityAvailable_;
226 bool uidNextAvailable_;
227 bool flagsAvailable_;
228 bool permanentFlagsAvailable_;
229 bool readWriteAvailable_;
|