|
|
|
@ -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);
|
|
|
|
|
|
|
|
|
|