summaryrefslogtreecommitdiffstats
path: root/tdeui/tdemessagebox.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-02-13 11:10:37 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-02-15 10:29:09 +0900
commit5e51787f9af4fd86450fab9e787b4037a772bca3 (patch)
treea792ad1d832ef77fd48f6c545d5bf35f8490d6eb /tdeui/tdemessagebox.cpp
parent3b1a091b3f8c0e88904ed2395e9d7efe590c9495 (diff)
downloadtdelibs-5e51787f9af4fd86450fab9e787b4037a772bca3.tar.gz
tdelibs-5e51787f9af4fd86450fab9e787b4037a772bca3.zip
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 03aa7238b34bb438632b6d572b008e32960f0895)
Diffstat (limited to 'tdeui/tdemessagebox.cpp')
-rw-r--r--tdeui/tdemessagebox.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/tdeui/tdemessagebox.cpp b/tdeui/tdemessagebox.cpp
index 53c51d271..49648a74d 100644
--- a/tdeui/tdemessagebox.cpp
+++ b/tdeui/tdemessagebox.cpp
@@ -45,7 +45,7 @@
#include <kiconloader.h>
#include <tdeglobalsettings.h>
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
#include <X11/Xlib.h>
#endif
@@ -432,7 +432,7 @@ KMessageBox::questionYesNoListWId(WId parent_id, const TQString &text,
buttonYes, buttonNo);
if( options & PlainCaption )
dialog->setPlainCaption( caption );
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
if( parent == NULL && parent_id )
XSetTransientForHint( tqt_xdisplay(), dialog->winId(), parent_id );
#endif
@@ -483,7 +483,7 @@ KMessageBox::questionYesNoCancelWId(WId parent_id,
buttonYes, buttonNo);
if( options & PlainCaption )
dialog->setPlainCaption( caption );
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
if( parent == NULL && parent_id )
XSetTransientForHint( tqt_xdisplay(), dialog->winId(), parent_id );
#endif
@@ -565,7 +565,7 @@ KMessageBox::warningYesNoListWId(WId parent_id, const TQString &text,
buttonYes, buttonNo);
if( options & PlainCaption )
dialog->setPlainCaption( caption );
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
if( parent == NULL && parent_id )
XSetTransientForHint( tqt_xdisplay(), dialog->winId(), parent_id );
#endif
@@ -637,7 +637,7 @@ KMessageBox::warningContinueCancelListWId(WId parent_id, const TQString &text,
buttonContinue, KStdGuiItem::cancel() );
if( options & PlainCaption )
dialog->setPlainCaption( caption );
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
if( parent == NULL && parent_id )
XSetTransientForHint( tqt_xdisplay(), dialog->winId(), parent_id );
#endif
@@ -713,7 +713,7 @@ KMessageBox::warningYesNoCancelListWId(WId parent_id, const TQString &text,
buttonYes, buttonNo);
if( options & PlainCaption )
dialog->setPlainCaption( caption );
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
if( parent == NULL && parent_id )
XSetTransientForHint( tqt_xdisplay(), dialog->winId(), parent_id );
#endif
@@ -764,7 +764,7 @@ KMessageBox::errorListWId(WId parent_id, const TQString &text, const TQStringLi
KStdGuiItem::ok() );
if( options & PlainCaption )
dialog->setPlainCaption( caption );
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
if( parent == NULL && parent_id )
XSetTransientForHint( tqt_xdisplay(), dialog->winId(), parent_id );
#endif
@@ -794,7 +794,7 @@ KMessageBox::detailedErrorWId(WId parent_id, const TQString &text,
KStdGuiItem::ok() );
if( options & PlainCaption )
dialog->setPlainCaption( caption );
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
if( parent == NULL && parent_id )
XSetTransientForHint( tqt_xdisplay(), dialog->winId(), parent_id );
#endif
@@ -841,7 +841,7 @@ KMessageBox::sorryWId(WId parent_id, const TQString &text,
KStdGuiItem::ok() );
if( options & PlainCaption )
dialog->setPlainCaption( caption );
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
if( parent == NULL && parent_id )
XSetTransientForHint( tqt_xdisplay(), dialog->winId(), parent_id );
#endif
@@ -871,7 +871,7 @@ KMessageBox::detailedSorryWId(WId parent_id, const TQString &text,
KStdGuiItem::ok() );
if( options & PlainCaption )
dialog->setPlainCaption( caption );
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
if( parent == NULL && parent_id )
XSetTransientForHint( tqt_xdisplay(), dialog->winId(), parent_id );
#endif
@@ -917,7 +917,7 @@ KMessageBox::informationListWId(WId parent_id,const TQString &text, const TQStri
KStdGuiItem::ok() );
if( options & PlainCaption )
dialog->setPlainCaption( caption );
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
if( parent == NULL && parent_id )
XSetTransientForHint( tqt_xdisplay(), dialog->winId(), parent_id );
#endif