summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/ui/kopetelistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/ui/kopetelistview.cpp')
-rw-r--r--kopete/libkopete/ui/kopetelistview.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kopete/libkopete/ui/kopetelistview.cpp b/kopete/libkopete/ui/kopetelistview.cpp
index cf1fae01..7e783024 100644
--- a/kopete/libkopete/ui/kopetelistview.cpp
+++ b/kopete/libkopete/ui/kopetelistview.cpp
@@ -73,14 +73,14 @@ void ToolTip::maybeTip( const TQPoint &pos )
if( Item *item = dynamic_cast<Item*>( m_listView->itemAt( pos ) ) )
{
- TQRect tqitemRect = m_listView->tqitemRect( item );
+ TQRect itemRect = m_listView->itemRect( item );
uint leftMargin = m_listView->treeStepSize() *
( item->depth() + ( m_listView->rootIsDecorated() ? 1 : 0 ) ) +
m_listView->itemMargin();
- uint xAdjust = tqitemRect.left() + leftMargin;
- uint yAdjust = tqitemRect.top();
+ uint xAdjust = itemRect.left() + leftMargin;
+ uint yAdjust = itemRect.top();
TQPoint relativePos( pos.x() - xAdjust, pos.y() - yAdjust );
std::pair<TQString,TQRect> toolTip = item->toolTip( relativePos );
@@ -88,7 +88,7 @@ void ToolTip::maybeTip( const TQPoint &pos )
return;
toolTip.second.moveBy( xAdjust, yAdjust );
-// kdDebug( 14000 ) << k_funcinfo << "Adding tooltip: tqitemRect: "
+// kdDebug( 14000 ) << k_funcinfo << "Adding tooltip: itemRect: "
// << toolTip.second << ", tooltip: " << toolTip.first << endl;
tip( toolTip.second, toolTip.first );
}
@@ -174,7 +174,7 @@ void ListView::setShowTreeLines( bool bShowAsTree )
setRootIsDecorated( false );
setTreeStepSize( 0 );
}
- // TODO: retqlayout all items. their width may have changed, but they won't know about it.
+ // TODO: relayout all items. their width may have changed, but they won't know about it.
}
/* This is a small hack ensuring that only F2 triggers inline
@@ -193,7 +193,7 @@ void ListView::keyPressEvent( TQKeyEvent *e )
else if ( (e->key() == TQt::Key_Enter || e->key() == TQt::Key_Return) && item && item->isVisible() )
{
// must provide a point within the item; emitExecute checks for this
- TQPoint p = viewport()->mapToGlobal(tqitemRect(item).center());
+ TQPoint p = viewport()->mapToGlobal(itemRect(item).center());
emitExecute( currentItem(), p, 0 );
}
else