summaryrefslogtreecommitdiffstats
path: root/kscreensaver
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:13:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:13:02 -0600
commit8bd291c0e8a9d8b6eec6f5217e4d5c2f1fd06b96 (patch)
treebf71d4bfa94d0561e80456400ae5fe2bb501fbd8 /kscreensaver
parente8a1cdc01d38125bea12d5494db977ae6429919a (diff)
downloadtdebase-8bd291c0e8a9d8b6eec6f5217e4d5c2f1fd06b96.tar.gz
tdebase-8bd291c0e8a9d8b6eec6f5217e4d5c2f1fd06b96.zip
Rename additional global functions and variables for tqt3
Diffstat (limited to 'kscreensaver')
-rw-r--r--kscreensaver/random.cpp10
1 files changed, 5 insertions, 5 deletions
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);
}