From 8bd291c0e8a9d8b6eec6f5217e4d5c2f1fd06b96 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 2 Mar 2012 02:13:02 -0600 Subject: Rename additional global functions and variables for tqt3 --- kscreensaver/random.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kscreensaver/random.cpp') diff --git a/kscreensaver/random.cpp b/kscreensaver/random.cpp index cd984a145..d4b90b037 100644 --- a/kscreensaver/random.cpp +++ b/kscreensaver/random.cpp @@ -125,7 +125,7 @@ int main(int argc, char *argv[]) if (args->isSet("root")) { - windowId = RootWindow(qt_xdisplay(), qt_xscreen()); + windowId = RootWindow(tqt_xdisplay(), tqt_xscreen()); } KGlobal::dirs()->addResourceType("scrsav", @@ -250,10 +250,10 @@ int main(int argc, char *argv[]) // If we end up here then we couldn't start a saver. // If we have been supplied a window id or root window then blank it. - Window win = windowId ? windowId : RootWindow(qt_xdisplay(), qt_xscreen()); - XSetWindowBackground(qt_xdisplay(), win, - BlackPixel(qt_xdisplay(), qt_xscreen())); - XClearWindow(qt_xdisplay(), win); + Window win = windowId ? windowId : RootWindow(tqt_xdisplay(), tqt_xscreen()); + XSetWindowBackground(tqt_xdisplay(), win, + BlackPixel(tqt_xdisplay(), tqt_xscreen())); + XClearWindow(tqt_xdisplay(), win); } -- cgit v1.2.1