|
|
|
@ -2565,11 +2565,11 @@ KDLegendWidget:: KDLegendWidget( TQWidget* parent,
|
|
|
|
|
clearLegend();
|
|
|
|
|
showMe ( false );
|
|
|
|
|
}
|
|
|
|
|
void KDLegendWidget::setAsDoctwindow( bool doctwin )
|
|
|
|
|
void KDLegendWidget::setAsDoctwindow( bool dockwin )
|
|
|
|
|
{
|
|
|
|
|
if ( (dock == 0 && !doctwin) || ( dock && doctwin ) )
|
|
|
|
|
if ( (dock == 0 && !dockwin) || ( dock && dockwin ) )
|
|
|
|
|
return;
|
|
|
|
|
if ( doctwin )
|
|
|
|
|
if ( dockwin )
|
|
|
|
|
{
|
|
|
|
|
setMaximizedWidget( 0 );
|
|
|
|
|
showMe ( false );
|
|
|
|
@ -2614,7 +2614,7 @@ bool KDLegendWidget::asDoctwindow( )
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TQDockWindow* KDLegendWidget::doctwindow( )
|
|
|
|
|
TQDockWindow* KDLegendWidget::dockwindow( )
|
|
|
|
|
{
|
|
|
|
|
return dock;
|
|
|
|
|
}
|
|
|
|
|