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 | 6b126a99d5eecef5cb96589ed5c2e522bcb06ca9 (patch) | |
tree | e4e31932b79676c78a072eb46676daf50d542c60 | |
parent | bfbb1d3a6b7c6abfa434d03139a3226c7369bb4b (diff) | |
download | tdesdk-6b126a99d5eecef5cb96589ed5c2e522bcb06ca9.tar.gz tdesdk-6b126a99d5eecef5cb96589ed5c2e522bcb06ca9.zip |
Rename incorrect instances of tqrepaint[...] to repaint[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r-- | cervisia/qttableview.cpp | 28 | ||||
-rw-r--r-- | kompare/komparepart/komparesplitter.cpp | 6 | ||||
-rw-r--r-- | kompare/komparepart/komparesplitter.h | 2 |
3 files changed, 18 insertions, 18 deletions
diff --git a/cervisia/qttableview.cpp b/cervisia/qttableview.cpp index 2a45e5b5..9e555d50 100644 --- a/cervisia/qttableview.cpp +++ b/cervisia/qttableview.cpp @@ -226,7 +226,7 @@ void QtTableView::show() At present, QtTableView is the only widget that reimplements \link TQWidget::tqrepaint() tqrepaint()\endlink. It does this because by - clearing and then tqrepainting one cell at at time, it can make the + clearing and then repainting one cell at at time, it can make the screen flicker less than it would otherwise. */ void QtTableView::tqrepaint( int x, int y, int w, int h, bool erase ) @@ -264,7 +264,7 @@ void QtTableView::tqrepaint( int x, int y, int w, int h, bool erase ) Sets the number of rows of the table to \a rows (must be non-negative). Does not change topCell(). - The table tqrepaints itself automatically if autoUpdate() is set. + The table repaints itself automatically if autoUpdate() is set. \sa numCols(), setNumCols(), numRows() */ @@ -306,7 +306,7 @@ void QtTableView::setNumRows( int rows ) Sets the number of columns of the table to \a cols (must be non-negative). Does not change leftCell(). - The table tqrepaints itself automatically if autoUpdate() is set. + The table repaints itself automatically if autoUpdate() is set. \sa numCols(), numRows(), setNumRows() */ @@ -716,7 +716,7 @@ int QtTableView::totalHeight() Sets the table flags to \a f. If a flag setting changes the appearance of the table, the table is - tqrepainted if - and only if - autoUpdate() is TRUE. + repainted if - and only if - autoUpdate() is TRUE. The table flags are mostly single bits, though there are some multibit flags for convenience. Here is a complete list: @@ -785,7 +785,7 @@ void QtTableView::setTableFlags( uint f ) bool updateOn = autoUpdate(); setAutoUpdate( FALSE ); - uint tqrepaintMask = Tbl_cutCellsV | Tbl_cutCellsH; + uint repaintMask = Tbl_cutCellsV | Tbl_cutCellsH; if ( f & Tbl_vScrollBar ) { setVerScrollBar( TRUE ); @@ -816,14 +816,14 @@ void QtTableView::setTableFlags( uint f ) (f & Tbl_snapToVGrid) != 0 && yCellDelta != 0 ) { snapToGrid( (f & Tbl_snapToHGrid) != 0, // do snapping (f & Tbl_snapToVGrid) != 0 ); - tqrepaintMask |= Tbl_snapToGrid; // tqrepaint table + repaintMask |= Tbl_snapToGrid; // tqrepaint table } } if ( updateOn ) { setAutoUpdate( TRUE ); updateScrollBars(); - if ( isVisible() && (f & tqrepaintMask) ) + if ( isVisible() && (f & repaintMask) ) tqrepaint(); } @@ -851,7 +851,7 @@ void QtTableView::clearTableFlags( uint f ) bool updateOn = autoUpdate(); setAutoUpdate( FALSE ); - uint tqrepaintMask = Tbl_cutCellsV | Tbl_cutCellsH; + uint repaintMask = Tbl_cutCellsV | Tbl_cutCellsH; if ( f & Tbl_vScrollBar ) { setVerScrollBar( FALSE ); @@ -863,7 +863,7 @@ void QtTableView::clearTableFlags( uint f ) int maxX = maxXOffset(); if ( xOffs > maxX ) { setOffset( maxX, yOffs ); - tqrepaintMask |= Tbl_scrollLastHCell; + repaintMask |= Tbl_scrollLastHCell; } updateScrollBars( horRange ); } @@ -871,7 +871,7 @@ void QtTableView::clearTableFlags( uint f ) int maxY = maxYOffset(); if ( yOffs > maxY ) { setOffset( xOffs, maxY ); - tqrepaintMask |= Tbl_scrollLastVCell; + repaintMask |= Tbl_scrollLastVCell; } updateScrollBars( verRange ); } @@ -880,7 +880,7 @@ void QtTableView::clearTableFlags( uint f ) (f & Tbl_smoothVScrolling) != 0 && yCellDelta != 0 ) { snapToGrid( (f & Tbl_smoothHScrolling) != 0, // do snapping (f & Tbl_smoothVScrolling) != 0 ); - tqrepaintMask |= Tbl_smoothScrolling; // tqrepaint table + repaintMask |= Tbl_smoothScrolling; // tqrepaint table } } if ( f & Tbl_snapToHGrid ) { @@ -892,7 +892,7 @@ void QtTableView::clearTableFlags( uint f ) if ( updateOn ) { setAutoUpdate( TRUE ); updateScrollBars(); // returns immediately if nothing to do - if ( isVisible() && (f & tqrepaintMask) ) + if ( isVisible() && (f & repaintMask) ) tqrepaint(); } @@ -947,7 +947,7 @@ void QtTableView::setAutoUpdate( bool enable ) Repaints the cell at row \a row, column \a col if it is inside the view. If \a erase is TRUE, the relevant part of the view is cleared to the - background color/pixmap before the contents are tqrepainted. + background color/pixmap before the contents are repainted. \sa isVisible() */ @@ -1265,7 +1265,7 @@ void QtTableView::setupPainter( TQPainter * ) /*! Handles paint events, \a e, for the table view. - Calls paintCell() for the cells that needs to be tqrepainted. + Calls paintCell() for the cells that needs to be repainted. */ void QtTableView::paintEvent( TQPaintEvent *e ) diff --git a/kompare/komparepart/komparesplitter.cpp b/kompare/komparepart/komparesplitter.cpp index 99a96fc5..2122e5d0 100644 --- a/kompare/komparepart/komparesplitter.cpp +++ b/kompare/komparepart/komparesplitter.cpp @@ -391,7 +391,7 @@ void KompareSplitter::slotDelayedRepaintHandles() ((KompareConnectWidgetFrame*)curr->wid)->wid()->slotDelayedRepaint(); } -void KompareSplitter::tqrepaintHandles() +void KompareSplitter::repaintHandles() { KQSplitterLayoutStruct *curr; for ( curr = d->list.first(); curr; curr = d->list.next() ) @@ -435,7 +435,7 @@ void KompareSplitter::wheelEvent( TQWheelEvent* e ) m_hScroll->subtractLine(); } e->accept(); - tqrepaintHandles(); + repaintHandles(); } void KompareSplitter::keyPressEvent( TQKeyEvent* e ) @@ -466,7 +466,7 @@ void KompareSplitter::keyPressEvent( TQKeyEvent* e ) break; } e->accept(); - tqrepaintHandles(); + repaintHandles(); } void KompareSplitter::timerTimeout() diff --git a/kompare/komparepart/komparesplitter.h b/kompare/komparepart/komparesplitter.h index d5725540..3bb21824 100644 --- a/kompare/komparepart/komparesplitter.h +++ b/kompare/komparepart/komparesplitter.h @@ -89,7 +89,7 @@ private: void doMove( bool backwards, int pos, int id, int delta, bool mayCollapse, int* positions, int* widths ); - void tqrepaintHandles(); + void repaintHandles(); TQTimer* m_scrollTimer; bool restartTimer; |