5 #include "icqcontacts.h"
14 void exchange(int nid
);
17 icqgroup(int aid
, const string
&aname
);
20 string
getname() const { return name
; }
21 int getid() const { return id
; }
23 int getcount(bool countonline
, bool countoffline
);
25 bool iscollapsed() { return collapsed
; }
26 void changecollapsed() { collapsed
= !collapsed
; }
31 void rename(const string
&aname
);
33 bool operator == (int aid
) const { return id
== aid
; }
34 bool operator != (int aid
) const { return !(*this == aid
); }
36 bool operator == (const string
&aname
) const { return name
== aname
; }
37 bool operator != (const string
&aname
) const { return !(*this == aname
); }
39 bool operator < (const icqgroup
&ag
) const { return id
< ag
.id
; }
40 bool operator > (const icqgroup
&ag
) const { return id
> ag
.id
; }