summaryrefslogtreecommitdiffstats
path: root/kaddressbook/views/contactlistview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kaddressbook/views/contactlistview.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kaddressbook/views/contactlistview.cpp')
-rw-r--r--kaddressbook/views/contactlistview.cpp10
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;