diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
commit | afbfdc507bfaafc8824a9808311d57a9ece87510 (patch) | |
tree | 47be45bbd69c321ce79e14b683e59318748be9cb /kdgantt | |
parent | 880d042b2902fae8007f202dd35ad9330499867b (diff) | |
download | koffice-afbfdc507bfaafc8824a9808311d57a9ece87510.tar.gz koffice-afbfdc507bfaafc8824a9808311d57a9ece87510.zip |
Rename incorrect instances of tqrepaint[...] to repaint[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdgantt')
-rw-r--r-- | kdgantt/KDGanttView.cpp | 12 | ||||
-rw-r--r-- | kdgantt/KDGanttViewSubwidgets.cpp | 8 | ||||
-rw-r--r-- | kdgantt/KDGanttViewSubwidgets.h | 2 |
3 files changed, 11 insertions, 11 deletions
diff --git a/kdgantt/KDGanttView.cpp b/kdgantt/KDGanttView.cpp index 98bd0782..478c478f 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 */ @@ -532,12 +532,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. @@ -986,7 +986,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 c07e1e6f..e38b0937 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(); } @@ -1873,7 +1873,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) ; @@ -2383,7 +2383,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()); } @@ -2534,7 +2534,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 c9f37d43..f2b6cadc 100644 --- a/kdgantt/KDGanttViewSubwidgets.h +++ b/kdgantt/KDGanttViewSubwidgets.h @@ -170,7 +170,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 ); |