summaryrefslogtreecommitdiffstats
path: root/ksysv/kdltooltip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksysv/kdltooltip.cpp')
-rw-r--r--ksysv/kdltooltip.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/ksysv/kdltooltip.cpp b/ksysv/kdltooltip.cpp
index 7b3a421..1b98fa4 100644
--- a/ksysv/kdltooltip.cpp
+++ b/ksysv/kdltooltip.cpp
@@ -21,9 +21,9 @@
#include "ksvdraglist.h"
#include "kdltooltip.h"
-KDLToolTip::KDLToolTip (KSVDragList *parent, TQToolTipGroup* group)
- : TQToolTip(parent, group),
- mParent (parent)
+KDLToolTip::KDLToolTip (KSVDragList *tqparent, TQToolTipGroup* group)
+ : TQToolTip(tqparent, group),
+ mParent (tqparent)
{
}
@@ -39,10 +39,10 @@ void KDLToolTip::maybeTip (const TQPoint& p)
TQString text;
TQRect rect;
- const TQRect vert = mParent->verticalScrollBar()->geometry();
- const TQRect horiz = mParent->horizontalScrollBar()->geometry();
+ const TQRect vert = mParent->verticalScrollBar()->tqgeometry();
+ const TQRect horiz = mParent->horizontalScrollBar()->tqgeometry();
- if (vert.contains(p))
+ if (vert.tqcontains(p))
{
rect = vert;
@@ -51,7 +51,7 @@ void KDLToolTip::maybeTip (const TQPoint& p)
else
text = mParent->tooltip();
}
- else if (horiz.contains(p))
+ else if (horiz.tqcontains(p))
{
rect = horiz;
if (!mParent->commonToolTips())
@@ -66,14 +66,14 @@ void KDLToolTip::maybeTip (const TQPoint& p)
TQListViewItem* i = mParent->itemAt (rp);
KSVItem* item = static_cast<KSVItem*> (i);
- rect = mParent->header()->geometry();
- if (rect.contains (p))
+ rect = mParent->header()->tqgeometry();
+ if (rect.tqcontains (p))
{
text = mParent->tooltip();
}
else if (item)
{
- rect = mParent->itemRect (i);
+ rect = mParent->tqitemRect (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->itemRect(last).bottomRight()).y());
+ rect.setTop (mParent->viewport()->mapToParent (mParent->tqitemRect(last).bottomRight()).y());
text = mParent->tooltip();
}