diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-07 20:29:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-07 20:29:44 -0600 |
commit | a66f0a09b66888c0d080fc47651210b644b39114 (patch) | |
tree | 817d01cecfb618d62f65929a984455ec1bbf94f0 /kdgantt/KDGanttView.cpp | |
parent | 8fdee58df91aa54d53e3e0147f20df18dce3a06e (diff) | |
download | tdepim-a66f0a09b66888c0d080fc47651210b644b39114.tar.gz tdepim-a66f0a09b66888c0d080fc47651210b644b39114.zip |
Rename kwin to twin (part 1 of 2)
Diffstat (limited to 'kdgantt/KDGanttView.cpp')
-rw-r--r-- | kdgantt/KDGanttView.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kdgantt/KDGanttView.cpp b/kdgantt/KDGanttView.cpp index 303ca8651..0af98043b 100644 --- a/kdgantt/KDGanttView.cpp +++ b/kdgantt/KDGanttView.cpp @@ -606,12 +606,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() ) { @@ -625,10 +625,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(); } @@ -637,16 +637,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(); } @@ -2529,7 +2529,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 ) ) @@ -3285,7 +3285,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() ); |