summaryrefslogtreecommitdiffstats
path: root/kolourpaint/patches
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-07 21:14:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-07 21:14:06 +0000
commit03d51915bf86a00c5953817c89976b62785bb5a1 (patch)
tree9d7535688297156379ab6c2639875b08b491babe /kolourpaint/patches
parentb86459d60bcb618fe6a61afb292b087c64878f1a (diff)
downloadtdegraphics-03d51915bf86a00c5953817c89976b62785bb5a1.tar.gz
tdegraphics-03d51915bf86a00c5953817c89976b62785bb5a1.zip
Rename incorrect instances of tqrepaint[...] to repaint[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolourpaint/patches')
-rw-r--r--kolourpaint/patches/doc_resize_no_flicker.diff38
1 files changed, 19 insertions, 19 deletions
diff --git a/kolourpaint/patches/doc_resize_no_flicker.diff b/kolourpaint/patches/doc_resize_no_flicker.diff
index 3e763f95..821d418e 100644
--- a/kolourpaint/patches/doc_resize_no_flicker.diff
+++ b/kolourpaint/patches/doc_resize_no_flicker.diff
@@ -117,9 +117,9 @@ diff -u -p -r1.7 kpviewscrollablecontainer.cpp
+
// protected
--void kpViewScrollableContainer::tqrepaintWidgetAtResizeLineViewRect (
+-void kpViewScrollableContainer::repaintWidgetAtResizeLineViewRect (
- QWidget *widget, const QRect &resizeLineViewRect)
-+void kpViewScrollableContainer::tqrepaintWidgetRegion (
++void kpViewScrollableContainer::repaintWidgetRegion (
+ QWidget *widget,
+ const QRegion &viewRegion)
{
@@ -153,12 +153,12 @@ diff -u -p -r1.7 kpviewscrollablecontainer.cpp
}
// protected
--void kpViewScrollableContainer::tqrepaintWidgetAtResizeLines (QWidget *widget)
+-void kpViewScrollableContainer::repaintWidgetAtResizeLines (QWidget *widget)
+void kpViewScrollableContainer::eraseResizeLines (const QRegion &viewRegion)
{
-- tqrepaintWidgetAtResizeLineViewRect (widget, rightResizeLineRect ());
-- tqrepaintWidgetAtResizeLineViewRect (widget, bottomResizeLineRect ());
-- tqrepaintWidgetAtResizeLineViewRect (widget, bottomRightResizeLineRect ());
+- repaintWidgetAtResizeLineViewRect (widget, rightResizeLineRect ());
+- repaintWidgetAtResizeLineViewRect (widget, bottomResizeLineRect ());
+- repaintWidgetAtResizeLineViewRect (widget, bottomRightResizeLineRect ());
-}
+ if (viewRegion.isEmpty ())
+ return;
@@ -168,19 +168,19 @@ diff -u -p -r1.7 kpviewscrollablecontainer.cpp
-{
- if (m_resizeRoundedLastViewX >= 0 && m_resizeRoundedLastViewY >= 0)
- {
-- tqrepaintWidgetAtResizeLines (viewport ());
-- tqrepaintWidgetAtResizeLines (m_view);
+- repaintWidgetAtResizeLines (viewport ());
+- repaintWidgetAtResizeLines (m_view);
-- tqrepaintWidgetAtResizeLines (m_bottomGrip);
-- tqrepaintWidgetAtResizeLines (m_rightGrip);
-- tqrepaintWidgetAtResizeLines (m_bottomRightGrip);
+- repaintWidgetAtResizeLines (m_bottomGrip);
+- repaintWidgetAtResizeLines (m_rightGrip);
+- repaintWidgetAtResizeLines (m_bottomRightGrip);
- }
-+ tqrepaintWidgetRegion (viewport (), viewRegion);
-+ tqrepaintWidgetRegion (m_view, viewRegion);
++ repaintWidgetRegion (viewport (), viewRegion);
++ repaintWidgetRegion (m_view, viewRegion);
+
-+ tqrepaintWidgetRegion (m_bottomGrip, viewRegion);
-+ tqrepaintWidgetRegion (m_rightGrip, viewRegion);
-+ tqrepaintWidgetRegion (m_bottomRightGrip, viewRegion);
++ repaintWidgetRegion (m_bottomGrip, viewRegion);
++ repaintWidgetRegion (m_rightGrip, viewRegion);
++ repaintWidgetRegion (m_bottomRightGrip, viewRegion);
}
@@ -502,11 +502,11 @@ diff -u -p -r1.3 kpviewscrollablecontainer.h
QRect mapViewToGlobal (const QRect &viewRect);
+ QRegion mapViewToGlobal (const QRegion &viewRegion);
-- void tqrepaintWidgetAtResizeLineViewRect (QWidget *widget,
+- void repaintWidgetAtResizeLineViewRect (QWidget *widget,
- const QRect &resizeLineViewRect);
-- void tqrepaintWidgetAtResizeLines (QWidget *widget);
+- void repaintWidgetAtResizeLines (QWidget *widget);
- void eraseResizeLines ();
-+ void tqrepaintWidgetRegion (QWidget *widget,
++ void repaintWidgetRegion (QWidget *widget,
+ const QRegion &viewRegion);
+ void eraseResizeLines (const QRegion &viewRegion);