From 80c2465371e5a7ab2dd6adb3c2bc32baa1c9b4ee Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 21 Nov 2023 11:42:12 +0900 Subject: Replace various tq* strings with TQt::* equivalents Signed-off-by: Michele Calgaro --- tdemdi/tdemdichildfrm.cpp | 8 ++++---- tdemdi/tdemdichildfrmcaption.cpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tdemdi') diff --git a/tdemdi/tdemdichildfrm.cpp b/tdemdi/tdemdichildfrm.cpp index 6bf5d69f5..0dc3036fa 100644 --- a/tdemdi/tdemdichildfrm.cpp +++ b/tdemdi/tdemdichildfrm.cpp @@ -238,19 +238,19 @@ void KMdiChildFrm::setResizeCursor( int resizeCorner ) break; case KMDI_RESIZE_LEFT: case KMDI_RESIZE_RIGHT: - TQApplication::setOverrideCursor( tqsizeHorCursor, true ); + TQApplication::setOverrideCursor( TQt::sizeHorCursor, true ); break; case KMDI_RESIZE_TOP: case KMDI_RESIZE_BOTTOM: - TQApplication::setOverrideCursor( tqsizeVerCursor, true ); + TQApplication::setOverrideCursor( TQt::sizeVerCursor, true ); break; case KMDI_RESIZE_TOPLEFT: case KMDI_RESIZE_BOTTOMRIGHT: - TQApplication::setOverrideCursor( tqsizeFDiagCursor, true ); + TQApplication::setOverrideCursor( TQt::sizeFDiagCursor, true ); break; case KMDI_RESIZE_BOTTOMLEFT: case KMDI_RESIZE_TOPRIGHT: - TQApplication::setOverrideCursor( tqsizeBDiagCursor, true ); + TQApplication::setOverrideCursor( TQt::sizeBDiagCursor, true ); break; } } diff --git a/tdemdi/tdemdichildfrmcaption.cpp b/tdemdi/tdemdichildfrmcaption.cpp index b7ec51bdc..0d75619d6 100644 --- a/tdemdi/tdemdichildfrmcaption.cpp +++ b/tdemdi/tdemdichildfrmcaption.cpp @@ -90,7 +90,7 @@ void KMdiChildFrmCaption::mousePressEvent( TQMouseEvent *e ) setMouseTracking( false ); if ( KMdiMainFrm::frameDecorOfAttachedViews() != KMdi::Win95Look ) { - TQApplication::setOverrideCursor( tqsizeAllCursor, true ); + TQApplication::setOverrideCursor( TQt::sizeAllCursor, true ); } m_pParent->m_bDragging = true; m_offset = mapToParent( e->pos() ); @@ -313,7 +313,7 @@ void KMdiChildFrmCaption::slot_moveViaSystemMenu() grabMouse(); if ( KMdiMainFrm::frameDecorOfAttachedViews() != KMdi::Win95Look ) - TQApplication::setOverrideCursor( tqsizeAllCursor, true ); + TQApplication::setOverrideCursor( TQt::sizeAllCursor, true ); m_pParent->m_bDragging = true; m_offset = mapFromGlobal( TQCursor::pos() ); -- cgit v1.2.1