summaryrefslogtreecommitdiffstats
path: root/libtdescreensaver/tdescreensaver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtdescreensaver/tdescreensaver.cpp')
-rw-r--r--libtdescreensaver/tdescreensaver.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libtdescreensaver/tdescreensaver.cpp b/libtdescreensaver/tdescreensaver.cpp
index 7441a5fcb..92c106bae 100644
--- a/libtdescreensaver/tdescreensaver.cpp
+++ b/libtdescreensaver/tdescreensaver.cpp
@@ -22,7 +22,7 @@
#include <tqtimer.h>
#include <tdeapplication.h>
#include "tdescreensaver.h"
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
#include <X11/Xlib.h>
#else
typedef WId Window;
@@ -56,7 +56,7 @@ KScreenSaver::KScreenSaver( WId id ) : TQWidget()
if ( id )
{
-#ifdef Q_WS_X11 //FIXME
+#ifdef TQ_WS_X11 //FIXME
XGetGeometry(tqt_xdisplay(), (Drawable)id, &root, &ai, &ai,
&w, &h, &au, &au);
#endif
@@ -80,7 +80,7 @@ KScreenSaver::~KScreenSaver()
void KScreenSaver::embed( TQWidget *w )
{
TDEApplication::sendPostedEvents();
-#ifdef Q_WS_X11 //FIXME
+#ifdef TQ_WS_X11 //FIXME
XReparentWindow(tqt_xdisplay(), w->winId(), winId(), 0, 0);
#endif
w->setGeometry( 0, 0, width(), height() );