diff options
Diffstat (limited to 'kaddressbook/views/contactlistview.cpp')
-rw-r--r-- | kaddressbook/views/contactlistview.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kaddressbook/views/contactlistview.cpp b/kaddressbook/views/contactlistview.cpp index 0bc7c041d..5b9ecbf11 100644 --- a/kaddressbook/views/contactlistview.cpp +++ b/kaddressbook/views/contactlistview.cpp @@ -54,10 +54,10 @@ DynamicTip::DynamicTip( ContactListView *parent) void DynamicTip::maybeTip( const TQPoint &pos ) { - if (!parentWidget()->inherits( "ContactListView" )) + if (!tqparentWidget()->inherits( "ContactListView" )) return; - ContactListView *plv = (ContactListView*)parentWidget(); + ContactListView *plv = (ContactListView*)tqparentWidget(); if (!plv->tooltips()) return; @@ -72,7 +72,7 @@ void DynamicTip::maybeTip( const TQPoint &pos ) return; TQString s; - TQRect r = plv->itemRect( lvi ); + TQRect r = plv->tqitemRect( lvi ); r.moveBy( posVp.x(), posVp.y() ); //kdDebug(5720) << "Tip rec: " << r.x() << "," << r.y() << "," << r.width() @@ -109,7 +109,7 @@ void DynamicTip::maybeTip( const TQPoint &pos ) linew += fm.width( notes[i] ); if ( lastSpace >= a && notes[i] != '\n' ) - if (linew >= parentWidget()->width()) { + if (linew >= tqparentWidget()->width()) { doBreak = true; if ( lastSpace > a ) { i = lastSpace; @@ -222,7 +222,7 @@ void ContactListViewItem::refresh() } // Update our addressee, since it may have changed elsewhere - mAddressee = mDocument->findByUid(mAddressee.uid()); + mAddressee = mDocument->tqfindByUid(mAddressee.uid()); if (mAddressee.isEmpty()) return; |