From 2b1df858bf24b199a5d3e4fc537df3e9701f8daa Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 7 Nov 2011 20:18:15 -0600 Subject: Rename kwin to twin (part 1 of 2) --- kdgantt/KDGanttView.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kdgantt/KDGanttView.cpp') diff --git a/kdgantt/KDGanttView.cpp b/kdgantt/KDGanttView.cpp index d9bd17b5..f0c59184 100644 --- a/kdgantt/KDGanttView.cpp +++ b/kdgantt/KDGanttView.cpp @@ -613,12 +613,12 @@ void KDGanttView::slotHeaderSizeChanged() Specifies whether the legend should be shown as a dock window or not. \param show if true, show legend as a dock window - \sa showLegend(), legendIsDockwindow(), legendDockwindow() -*/void KDGanttView::setLegendIsDockwindow( bool show ) + \sa showLegend(), legendIsDoctwindow(), legendDoctwindow() +*/void KDGanttView::setLegendIsDoctwindow( bool show ) { - bool isdock = myLegend->asDockwindow(); + bool isdock = myLegend->asDoctwindow(); if ( show != isdock ) { - myLegend->setAsDockwindow(show); + myLegend->setAsDoctwindow(show); // legend is cleared - reinit legend with list legendItem* li; for ( li = myLegendItems->first(); li; li = myLegendItems->next() ) { @@ -632,10 +632,10 @@ void KDGanttView::slotHeaderSizeChanged() Returns whether the legend is shown as a dock window \return true if the legend is shown as a dock window - \sa setShowLegend(), setLegendIsDockwindow(), legendDockwindow() -*/bool KDGanttView::legendIsDockwindow() const + \sa setShowLegend(), setLegendIsDoctwindow(), legendDoctwindow() +*/bool KDGanttView::legendIsDoctwindow() const { - return myLegend->asDockwindow(); + return myLegend->asDoctwindow(); } @@ -644,16 +644,16 @@ void KDGanttView::slotHeaderSizeChanged() DO NOT DELETE THIS POINTER! If the legend is not a dock window, 0 is returned To set the legend as a dock window, call - KDGanttView::setLegendIsDockwindow( true ); + KDGanttView::setLegendIsDoctwindow( true ); \return the pointer to the legend dock window 0 is returned, if the legend is no dock window DO NOT DELETE THIS POINTER! - \sa setShowLegend(), setLegendIsDockwindow(),legendIsDockwindow() + \sa setShowLegend(), setLegendIsDoctwindow(),legendIsDoctwindow() */ -TQDockWindow* KDGanttView::legendDockwindow() const +TQDockWindow* KDGanttView::legendDoctwindow() const { - return myLegend->dockwindow(); + return myLegend->doctwindow(); } @@ -2526,7 +2526,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc ) } else if( tagName == "LegendIsDockWindow" ) { bool value; if( KDGanttXML::readBoolNode( element, value ) ) - setLegendIsDockwindow( value ); + setLegendIsDoctwindow( value ); } else if( tagName == "ShowListView" ) { bool value; if( KDGanttXML::readBoolNode( element, value ) ) @@ -3282,7 +3282,7 @@ TQDomDocument KDGanttView::saveXML( bool withPI ) const // the LegendIsDockWindow element KDGanttXML::createBoolNode( doc, docRoot, "LegendIsDockWindow", - legendIsDockwindow() ); + legendIsDoctwindow() ); // the ShowListView element KDGanttXML::createBoolNode( doc, docRoot, "ShowListView", showListView() ); -- cgit v1.2.1