From 5e51787f9af4fd86450fab9e787b4037a772bca3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 13 Feb 2024 11:10:37 +0900 Subject: Replace Q_WS_* defines with TQ_WS_* equivalents Signed-off-by: Michele Calgaro (cherry picked from commit 03aa7238b34bb438632b6d572b008e32960f0895) --- tdemdi/tdemdimainfrm.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tdemdi/tdemdimainfrm.cpp') 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 // schroder #include // 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 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(); -- cgit v1.2.1