From 5665df9602807d84c8de673a2b4101f2e3a9fd89 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 2 Sep 2023 15:49:34 +0900 Subject: Replace TQ_*Focus* and TQ_Scale* defines Signed-off-by: Michele Calgaro --- src/basket.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/basket.cpp') diff --git a/src/basket.cpp b/src/basket.cpp index a767275..62b859e 100644 --- a/src/basket.cpp +++ b/src/basket.cpp @@ -257,7 +257,7 @@ void DecoratedBasket::resetFilter() TransparentWidget::TransparentWidget(Basket *basket) : TQWidget(basket->viewport(), "", TQt::WNoAutoErase), m_basket(basket) { - setFocusPolicy(TQ_NoFocus); + setFocusPolicy(TQWidget::NoFocus); setWFlags(TQt::WNoAutoErase); setMouseTracking(true); // To receive mouseMoveEvents @@ -1076,7 +1076,7 @@ void Basket::equalizeColumnSizes() void Basket::enableActions() { Global::bnpView->enableActions(); - setFocusPolicy(isLocked() ? TQ_NoFocus : TQ_StrongFocus); + setFocusPolicy(isLocked() ? TQWidget::NoFocus : TQWidget::StrongFocus); if (isLocked()) viewport()->setCursor(TQt::ArrowCursor); // When locking, the cursor stays the last form it was } @@ -1363,7 +1363,7 @@ Basket::Basket(TQWidget *parent, const TQString &folderName) if (!m_folderName.endsWith("/")) m_folderName += "/"; - setFocusPolicy(TQ_StrongFocus); + setFocusPolicy(TQWidget::StrongFocus); setWFlags(TQt::WNoAutoErase); setDragAutoScroll(true); -- cgit v1.2.1