summaryrefslogtreecommitdiffstats
path: root/kdialog
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-02-13 11:09:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-02-14 23:27:16 +0900
commit2d7d2122cf33aa713cebef95981305039c798003 (patch)
tree5475258078fa4044901c26c26ac4d04500fa2233 /kdialog
parent55dd5ae8226b7d73b0883f827472e420977160e5 (diff)
downloadtdebase-2d7d2122cf33aa713cebef95981305039c798003.tar.gz
tdebase-2d7d2122cf33aa713cebef95981305039c798003.zip
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kdialog')
-rw-r--r--kdialog/kdialog.cpp12
-rw-r--r--kdialog/widgets.cpp4
2 files changed, 8 insertions, 8 deletions
diff --git a/kdialog/kdialog.cpp b/kdialog/kdialog.cpp
index c7bfc26f3..47320d0b0 100644
--- a/kdialog/kdialog.cpp
+++ b/kdialog/kdialog.cpp
@@ -48,7 +48,7 @@
#include <kicondialog.h>
#include <kdirselectdialog.h>
-#if defined Q_WS_X11 && ! defined K_WS_QTONLY
+#if defined TQ_WS_X11 && ! defined K_WS_QTONLY
#include <netwm.h>
#endif
@@ -56,9 +56,9 @@
using namespace std;
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
extern "C" { int XSetTransientForHint( Display *, unsigned long, unsigned long ); }
-#endif // Q_WS_X11
+#endif // TQ_WS_X11
static TDECmdLineOptions options[] =
{
@@ -128,7 +128,7 @@ bool WinIdEmbedder::eventFilter(TQObject *o, TQEvent *e)
TQWidget *w = static_cast<TQWidget*>(o);
if (print)
cout << "winId: " << w->winId() << endl;
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
if (id)
XSetTransientForHint(w->x11Display(), w->winId(), id);
#endif
@@ -305,7 +305,7 @@ static int directCommand(TDECmdLineArgs *args)
TQObject::connect( popup, TQ_SIGNAL( clicked() ), kapp, TQ_SLOT( quit() ) );
timer->start( duration, TRUE );
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
if ( ! kapp->geometryArgument().isEmpty()) {
int x, y;
int w, h;
@@ -525,7 +525,7 @@ static int directCommand(TDECmdLineArgs *args)
TQString startDir;
startDir = TQString::fromLocal8Bit(args->getOption("getexistingdirectory"));
TQString result;
-#ifdef Q_WS_WIN
+#ifdef TQ_WS_WIN
result = TQFileDialog::getExistingDirectory(startDir, 0, "getExistingDirectory",
title, true, true);
#else
diff --git a/kdialog/widgets.cpp b/kdialog/widgets.cpp
index f68acfe4f..126eeec22 100644
--- a/kdialog/widgets.cpp
+++ b/kdialog/widgets.cpp
@@ -35,13 +35,13 @@
#include <tqvbox.h>
#include <tqfile.h>
-#if defined Q_WS_X11 && ! defined K_WS_QTONLY
+#if defined TQ_WS_X11 && ! defined K_WS_QTONLY
#include <netwm.h>
#endif
void Widgets::handleXGeometry(TQWidget * dlg)
{
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
if ( ! kapp->geometryArgument().isEmpty()) {
int x, y;
int w, h;