diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:56:02 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:56:02 -0600 |
commit | 71061104fa6242b2e0bf08b0920e08ee2f2924c5 (patch) | |
tree | 4e74a78c2e35494cf94c30414d14e884f557320f /src/kchmlistitemtooltip.h | |
parent | 60da1801389e3c729d440a353003acca39a7c3b6 (diff) | |
download | kchmviewer-71061104fa6242b2e0bf08b0920e08ee2f2924c5.tar.gz kchmviewer-71061104fa6242b2e0bf08b0920e08ee2f2924c5.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 60da1801389e3c729d440a353003acca39a7c3b6.
Diffstat (limited to 'src/kchmlistitemtooltip.h')
-rw-r--r-- | src/kchmlistitemtooltip.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kchmlistitemtooltip.h b/src/kchmlistitemtooltip.h index 8bf43bf..46bd2f6 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 itemRect = m_pParent->itemRect( it ); + TQRect tqitemRect = m_pParent->tqitemRect( 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 (), itemRect.top(), headerRect.width(), itemRect.height() ); + TQRect destRect( headerRect.left (), tqitemRect.top(), headerRect.width(), tqitemRect.height() ); int item_width = it->width( m_pParent->fontMetrics(), m_pParent, 0 ) + it->depth() * m_pParent->treeStepSize(); |