diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:59:00 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:59:00 -0600 |
commit | ec1fddcd0d6663ad273af85357f04abbc5689468 (patch) | |
tree | 6cb946ab8b4771868c6eee8d1aa5213d6ec246e2 /kviewshell/pageView.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/pageView.cpp')
-rw-r--r-- | kviewshell/pageView.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kviewshell/pageView.cpp b/kviewshell/pageView.cpp index 2be0a51a..6dad756b 100644 --- a/kviewshell/pageView.cpp +++ b/kviewshell/pageView.cpp @@ -499,10 +499,10 @@ void PageView::viewportPaintEvent(TQPaintEvent* e) DocumentWidget* item = widgetList->at(i); // Check if the Widget needs to be updated. - if (!item->geometry().intersects(e->rect())) + if (!item->tqgeometry().intersects(e->rect())) continue; - TQRect widgetGeometry = item->geometry(); + TQRect widgetGeometry = item->tqgeometry(); // Draw the widget. if (e->rect().intersects(widgetGeometry)) @@ -521,10 +521,10 @@ void PageView::viewportPaintEvent(TQPaintEvent* e) // Paint the background. TQPainter p(viewport()); - TQMemArray<TQRect> backgroundRects = backgroundArea.rects(); + TQMemArray<TQRect> backgroundRects = backgroundArea.tqrects(); for (unsigned int i = 0; i < backgroundRects.count(); i++) - p.fillRect(backgroundRects[i], colorGroup().mid()); + p.fillRect(backgroundRects[i], tqcolorGroup().mid()); } |