summaryrefslogtreecommitdiffstats
path: root/src/dialogs/qdialog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-02-12 14:08:42 +0900
committerMichele Calgaro <[email protected]>2024-02-12 14:08:52 +0900
commit67bff2edcacb208dc44dcd521386bef686dc6dbf (patch)
tree538584042585402a59d4b1464b117033778ccc28 /src/dialogs/qdialog.cpp
parentfb401a891f1b426e9419c0cb16403df407138611 (diff)
downloadtqt3-67bff2edcacb208dc44dcd521386bef686dc6dbf.tar.gz
tqt3-67bff2edcacb208dc44dcd521386bef686dc6dbf.zip
Replace Q_WS_* defines with TQ_WS_* equivalents
This is the first part of the replacement process. Usage of Q_WS_* has been replaced with the equivalent TQ_WS_*. Definition of Q_WS_* has been mirrored into TQ_WS_* defines, to allow TDE code to continue building till replacement is carried over to all other modules. Once that is completed, the original Q_WS_* defines will be removed. Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/dialogs/qdialog.cpp')
-rw-r--r--src/dialogs/qdialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dialogs/qdialog.cpp b/src/dialogs/qdialog.cpp
index 7df3bbea9..f8067b545 100644
--- a/src/dialogs/qdialog.cpp
+++ b/src/dialogs/qdialog.cpp
@@ -671,14 +671,14 @@ bool TQDialog::event( TQEvent *e )
Geometry management.
*****************************************************************************/
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
extern "C" { int XSetTransientForHint( Display *, unsigned long, unsigned long ); }
#include <private/qt_x11_p.h>
#undef FocusIn
// defined in qapplication_x11.cpp
extern Atom qt_net_wm_full_placement;
extern bool qt_net_supports(Atom atom);
-#endif // Q_WS_X11
+#endif // TQ_WS_X11
/*!
Shows the dialog as a \link #modeless modeless \endlink dialog.
@@ -710,14 +710,14 @@ void TQDialog::show()
if (windowState() != state)
setWindowState(state);
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
if (!parentWidget() && testWFlags(WShowModal)
&& tqApp->mainWidget() && tqApp->mainWidget()->isVisible()
&& !tqApp->mainWidget()->isMinimized()) {
// make sure the transient for hint is set properly for modal dialogs
x11SetWindowTransient( tqApp->mainWidget());
}
-#endif // Q_WS_X11
+#endif // TQ_WS_X11
#ifdef Q_OS_TEMP
hideSpecial();