summaryrefslogtreecommitdiffstats
path: root/kdgantt
diff options
context:
space:
mode:
Diffstat (limited to 'kdgantt')
-rw-r--r--kdgantt/KDGanttView.cpp12
-rw-r--r--kdgantt/KDGanttViewSubwidgets.cpp8
-rw-r--r--kdgantt/KDGanttViewSubwidgets.h2
3 files changed, 11 insertions, 11 deletions
diff --git a/kdgantt/KDGanttView.cpp b/kdgantt/KDGanttView.cpp
index 1c2667b37..db9d85360 100644
--- a/kdgantt/KDGanttView.cpp
+++ b/kdgantt/KDGanttView.cpp
@@ -69,7 +69,7 @@
In order to set up a Gantt view, create an object of this class, and
populate it with a number of \a KDGanttViewItem objects.
- If you experience problems with the tqrepainting of the content of the
+ If you experience problems with the repainting of the content of the
Gantt View after scrolling, call \a setRepaintMode().
*/
@@ -296,7 +296,7 @@ void KDGanttView::show()
}
/*!
Closes the widget.
- The closing is rejected, if a tqrepainting is currently being done.
+ The closing is rejected, if a repainting is currently being done.
\param alsoDelete if true, the widget is deleted
\return true, if the widget was closed
*/
@@ -525,12 +525,12 @@ void KDGanttView::slotMouseButtonPressed ( int button, TQListViewItem * item,
/*!
- Specifies whether the content should be tqrepainted after scrolling or
+ Specifies whether the content should be repainted after scrolling or
not.
- \param mode If No, there is no tqrepainting after scrolling. This is
+ \param mode If No, there is no repainting after scrolling. This is
the fastest mode.
- If Medium, there is extra tqrepainting after releasing the
+ If Medium, there is extra repainting after releasing the
scrollbar. This provides fast scrolling with updated content
after scrolling. Recommended, when tqrepaint problems occur.
This is the default value after startup.
@@ -979,7 +979,7 @@ TQSize KDGanttView::drawContents( TQPainter* p,
}
if ( drawTimeLine ) {
p->translate( myCanvasView->frameWidth(), 0);
- myTimeHeader->tqrepaintMe( 0, myTimeHeader->width(), p );
+ myTimeHeader->repaintMe( 0, myTimeHeader->width(), p );
p->translate( -myCanvasView->frameWidth(), thY);
myCanvasView->drawToPainter( p );
if ( drawListView )
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();
diff --git a/kdgantt/KDGanttViewSubwidgets.h b/kdgantt/KDGanttViewSubwidgets.h
index af893c863..8c0c61485 100644
--- a/kdgantt/KDGanttViewSubwidgets.h
+++ b/kdgantt/KDGanttViewSubwidgets.h
@@ -175,7 +175,7 @@ public:
return ccList;
}
TQColor weekdayColor[8];
- void tqrepaintMe(int left, int wid, TQPainter *p = 0);
+ void repaintMe(int left, int wid, TQPainter *p = 0);
void centerDateTime( const TQDateTime& center );