GroupList Event

Fired while group data transfers (during group listings).

Syntax

class NNTPGroupListEventParams {
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(NNTPGroupListEventParams *e);
// Or, subclass NNTP and override this emitter function. virtual int FireGroupList(NNTPGroupListEventParams *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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Qt Edition - Version 20.0 [Build 8307]