diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:56:05 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:56:05 -0600 |
commit | 74c05bbf9d92e43a6cf3799355b5f3598884409e (patch) | |
tree | 9371e52e1564e08fd280f28e49981ffeb881b9d2 /kviewshell/documentWidget.cpp | |
parent | 45f529de247fc4b3662f6b474abe03fe904306ec (diff) | |
download | tdegraphics-74c05bbf9d92e43a6cf3799355b5f3598884409e.tar.gz tdegraphics-74c05bbf9d92e43a6cf3799355b5f3598884409e.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kviewshell/documentWidget.cpp')
-rw-r--r-- | kviewshell/documentWidget.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kviewshell/documentWidget.cpp b/kviewshell/documentWidget.cpp index cd3de424..843403f9 100644 --- a/kviewshell/documentWidget.cpp +++ b/kviewshell/documentWidget.cpp @@ -147,7 +147,7 @@ void DocumentWidget::timerEvent( TQTimerEvent *e ) animationCounter = 0; } - tqrepaint(flashRect, false); + repaint(flashRect, false); } @@ -160,7 +160,7 @@ void DocumentWidget::flash(int fo) animationCounter = 10; TQRect flashRect = linkFlashRect(); flashRect.addCoords(-1, -1, 1, 1); - tqrepaint(flashRect, false); + repaint(flashRect, false); } animationCounter = 0; flashOffset = fo; @@ -273,7 +273,7 @@ void DocumentWidget::paintEvent(TQPaintEvent *e) return; } - TQMemArray<TQRect> damagedRects = TQRegion(e->region()).tqrects(); + TQMemArray<TQRect> damagedRects = TQRegion(e->region()).rects(); for (unsigned int i = 0; i < damagedRects.count(); i++) { // Paint the page where it intersects with the damaged area. @@ -345,7 +345,7 @@ void DocumentWidget::paintEvent(TQPaintEvent *e) p.setBrush(white); p.setRasterOp(TQt::XorROP); - TQMemArray<TQRect> selectionRects = selectedRegion.tqrects(); + TQMemArray<TQRect> selectionRects = selectedRegion.rects(); for (unsigned int i = 0; i < selectionRects.count(); i++) p.drawRect(selectionRects[i]); @@ -545,7 +545,7 @@ void DocumentWidget::mouseMoveEvent ( TQMouseEvent * e ) if ( link.startsWith("#") ) link = link.remove(0,1); - emit setStatusBarText( i18n("Link to %1").tqarg(link) ); + emit setStatusBarText( i18n("Link to %1").arg(link) ); indexOfUnderlinedLink = i; if (KVSPrefs::underlineLinks() == KVSPrefs::EnumUnderlineLinks::OnlyOnHover && @@ -661,10 +661,10 @@ void DocumentWidget::updateSelection(const TextSelection& newTextSelection) selectedRegion = newlySelectedRegion; - TQMemArray<TQRect> rectangles = updateRegion.tqrects(); + TQMemArray<TQRect> rectangles = updateRegion.rects(); for (unsigned int i = 0; i < rectangles.count(); i++) { - tqrepaint(rectangles[i]); + repaint(rectangles[i]); } } } |