diff options
Diffstat (limited to 'kdgantt/KDGanttViewSubwidgets.cpp')
-rw-r--r-- | kdgantt/KDGanttViewSubwidgets.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kdgantt/KDGanttViewSubwidgets.cpp b/kdgantt/KDGanttViewSubwidgets.cpp index 8acf172b..bb41746f 100644 --- a/kdgantt/KDGanttViewSubwidgets.cpp +++ b/kdgantt/KDGanttViewSubwidgets.cpp @@ -2565,11 +2565,11 @@ KDLegendWidget:: KDLegendWidget( TQWidget* parent, clearLegend(); showMe ( false ); } -void KDLegendWidget::setAsDockwindow( bool dockwin ) +void KDLegendWidget::setAsDoctwindow( bool doctwin ) { - if ( (dock == 0 && !dockwin) || ( dock && dockwin ) ) + if ( (dock == 0 && !doctwin) || ( dock && doctwin ) ) return; - if ( dockwin ) + if ( doctwin ) { setMaximizedWidget( 0 ); showMe ( false ); @@ -2606,7 +2606,7 @@ void KDLegendWidget::setAsDockwindow( bool dockwin ) } -bool KDLegendWidget::asDockwindow( ) +bool KDLegendWidget::asDoctwindow( ) { if ( dock ) return true; @@ -2614,7 +2614,7 @@ bool KDLegendWidget::asDockwindow( ) } -TQDockWindow* KDLegendWidget::dockwindow( ) +TQDockWindow* KDLegendWidget::doctwindow( ) { return dock; } |