kxerrorhandler.cpp
48 KXErrorHandler::KXErrorHandler( bool (*handler)( int request, int error_code, unsigned long resource_id ), Display* dpy )
82 handlers = static_cast< KXErrorHandler** >( realloc( handlers, size * sizeof( KXErrorHandler* )));
bool error(bool sync) const
This function returns true if the error flag is set (i.e.
KXErrorHandler(Display *dpy=tqt_xdisplay())
Creates error handler that will set error flag after encountering any X error.
static int timestampCompare(unsigned long time1, unsigned long time2)
Compares two X timestamps, taking into account wrapping and 64bit architectures.