summaryrefslogtreecommitdiffstats
path: root/kdgantt
diff options
context:
space:
mode:
Diffstat (limited to 'kdgantt')
-rw-r--r--kdgantt/KDGanttView.cpp2
-rw-r--r--kdgantt/KDGanttViewSubwidgets.cpp8
-rw-r--r--kdgantt/KDGanttViewSubwidgets.h6
3 files changed, 8 insertions, 8 deletions
diff --git a/kdgantt/KDGanttView.cpp b/kdgantt/KDGanttView.cpp
index 0af98043b..5a1618a31 100644
--- a/kdgantt/KDGanttView.cpp
+++ b/kdgantt/KDGanttView.cpp
@@ -646,7 +646,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 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;
}
diff --git a/kdgantt/KDGanttViewSubwidgets.h b/kdgantt/KDGanttViewSubwidgets.h
index cbccbb109..7b553222a 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"
@@ -341,9 +341,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: