summaryrefslogtreecommitdiffstats
path: root/ksysv/kdltooltip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksysv/kdltooltip.cpp')
-rw-r--r--ksysv/kdltooltip.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksysv/kdltooltip.cpp b/ksysv/kdltooltip.cpp
index 95af765..1ff34e2 100644
--- a/ksysv/kdltooltip.cpp
+++ b/ksysv/kdltooltip.cpp
@@ -73,7 +73,7 @@ void KDLToolTip::maybeTip (const TQPoint& p)
}
else if (item)
{
- rect = mParent->tqitemRect (i);
+ rect = mParent->itemRect (i);
rect.moveTopLeft (mParent->viewport()->mapToParent (rect.topLeft()));
text = item->tooltip();
@@ -84,7 +84,7 @@ void KDLToolTip::maybeTip (const TQPoint& p)
TQListViewItem* last = mParent->lastItem();
if (last)
- rect.setTop (mParent->viewport()->mapToParent (mParent->tqitemRect(last).bottomRight()).y());
+ rect.setTop (mParent->viewport()->mapToParent (mParent->itemRect(last).bottomRight()).y());
text = mParent->tooltip();
}