Header Event
Fired every time a header is parsed.
Syntax
class MIMEHeaderEventParams { public: int PartIndex(); const QString &Field(); const QByteArray &Value(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void Header(MIMEHeaderEventParams *e);
// Or, subclass MIME and override this emitter function. virtual int FireHeader(MIMEHeaderEventParams *e) {...}
Remarks
The PartIndex parameter contains the index of the part containing the current header. If the header is from the MIME body, this value will be -1. The Field parameter contains the name of the MIME header. The Value parameter contains the header contents. The Header event is fired when a header is parsed, which occurs for each header of the Message when DecodeFromFile, DecodeFromString, or DecodeFromStream is called.