summaryrefslogtreecommitdiffstats
path: root/kolourpaint/kpviewscrollablecontainer.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:56:05 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 19:30:03 +0200
commit5027dfec5092217f70492dd6712059e46b21d003 (patch)
tree7e5874391acf3098475adda80fe2b068a00e304c /kolourpaint/kpviewscrollablecontainer.cpp
parenta84302cc767bcabbf01b8c76f61419f4a2ab4ff0 (diff)
downloadtdegraphics-5027dfec5092217f70492dd6712059e46b21d003.tar.gz
tdegraphics-5027dfec5092217f70492dd6712059e46b21d003.zip
Remove additional unneeded tq method conversions
(cherry picked from commit 74c05bbf9d92e43a6cf3799355b5f3598884409e)
Diffstat (limited to 'kolourpaint/kpviewscrollablecontainer.cpp')
-rw-r--r--kolourpaint/kpviewscrollablecontainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kolourpaint/kpviewscrollablecontainer.cpp b/kolourpaint/kpviewscrollablecontainer.cpp
index c632b814..80e9d9e7 100644
--- a/kolourpaint/kpviewscrollablecontainer.cpp
+++ b/kolourpaint/kpviewscrollablecontainer.cpp
@@ -663,7 +663,7 @@ void kpViewScrollableContainer::repaintWidgetAtResizeLineViewRect (
// TODO: should be "!widget->testWFlags (TQt::WRepaintNoErase)"
// but for some reason, doesn't work for viewport().
const bool erase = !dynamic_cast <kpView *> (widget);
- widget->tqrepaint (redrawWidgetRect, erase);
+ widget->repaint (redrawWidgetRect, erase);
}
}
@@ -1269,7 +1269,7 @@ bool kpViewScrollableContainer::slotDragScroll (bool *didSomething)
// Repaint newly exposed region immediately to reduce tearing
// of scrollView.
- m_view->tqrepaint (region, false/*no erase*/);
+ m_view->repaint (region, false/*no erase*/);
}
}