summaryrefslogtreecommitdiffstats
path: root/kexi/widget/kexiscrollview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/kexiscrollview.cpp')
-rw-r--r--kexi/widget/kexiscrollview.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/widget/kexiscrollview.cpp b/kexi/widget/kexiscrollview.cpp
index 7bdfd12e..04beace6 100644
--- a/kexi/widget/kexiscrollview.cpp
+++ b/kexi/widget/kexiscrollview.cpp
@@ -173,11 +173,11 @@ KexiScrollView::refreshContentsSize()
change = true;
}
if (change) {
- tqrepaint();
- viewport()->tqrepaint();
+ repaint();
+ viewport()->repaint();
repaintContents();
updateContents(0, 0, 2000,2000);
- clipper()->tqrepaint();
+ clipper()->repaint();
resizeContents(w, h);
}
@@ -257,8 +257,8 @@ KexiScrollView::contentsMouseMoveEvent(TQMouseEvent *ev)
for(TQObject *o = list->first(); o; o = list->next())
{
TQWidget *w = (TQWidget*)o;
- tmpx = TQMAX(tmpx, (w->tqgeometry().right() + 10));
- tmpy = TQMAX(tmpy, (w->tqgeometry().bottom() + 10));
+ tmpx = TQMAX(tmpx, (w->geometry().right() + 10));
+ tmpy = TQMAX(tmpy, (w->geometry().bottom() + 10));
}
delete list;