GroupList Event
Fired while group data transfers (during group listings).
Syntax
class SNNTPGroupListEventParams { public: const QString &Group(); qint64 FirstArticle(); qint64 LastArticle(); bool CanPost(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void GroupList(SNNTPGroupListEventParams *e);
// Or, subclass SNNTP and override this emitter function. virtual int FireGroupList(SNNTPGroupListEventParams *e) {...}
Remarks
The GroupList event is fired for every group reported by the NewsServer when the ListGroups or ListNewGroups method is called.
The Group parameter shows the name of the group.
The FirstArticle and LastArticle parameters contain the article numbers for the first and last articles in the group.
The CanPost is True or False depending on whether article posting is allowed in the group specified by Group.