diff options
author | Michele Calgaro <[email protected]> | 2024-02-13 11:10:37 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-02-15 10:29:09 +0900 |
commit | 5e51787f9af4fd86450fab9e787b4037a772bca3 (patch) | |
tree | a792ad1d832ef77fd48f6c545d5bf35f8490d6eb /libtdescreensaver/tdescreensaver.cpp | |
parent | 3b1a091b3f8c0e88904ed2395e9d7efe590c9495 (diff) | |
download | tdelibs-5e51787f9af4fd86450fab9e787b4037a772bca3.tar.gz tdelibs-5e51787f9af4fd86450fab9e787b4037a772bca3.zip |
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 03aa7238b34bb438632b6d572b008e32960f0895)
Diffstat (limited to 'libtdescreensaver/tdescreensaver.cpp')
-rw-r--r-- | libtdescreensaver/tdescreensaver.cpp | 6 |
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() ); |