|
|
@ -169,7 +169,7 @@ void FormWindow::init()
|
|
|
|
unclippedPainter = 0;
|
|
|
|
unclippedPainter = 0;
|
|
|
|
widgetPressed = FALSE;
|
|
|
|
widgetPressed = FALSE;
|
|
|
|
drawRubber = FALSE;
|
|
|
|
drawRubber = FALSE;
|
|
|
|
setFocusPolicy( TQ_ClickFocus );
|
|
|
|
setFocusPolicy( TQWidget::ClickFocus );
|
|
|
|
sizePreviewLabel = 0;
|
|
|
|
sizePreviewLabel = 0;
|
|
|
|
checkSelectionsTimer = new TQTimer( this, "checkSelectionsTimer" );
|
|
|
|
checkSelectionsTimer = new TQTimer( this, "checkSelectionsTimer" );
|
|
|
|
connect( checkSelectionsTimer, TQT_SIGNAL( timeout() ),
|
|
|
|
connect( checkSelectionsTimer, TQT_SIGNAL( timeout() ),
|
|
|
@ -1779,7 +1779,7 @@ void FormWindow::showOrderIndicators()
|
|
|
|
TQWidget* w = (TQWidget*) o;
|
|
|
|
TQWidget* w = (TQWidget*) o;
|
|
|
|
if ( w->isShown() &&
|
|
|
|
if ( w->isShown() &&
|
|
|
|
insertedWidgets[ (void*)w ] &&
|
|
|
|
insertedWidgets[ (void*)w ] &&
|
|
|
|
w->focusPolicy() != TQ_NoFocus ) {
|
|
|
|
w->focusPolicy() != TQWidget::NoFocus ) {
|
|
|
|
OrderIndicator* ind = new OrderIndicator( order++, w, this );
|
|
|
|
OrderIndicator* ind = new OrderIndicator( order++, w, this );
|
|
|
|
orderIndicators.append( ind );
|
|
|
|
orderIndicators.append( ind );
|
|
|
|
if ( stackedWidgets.findRef( w ) == -1 )
|
|
|
|
if ( stackedWidgets.findRef( w ) == -1 )
|
|
|
@ -2758,7 +2758,7 @@ void FormWindow::setFormFile( FormFile *f )
|
|
|
|
|
|
|
|
|
|
|
|
bool FormWindow::canBeBuddy( const TQWidget *w ) const
|
|
|
|
bool FormWindow::canBeBuddy( const TQWidget *w ) const
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return w->focusPolicy() != TQ_NoFocus;
|
|
|
|
return w->focusPolicy() != TQWidget::NoFocus;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool FormWindow::event( TQEvent *e )
|
|
|
|
bool FormWindow::event( TQEvent *e )
|
|
|
|