From c9d6a7478114a66f06bfdde4ad9164cce03e4149 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:09:27 -0600 Subject: Rename old tq methods that no longer need a unique name --- src/kchmlistitemtooltip.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kchmlistitemtooltip.h') diff --git a/src/kchmlistitemtooltip.h b/src/kchmlistitemtooltip.h index 46bd2f6..8bf43bf 100644 --- a/src/kchmlistitemtooltip.h +++ b/src/kchmlistitemtooltip.h @@ -47,13 +47,13 @@ class KCHMListItemTooltip : public TQToolTip int section = m_pParent->header()->sectionAt (pos.x ()); // Get the rect of the whole item (the row for the tip) - TQRect tqitemRect = m_pParent->tqitemRect( it ); + TQRect itemRect = m_pParent->itemRect( it ); // Get the rect of the whole section (the column for the tip) TQRect headerRect = m_pParent->header ()->sectionRect (section); // "Intersect" row and column to get exact rect for the tip - TQRect destRect( headerRect.left (), tqitemRect.top(), headerRect.width(), tqitemRect.height() ); + TQRect destRect( headerRect.left (), itemRect.top(), headerRect.width(), itemRect.height() ); int item_width = it->width( m_pParent->fontMetrics(), m_pParent, 0 ) + it->depth() * m_pParent->treeStepSize(); -- cgit v1.2.3