|
|
|
@ -66,7 +66,7 @@ void ScanStack::appendAndRaiseWidget( ScanWidget* scanWidget )
|
|
|
|
|
// ================
|
|
|
|
|
|
|
|
|
|
void ScanStack::appendHTMLWidget( HTMLWidget* htmlWidget )
|
|
|
|
|
{ ASSERT( m_widgetId == 1 );
|
|
|
|
|
{ Q_ASSERT( m_widgetId == 1 );
|
|
|
|
|
addWidget( (TQWidget*) htmlWidget, m_widgetId++ );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -94,7 +94,7 @@ short ScanStack::indexOfVisibleScanWidget( )
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
if( !moreScanWidgets( i ))
|
|
|
|
|
{ ASSERT( false );
|
|
|
|
|
{ Q_ASSERT( false );
|
|
|
|
|
return -1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -108,7 +108,7 @@ ScanWidget* ScanStack::makeScanWidgetVisible( const ushort index )
|
|
|
|
|
{ ScanWidget* current = scanWidget( index );
|
|
|
|
|
|
|
|
|
|
if( current == NULL )
|
|
|
|
|
ASSERT( false );
|
|
|
|
|
Q_ASSERT( false );
|
|
|
|
|
else
|
|
|
|
|
{ current->ignoreTabChanges( true );
|
|
|
|
|
raiseWidget( current );
|
|
|
|
@ -156,7 +156,7 @@ void ScanStack::removeScanWidget( ScanWidget* scanWidgetToRemove )
|
|
|
|
|
short index = findScanWidget( scanWidgetToRemove );
|
|
|
|
|
|
|
|
|
|
if( index < 0 )
|
|
|
|
|
{ ASSERT( false );
|
|
|
|
|
{ Q_ASSERT( false );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|