summaryrefslogtreecommitdiffstats
path: root/kdgantt/KDGanttViewSubwidgets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdgantt/KDGanttViewSubwidgets.cpp')
-rw-r--r--kdgantt/KDGanttViewSubwidgets.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdgantt/KDGanttViewSubwidgets.cpp b/kdgantt/KDGanttViewSubwidgets.cpp
index 9f76bea6e..bd83feb14 100644
--- a/kdgantt/KDGanttViewSubwidgets.cpp
+++ b/kdgantt/KDGanttViewSubwidgets.cpp
@@ -2553,11 +2553,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 );
@@ -2602,7 +2602,7 @@ bool KDLegendWidget::asDoctwindow( )
}
-TQDockWindow* KDLegendWidget::doctwindow( )
+TQDockWindow* KDLegendWidget::dockwindow( )
{
return dock;
}