diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:49:34 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-03 22:54:03 +0900 |
commit | 123ea9fbbf9d2cdbfd7169cd3d08bfb99ddc25cf (patch) | |
tree | f2ff2e43b85f547f0693e2c11cc6dd7e72082de3 /src/basket.cpp | |
parent | 2fa133cf6bc4c884678bd4d829163164af8ac5b9 (diff) | |
download | basket-123ea9fbbf9d2cdbfd7169cd3d08bfb99ddc25cf.tar.gz basket-123ea9fbbf9d2cdbfd7169cd3d08bfb99ddc25cf.zip |
Replace TQ_*Focus* and TQ_Scale* definesr14.1.1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 5665df9602807d84c8de673a2b4101f2e3a9fd89)
Diffstat (limited to 'src/basket.cpp')
-rw-r--r-- | src/basket.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); |