summaryrefslogtreecommitdiffstats
path: root/kdgantt
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-08 00:16:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-08 00:16:02 -0600
commit840aac8d62b0a05ac697eaef5c60460942f2f9ca (patch)
tree94468b51dcb8c801ccf692ae5b1554b5ad98ebfc /kdgantt
parent9fa7d0658d812c9f9d6c80c0a2ea8236209313d0 (diff)
downloadtdepim-840aac8d62b0a05ac697eaef5c60460942f2f9ca.tar.gz
tdepim-840aac8d62b0a05ac697eaef5c60460942f2f9ca.zip
Fix accidental conversion of dockwin
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: