summaryrefslogtreecommitdiffstats
path: root/src/listviewtooltip.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:33:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:33:13 -0600
commit1d9c18c8a07f4833695c6a2ab978698ae1cc90e7 (patch)
treec61f8778c1c540d79ed77c3f69018fcba0bca646 /src/listviewtooltip.h
parent2622d5ad003c636cda4bc36246df8a7fe9ac5d9f (diff)
downloadkvpnc-1d9c18c8a07f4833695c6a2ab978698ae1cc90e7.tar.gz
kvpnc-1d9c18c8a07f4833695c6a2ab978698ae1cc90e7.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/listviewtooltip.h')
-rw-r--r--src/listviewtooltip.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/listviewtooltip.h b/src/listviewtooltip.h
index 1fbd9e2..62ecb36 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 tqitemRect = listView->tqitemRect ( item );
- if ( !tqitemRect.isValid() )
+ const TQRect itemRect = listView->itemRect ( item );
+ if ( !itemRect.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(), tqitemRect.top(),
-// headerRect.width(), tqitemRect.height() );
- const TQRect cellRect ( headerRect.left(), tqitemRect.top(), 400, 200 );
+// const TQRect cellRect ( headerRect.left(), itemRect.top(),
+// headerRect.width(), itemRect.height() );
+ const TQRect cellRect ( headerRect.left(), itemRect.top(), 400, 200 );
TQString tipStr;
tipStr = TQString ( "<h2>"+item->text ( 0 )+"</h2><ul><li>"+i18n("Path:")+" "+item->text(5)+"</li><li>"+i18n("Usability:")+" "+item->text(3)+"</li><li>"+i18n("Comment:")+ " "+item->text(6)+"</li></ul>");