summaryrefslogtreecommitdiffstats
path: root/src/basket.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:49:34 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:49:34 +0900
commit5665df9602807d84c8de673a2b4101f2e3a9fd89 (patch)
treefedb01e31dc81d28355b82a5f1182f55b05bcbf3 /src/basket.cpp
parent809cae7dcd9211781f6671f121c552dc3d5061b3 (diff)
downloadbasket-5665df9602807d84c8de673a2b4101f2e3a9fd89.tar.gz
basket-5665df9602807d84c8de673a2b4101f2e3a9fd89.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/basket.cpp')
-rw-r--r--src/basket.cpp6
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);