summaryrefslogtreecommitdiffstats
path: root/tdemdi
diff options
context:
space:
mode:
Diffstat (limited to 'tdemdi')
-rw-r--r--tdemdi/tdemdichildfrmcaption.cpp2
-rw-r--r--tdemdi/tdemdimainfrm.cpp10
2 files changed, 6 insertions, 6 deletions
diff --git a/tdemdi/tdemdichildfrmcaption.cpp b/tdemdi/tdemdichildfrmcaption.cpp
index 0d75619d6..e988a41f7 100644
--- a/tdemdi/tdemdichildfrmcaption.cpp
+++ b/tdemdi/tdemdichildfrmcaption.cpp
@@ -41,7 +41,7 @@
#include <tdelocale.h>
#include <iostream>
-#ifdef Q_WS_WIN
+#ifdef TQ_WS_WIN
//TODO: one day gradient can be added for win98/winnt5+
// ask system properties on windows
#ifndef SPI_GETGRADIENTCAPTIONS
diff --git a/tdemdi/tdemdimainfrm.cpp b/tdemdi/tdemdimainfrm.cpp
index e1e8e8f4f..2358b73ac 100644
--- a/tdemdi/tdemdimainfrm.cpp
+++ b/tdemdi/tdemdimainfrm.cpp
@@ -93,7 +93,7 @@
#include "kde2laptop_closebutton.xpm"
#include "kde2laptop_closebutton_menu.xpm"
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
#ifndef NO_KDE
#include <X11/X.h> // schroder
#include <X11/Xlib.h> // schroder
@@ -108,7 +108,7 @@
/* I hate the defines in the X11 header files. Get rid of one of them */
#undef KeyPress
#endif
-#endif // Q_WS_X11 && ! K_WS_QTONLY
+#endif // TQ_WS_X11 && ! K_WS_QTONLY
using namespace KParts;
@@ -698,7 +698,7 @@ void KMdiMainFrm::detachWindow( KMdiChildView *pWnd, bool bShow )
pWnd->setGeometry( TQRect( m_pMdi->getCascadePoint( m_pDocumentViews->count() - 1 ), defaultChildFrmSize() ) );
}
}
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
if ( mdiMode() == KMdi::ToplevelMode )
{
XSetTransientForHint( tqt_xdisplay(), pWnd->winId(), topLevelWidget() ->winId() );
@@ -708,7 +708,7 @@ void KMdiMainFrm::detachWindow( KMdiChildView *pWnd, bool bShow )
return ;
}
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
if ( mdiMode() == KMdi::ToplevelMode )
{
XSetTransientForHint( tqt_xdisplay(), pWnd->winId(), topLevelWidget() ->winId() );
@@ -1421,7 +1421,7 @@ void KMdiMainFrm::switchToToplevelMode()
TQPtrListIterator<KMdiChildView> tdemdicvit( *m_pDocumentViews );
for ( tdemdicvit.toFirst(); ( *tdemdicvit ); ++tdemdicvit )
{
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
XSetTransientForHint( tqt_xdisplay(), ( *tdemdicvit )->winId(), winId() );
#endif
( *tdemdicvit )->show();