From 8e634f32e5d144142f17e5d1e191db2fdec3ac03 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 13 Feb 2024 11:03:25 +0900 Subject: Replace Q_WS_* defines with TQ_WS_* equivalents Signed-off-by: Michele Calgaro (cherry picked from commit fb29802cdbc55ecbf7431cdea2bc62f2143260ce) --- sessionapplet/dmctl.cpp | 4 ++-- sessionapplet/dmctl.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sessionapplet/dmctl.cpp b/sessionapplet/dmctl.cpp index 5390c29..f6a1d35 100644 --- a/sessionapplet/dmctl.cpp +++ b/sessionapplet/dmctl.cpp @@ -19,7 +19,7 @@ #include "dmctl.h" -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 #include #include @@ -320,4 +320,4 @@ DM::lockSwitchVT( int vt ) kapp->dcopClient()->send( "kdesktop", "KScreensaverIface", "lock()", "" ); } -#endif // Q_WS_X11 +#endif // TQ_WS_X11 diff --git a/sessionapplet/dmctl.h b/sessionapplet/dmctl.h index f8ce2c2..4d31c6b 100644 --- a/sessionapplet/dmctl.h +++ b/sessionapplet/dmctl.h @@ -33,7 +33,7 @@ typedef TQValueList SessList; class DM { -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 public: DM(); @@ -64,7 +64,7 @@ private: bool exec( const char *cmd, TQCString &ret ); bool exec( const char *cmd ); -#else // Q_WS_X11 +#else // TQ_WS_X11 public: DM() {} @@ -84,7 +84,7 @@ public: bool bootOptions( TQStringList &opts, int &dflt, int &curr ); -#endif // Q_WS_X11 +#endif // TQ_WS_X11 }; // class DM -- cgit v1.2.1