13 void exchange(int nid
);
16 icqgroup(int aid
, const string
&aname
);
19 string
getname() const { return name
; }
20 int getid() const { return id
; }
22 int getcount(bool countonline
, bool countoffline
);
24 bool iscollapsed() { return collapsed
; }
25 void changecollapsed() { collapsed
= !collapsed
; }
30 void rename(const string
&aname
);
32 bool operator == (int aid
) const { return id
== aid
; }
33 bool operator != (int aid
) const { return !(*this == aid
); }
35 bool operator == (const string
&aname
) const { return name
== aname
; }
36 bool operator != (const string
&aname
) const { return !(*this == aname
); }
38 bool operator < (const icqgroup
&ag
) const { return id
< ag
.id
; }
39 bool operator > (const icqgroup
&ag
) const { return id
> ag
.id
; }