summaryrefslogtreecommitdiffstats
path: root/kdgantt/KDGanttViewSubwidgets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdgantt/KDGanttViewSubwidgets.cpp')
-rw-r--r--kdgantt/KDGanttViewSubwidgets.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdgantt/KDGanttViewSubwidgets.cpp b/kdgantt/KDGanttViewSubwidgets.cpp
index 88591e887..1c076b3ca 100644
--- a/kdgantt/KDGanttViewSubwidgets.cpp
+++ b/kdgantt/KDGanttViewSubwidgets.cpp
@@ -1436,7 +1436,7 @@ void KDTimeHeaderWidget::setShowMinorTicks( bool show )
flagShowMinorTicks = show;
if (show)
setShowMajorTicks(false );
- //tqrepaintMe();
+ //repaintMe();
updateTimeTable();
}
@@ -1861,7 +1861,7 @@ int KDTimeHeaderWidget::autoScaleMinorTickCount()
}
-void KDTimeHeaderWidget::tqrepaintMe(int left,int paintwid, TQPainter* painter)
+void KDTimeHeaderWidget::repaintMe(int left,int paintwid, TQPainter* painter)
{
if (flagDoNotRecomputeAfterChange) return;
TQColorGroup qcg =TQColorGroup( white, black,white, darkGray,black,gray,gray) ;
@@ -2371,7 +2371,7 @@ void KDTimeHeaderWidget::centerDateTime( const TQDateTime& center )
void KDTimeHeaderWidget::paintEvent(TQPaintEvent *p)
{
- tqrepaintMe(p->rect().x(),p->rect().width());
+ repaintMe(p->rect().x(),p->rect().width());
}
@@ -2522,7 +2522,7 @@ void KDTimeHeaderWidget::mouseMoveEvent ( TQMouseEvent * e )
myGanttView->myCanvasView->horizontalScrollBar()->lineStep();
}
- tqrepaintMe(-x(),tqparentWidget()->width());
+ repaintMe(-x(),tqparentWidget()->width());
if ( val > -1 ) {
if ( val > myGanttView->myCanvasView->horizontalScrollBar()->maxValue() ) {
val = myGanttView->myCanvasView->horizontalScrollBar()->maxValue();