diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:45:05 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:45:05 -0600 |
commit | d1248617107f659af9d03cf1ef6d783571a0cba8 (patch) | |
tree | 06ce6d250704f2cddca023e81b63f25b19c9aa48 /ksysv/kdltooltip.cpp | |
parent | 72fee035e994371467475e062b46287d68fa3f57 (diff) | |
download | tdeadmin-d1248617107f659af9d03cf1ef6d783571a0cba8.tar.gz tdeadmin-d1248617107f659af9d03cf1ef6d783571a0cba8.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'ksysv/kdltooltip.cpp')
-rw-r--r-- | ksysv/kdltooltip.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ksysv/kdltooltip.cpp b/ksysv/kdltooltip.cpp index 95af765..7b3a421 100644 --- a/ksysv/kdltooltip.cpp +++ b/ksysv/kdltooltip.cpp @@ -39,8 +39,8 @@ void KDLToolTip::maybeTip (const TQPoint& p) TQString text; TQRect rect; - const TQRect vert = mParent->verticalScrollBar()->tqgeometry(); - const TQRect horiz = mParent->horizontalScrollBar()->tqgeometry(); + const TQRect vert = mParent->verticalScrollBar()->geometry(); + const TQRect horiz = mParent->horizontalScrollBar()->geometry(); if (vert.contains(p)) { @@ -66,14 +66,14 @@ void KDLToolTip::maybeTip (const TQPoint& p) TQListViewItem* i = mParent->itemAt (rp); KSVItem* item = static_cast<KSVItem*> (i); - rect = mParent->header()->tqgeometry(); + rect = mParent->header()->geometry(); if (rect.contains (p)) { text = mParent->tooltip(); } 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(); } |