kxerrorhandler.h
70 KXErrorHandler( bool (*handler)( int request, int error_code, unsigned long resource_id ), Display* dpy = tqt_xdisplay());
KXErrorHandler(Display *dpy=tqt_xdisplay())
Creates error handler that will set error flag after encountering any X error.
KXErrorHandler(int(*handler)(Display *, XErrorEvent *), Display *dpy=tqt_xdisplay())
This constructor takes pointer to a function whose prototype matches the one that's used with the XSe...
bool error(bool sync) const
This function returns true if the error flag is set (i.e.
KXErrorHandler(bool(*handler)(int request, int error_code, unsigned long resource_id), Display *dpy=tqt_xdisplay())
This constructor takes pointer to a function that will get request number, error code number and reso...