diff options
Diffstat (limited to 'kscreensaver/xsavers')
-rw-r--r-- | kscreensaver/xsavers/saver.cpp | 6 | ||||
-rw-r--r-- | kscreensaver/xsavers/swarm.cpp | 4 | ||||
-rw-r--r-- | kscreensaver/xsavers/xlock.cpp | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/kscreensaver/xsavers/saver.cpp b/kscreensaver/xsavers/saver.cpp index 9af37da0..1c11fd73 100644 --- a/kscreensaver/xsavers/saver.cpp +++ b/kscreensaver/xsavers/saver.cpp @@ -16,14 +16,14 @@ kScreenSaver::kScreenSaver(Drawable drawable) : TQObject() unsigned int au; mDrawable = drawable; - mGc = XCreateGC(qt_xdisplay(), mDrawable, 0, 0); - XGetGeometry(qt_xdisplay(), mDrawable, &root, &ai, &ai, + mGc = XCreateGC(tqt_xdisplay(), mDrawable, 0, 0); + XGetGeometry(tqt_xdisplay(), mDrawable, &root, &ai, &ai, &mWidth, &mHeight, &au, &au); } kScreenSaver::~kScreenSaver() { - XFreeGC(qt_xdisplay(), mGc); + XFreeGC(tqt_xdisplay(), mGc); } //----------------------------------------------------------------------------- diff --git a/kscreensaver/xsavers/swarm.cpp b/kscreensaver/xsavers/swarm.cpp index 76ba08db..57968ec8 100644 --- a/kscreensaver/xsavers/swarm.cpp +++ b/kscreensaver/xsavers/swarm.cpp @@ -261,8 +261,8 @@ kSwarmSaver::kSwarmSaver( Drawable drawable ) : kScreenSaver( drawable ) readSettings(); // Clear to background colour when exposed - XSetWindowBackground(qt_xdisplay(), mDrawable, - BlackPixel(qt_xdisplay(), qt_xscreen())); + XSetWindowBackground(tqt_xdisplay(), mDrawable, + BlackPixel(tqt_xdisplay(), tqt_xscreen())); colorContext = TQColor::enterAllocContext(); diff --git a/kscreensaver/xsavers/xlock.cpp b/kscreensaver/xsavers/xlock.cpp index aaf1cea7..7b826158 100644 --- a/kscreensaver/xsavers/xlock.cpp +++ b/kscreensaver/xsavers/xlock.cpp @@ -62,8 +62,8 @@ void initXLock( GC gc ) { SetRNG( time(NULL) ); - dsp = qt_xdisplay(); - screen = qt_xscreen(); + dsp = tqt_xdisplay(); + screen = tqt_xscreen(); Screen *scr = ScreenOfDisplay(dsp, screen); |