FileError Event
Reports a file access error to the application.
Syntax
class RESTServerFileErrorEventParams { public: qint64 ConnectionID(); const QString &FileName(); int ErrorCode(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void FileError(RESTServerFileErrorEventParams *e);
// Or, subclass RESTServer and override this emitter function. virtual int FireFileError(RESTServerFileErrorEventParams *e) {...}
Remarks
The class uses this event to report a file access errors. FileName and ErrorCode contain the file path and the error code respectively.