From a66f0a09b66888c0d080fc47651210b644b39114 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 7 Nov 2011 20:29:44 -0600 Subject: Rename kwin to twin (part 1 of 2) --- kdgantt/KDGanttViewSubwidgets.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kdgantt/KDGanttViewSubwidgets.cpp') diff --git a/kdgantt/KDGanttViewSubwidgets.cpp b/kdgantt/KDGanttViewSubwidgets.cpp index c6a326a3..9f76bea6 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; } -- cgit v1.2.3