SearchPage Event
Fired for every page returned from a search operation.
Syntax
class LDAPSearchPageEventParams { public: int MessageId(); const QString &DN(); int ResultCode(); const QString &ResultDescription(); bool CancelSearch(); void SetCancelSearch(bool bCancelSearch); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void SearchPage(LDAPSearchPageEventParams *e);
// Or, subclass LDAP and override this emitter function. virtual int FireSearchPage(LDAPSearchPageEventParams *e) {...}
Remarks
This event is where the client can decide whether to continue with the Search operation or not. The signature is very similar to the SearchComplete event, with the addition of a CancelSearch parameter. If the search should be canceled (no more pages), the CancelSearch parameter should be set to true.