diff options
Diffstat (limited to 'src/kernel/qclipboard_x11.cpp')
-rw-r--r-- | src/kernel/qclipboard_x11.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/qclipboard_x11.cpp b/src/kernel/qclipboard_x11.cpp index 8f602d84e..32f428fcf 100644 --- a/src/kernel/qclipboard_x11.cpp +++ b/src/kernel/qclipboard_x11.cpp @@ -480,7 +480,7 @@ bool qt_xclb_wait_for_event( Display *dpy, Window win, int type, XEvent *event, TQTime started = TQTime::currentTime(); TQTime now = started; - if (qApp->eventLoop()->inherits("TQMotif")) { // yes yes, evil hack, we know + if (tqApp->eventLoop()->inherits("TQMotif")) { // yes yes, evil hack, we know if ( waiting_for_data ) qFatal( "TQClipboard: internal error, qt_xclb_wait_for_event recursed" ); @@ -503,7 +503,7 @@ bool qt_xclb_wait_for_event( Display *dpy, Window win, int type, XEvent *event, started = now; // 0x08 == ExcludeTimers for X11 only - qApp->eventLoop()->processEvents( TQEventLoop::ExcludeUserInput | + tqApp->eventLoop()->processEvents( TQEventLoop::ExcludeUserInput | TQEventLoop::ExcludeSocketNotifiers | TQEventLoop::WaitForMore | 0x08 ); @@ -537,7 +537,7 @@ bool qt_xclb_wait_for_event( Display *dpy, Window win, int type, XEvent *event, // process other clipboard events, since someone is probably requesting data from us XEvent e; if (XCheckIfEvent(dpy, &e, checkForClipboardEvents, 0)) - qApp->x11ProcessEvent(&e); + tqApp->x11ProcessEvent(&e); now = TQTime::currentTime(); if ( started > now ) // crossed midnight |