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 c6a326a3c..9f76bea6e 100644 --- a/kdgantt/KDGanttViewSubwidgets.cpp +++ b/kdgantt/KDGanttViewSubwidgets.cpp @@ -2553,11 +2553,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 ); @@ -2594,7 +2594,7 @@ void KDLegendWidget::setAsDockwindow( bool dockwin ) } -bool KDLegendWidget::asDockwindow( ) +bool KDLegendWidget::asDoctwindow( ) { if ( dock ) return true; @@ -2602,7 +2602,7 @@ bool KDLegendWidget::asDockwindow( ) } -TQDockWindow* KDLegendWidget::dockwindow( ) +TQDockWindow* KDLegendWidget::doctwindow( ) { return dock; } |