From fc5197ec86abe5dc0fa4b48979684845b52357f2 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 7 Jul 2011 21:14:06 +0000 Subject: Rename incorrect instances of tqrepaint[...] to repaint[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdgantt/KDGanttView.cpp | 12 ++++++------ kdgantt/KDGanttViewSubwidgets.cpp | 8 ++++---- kdgantt/KDGanttViewSubwidgets.h | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'kdgantt') diff --git a/kdgantt/KDGanttView.cpp b/kdgantt/KDGanttView.cpp index 1c2667b3..db9d8536 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 88591e88..1c076b3c 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 af893c86..8c0c6148 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 ); -- cgit v1.2.3