summaryrefslogtreecommitdiffstats
path: root/src/widgets/qdockwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/qdockwindow.cpp')
-rw-r--r--src/widgets/qdockwindow.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/widgets/qdockwindow.cpp b/src/widgets/qdockwindow.cpp
index 93823706f..e889e5a4d 100644
--- a/src/widgets/qdockwindow.cpp
+++ b/src/widgets/qdockwindow.cpp
@@ -57,10 +57,10 @@
#include "ntqcursor.h"
#include "ntqstyle.h"
-#if defined(Q_WS_MAC9)
+#if defined(TQ_WS_MAC9)
#define MAC_DRAG_HACK
#endif
-#ifdef Q_WS_MACX
+#ifdef TQ_WS_MACX
static bool default_opaque = TRUE;
#else
static bool default_opaque = FALSE;
@@ -393,7 +393,7 @@ TQDockWindowHandle::TQDockWindowHandle( TQDockWindow *dw )
ctrlDown = FALSE;
timer = new TQTimer( this );
connect( timer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( minimize() ) );
-#ifdef Q_WS_WIN
+#ifdef TQ_WS_WIN
setCursor( SizeAllCursor );
#endif
}
@@ -476,7 +476,7 @@ void TQDockWindowHandle::mouseReleaseEvent( TQMouseEvent *e )
return;
dockWindow->endRectDraw( !opaque );
mousePressed = FALSE;
-#ifdef Q_WS_MAC
+#ifdef TQ_WS_MAC
releaseMouse();
#endif
if ( !hadDblClick && offset == e->pos() ) {
@@ -613,7 +613,7 @@ void TQDockWindowTitleBar::mousePressEvent( TQMouseEvent *e )
oldFocus = tqApp->focusWidget();
// setFocus activates the window, which deactivates the main window
// not what we want, and not required anyway on Windows
-#ifndef Q_WS_WIN
+#ifndef TQ_WS_WIN
setFocus();
#endif
@@ -631,7 +631,7 @@ void TQDockWindowTitleBar::mousePressEvent( TQMouseEvent *e )
dockWindow->startRectDraw( mapToGlobal( e->pos() ), !opaque );
// grabMouse resets the Windows mouse press count, so we never receive a double click on Windows
// not required on Windows, and did work on X11, too, but no problem there in the first place
-#ifndef Q_WS_WIN
+#ifndef TQ_WS_WIN
if(!oldPressed && dockWindow->opaqueMoving())
grabMouse();
#else
@@ -1271,7 +1271,7 @@ void TQDockWindow::updateGui()
verHandle->show();
else
verHandle->hide();
-#ifdef Q_WS_MAC
+#ifdef TQ_WS_MAC
if(horHandle->mousePressed) {
horHandle->mousePressed = FALSE;
verHandle->mousePressed = TRUE;
@@ -1285,7 +1285,7 @@ void TQDockWindow::updateGui()
else
horHandle->hide();
horHandle->updateGui();
-#ifdef Q_WS_MAC
+#ifdef TQ_WS_MAC
if(verHandle->mousePressed) {
verHandle->mousePressed = FALSE;
horHandle->mousePressed = TRUE;