diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-08 00:05:53 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-08 00:05:53 -0600 |
commit | de123eb5e3e3b2561b5836332456b4320ee3daf3 (patch) | |
tree | 231b2c8fd8bf4a93ad120de89704d0c774f058f7 /kdgantt | |
parent | 2b1df858bf24b199a5d3e4fc537df3e9701f8daa (diff) | |
download | koffice-de123eb5e3e3b2561b5836332456b4320ee3daf3.tar.gz koffice-de123eb5e3e3b2561b5836332456b4320ee3daf3.zip |
Fix accidental conversion of dockwin
Diffstat (limited to 'kdgantt')
-rw-r--r-- | kdgantt/KDGanttView.cpp | 2 | ||||
-rw-r--r-- | kdgantt/KDGanttViewSubwidgets.cpp | 8 | ||||
-rw-r--r-- | kdgantt/KDGanttViewSubwidgets.h | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/kdgantt/KDGanttView.cpp b/kdgantt/KDGanttView.cpp index f0c59184..f14ac027 100644 --- a/kdgantt/KDGanttView.cpp +++ b/kdgantt/KDGanttView.cpp @@ -653,7 +653,7 @@ void KDGanttView::slotHeaderSizeChanged() */ TQDockWindow* KDGanttView::legendDoctwindow() const { - return myLegend->doctwindow(); + return myLegend->dockwindow(); } diff --git a/kdgantt/KDGanttViewSubwidgets.cpp b/kdgantt/KDGanttViewSubwidgets.cpp index bb41746f..d158c75a 100644 --- a/kdgantt/KDGanttViewSubwidgets.cpp +++ b/kdgantt/KDGanttViewSubwidgets.cpp @@ -2565,11 +2565,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 ); @@ -2614,7 +2614,7 @@ bool KDLegendWidget::asDoctwindow( ) } -TQDockWindow* KDLegendWidget::doctwindow( ) +TQDockWindow* KDLegendWidget::dockwindow( ) { return dock; } diff --git a/kdgantt/KDGanttViewSubwidgets.h b/kdgantt/KDGanttViewSubwidgets.h index 4db6c950..8b7bc215 100644 --- a/kdgantt/KDGanttViewSubwidgets.h +++ b/kdgantt/KDGanttViewSubwidgets.h @@ -53,7 +53,7 @@ #include <tqlabel.h> #include <tqbrush.h> #include <tqvbox.h> -#include <tqdoctwindow.h> +#include <tqdockwindow.h> #include <tqtimer.h> #include "KDGanttView.h" @@ -335,9 +335,9 @@ public: void clearLegend(); void setFont( TQFont ); void drawToPainter( TQPainter *p ); - void setAsDoctwindow( bool doctwin ); + void setAsDoctwindow( bool dockwin ); bool asDoctwindow(); - TQDockWindow* doctwindow(); + TQDockWindow* dockwindow(); TQSize legendSize(); TQSize legendSizeHint(); private: |