Source Code (Use browser search to find items of interest.)
Class Index
kfax'MyApp (./kdegraphics/kfax/kfax.h:94)
class MyApp:public KApplication {
public:
virtual bool x11EventFilter( XEvent * );
};
kfax'MyApp::x11EventFilter() (./kdegraphics/kfax/kfax.cpp:157)
bool MyApp::x11EventFilter( XEvent * ev){
/* printf("Event %d for window %d\n", ev->type, ev->xany.window);*/
if (KApplication::x11EventFilter(ev))
return TRUE;
if (ev->type == ButtonRelease){
/* this is so that the cursor goes back to normal on leaving the fax window
and that the fax won't be moved when I reenter after I release the mouse*/
if (buttondown == true){
buttondown = false;
XDefineCursor(qtdisplay, Win, ReadyCursor);
XFlush(qtdisplay);
}
}
if ( ev->xany.window == qtwin ||
ev->xany.window == Win){
if(startingup || have_no_fax)
return FALSE;
toplevel->handle_X_event(*ev);
ev->xany.window = qtwin;
}
return FALSE;
}