QueryQuota Event
Reflects a quota enquiry by a client.
Syntax
class WebDAVServerQueryQuotaEventParams { public: qint64 ConnectionID(); const QString &Username(); qint64 Available(); void SetAvailable(qint64 lAvailable); qint64 Used(); void SetUsed(qint64 lUsed); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void QueryQuota(WebDAVServerQueryQuotaEventParams *e);
// Or, subclass WebDAVServer and override this emitter function. virtual int FireQueryQuota(WebDAVServerQueryQuotaEventParams *e) {...}
Remarks
This event fires in response to a client's enquire about their quota status. Subscribe to this event to react to such enquiries in a customized manner. Use Available and Used properties to report the respective amounts back to the client.