From 392b293dfeaa3e4241e50b833126d0c2d598761d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:57:26 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 1d9c18c8a07f4833695c6a2ab978698ae1cc90e7. --- src/listviewtooltip.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/listviewtooltip.h') diff --git a/src/listviewtooltip.h b/src/listviewtooltip.h index 62ecb36..1fbd9e2 100644 --- a/src/listviewtooltip.h +++ b/src/listviewtooltip.h @@ -45,8 +45,8 @@ inline void ListViewToolTip::maybeTip ( const TQPoint& p ) const TQListViewItem* item = listView->itemAt ( p ); if ( !item ) return; - const TQRect itemRect = listView->itemRect ( item ); - if ( !itemRect.isValid() ) + const TQRect tqitemRect = listView->tqitemRect ( item ); + if ( !tqitemRect.isValid() ) return; const int col = listView->header()->sectionAt ( p.x() ); const int row = listView->header()->sectionAt ( p.y() ); @@ -56,9 +56,9 @@ inline void ListViewToolTip::maybeTip ( const TQPoint& p ) const TQRect headerRect = listView->header()->sectionRect ( col ); if ( !headerRect.isValid() ) return; -// const TQRect cellRect ( headerRect.left(), itemRect.top(), -// headerRect.width(), itemRect.height() ); - const TQRect cellRect ( headerRect.left(), itemRect.top(), 400, 200 ); +// const TQRect cellRect ( headerRect.left(), tqitemRect.top(), +// headerRect.width(), tqitemRect.height() ); + const TQRect cellRect ( headerRect.left(), tqitemRect.top(), 400, 200 ); TQString tipStr; tipStr = TQString ( "

"+item->text ( 0 )+"

"); -- cgit v1.2.1