diff options
Diffstat (limited to 'kalarm')
-rw-r--r-- | kalarm/functions.cpp | 2 | ||||
-rw-r--r-- | kalarm/traywindow.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kalarm/functions.cpp b/kalarm/functions.cpp index 0221ea86b..e1e897e37 100644 --- a/kalarm/functions.cpp +++ b/kalarm/functions.cpp @@ -1074,7 +1074,7 @@ bool runKOrganizer() void x11_cancelScreenSaver() { kdDebug(5950) << "KAlarm::cancelScreenSaver()" << endl; - Display* display = qt_xdisplay(); + Display* display = tqt_xdisplay(); static int XTestKeyCode = 0; if (!XTestKeyCode) XTestKeyCode = XKeysymToKeycode(display, XK_Shift_L); diff --git a/kalarm/traywindow.cpp b/kalarm/traywindow.cpp index 81af39266..62c93f6ea 100644 --- a/kalarm/traywindow.cpp +++ b/kalarm/traywindow.cpp @@ -329,7 +329,7 @@ bool TrayWindow::inSystemTray() const Window* children = 0; unsigned int nchildren; // Find the X parent window of the widget. This is not the same as the TQt parent widget. - if (!XQueryTree(qt_xdisplay(), winId(), &root, &xParent, &children, &nchildren)) + if (!XQueryTree(tqt_xdisplay(), winId(), &root, &xParent, &children, &nchildren)) return true; // error determining its parent X window if (children) XFree(children); |