diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:00 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:00 -0600 |
commit | ec1fddcd0d6663ad273af85357f04abbc5689468 (patch) | |
tree | 6cb946ab8b4771868c6eee8d1aa5213d6ec246e2 /kviewshell/documentWidget.cpp | |
parent | c2637a0da6d9a1c8626ca39f8451ab3b7cda487a (diff) | |
download | tdegraphics-ec1fddcd0d6663ad273af85357f04abbc5689468.tar.gz tdegraphics-ec1fddcd0d6663ad273af85357f04abbc5689468.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.
Diffstat (limited to 'kviewshell/documentWidget.cpp')
-rw-r--r-- | kviewshell/documentWidget.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kviewshell/documentWidget.cpp b/kviewshell/documentWidget.cpp index 850bec40..f370daba 100644 --- a/kviewshell/documentWidget.cpp +++ b/kviewshell/documentWidget.cpp @@ -17,7 +17,7 @@ #include <kglobalsettings.h> #include <kiconloader.h> #include <klocale.h> -#include <clipboard.h> +#include <tqclipboard.h> #include <tqcursor.h> #include <tqimage.h> #include <tqpainter.h> @@ -147,7 +147,7 @@ void DocumentWidget::timerEvent( TQTimerEvent *e ) animationCounter = 0; } - repaint(flashRect, false); + tqrepaint(flashRect, false); } @@ -160,7 +160,7 @@ void DocumentWidget::flash(int fo) animationCounter = 10; TQRect flashRect = linkFlashRect(); flashRect.addCoords(-1, -1, 1, 1); - repaint(flashRect, false); + tqrepaint(flashRect, false); } animationCounter = 0; flashOffset = fo; @@ -203,7 +203,7 @@ void DocumentWidget::paintEvent(TQPaintEvent *e) p.drawRect(outlineRect); // Paint page shadow - TQColor backgroundColor = colorGroup().mid(); + TQColor backgroundColor = tqcolorGroup().mid(); // (Re-)generate the Pixmaps for the shadow corners, if necessary if (backgroundColor != backgroundColorForCorners) @@ -273,7 +273,7 @@ void DocumentWidget::paintEvent(TQPaintEvent *e) return; } - TQMemArray<TQRect> damagedRects = TQRegion(e->region()).rects(); + TQMemArray<TQRect> damagedRects = TQRegion(e->region()).tqrects(); 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.rects(); + TQMemArray<TQRect> selectionRects = selectedRegion.tqrects(); 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").arg(link) ); + emit setStatusBarText( i18n("Link to %1").tqarg(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.rects(); + TQMemArray<TQRect> rectangles = updateRegion.tqrects(); for (unsigned int i = 0; i < rectangles.count(); i++) { - repaint(rectangles[i]); + tqrepaint(rectangles[i]); } } } |