summaryrefslogtreecommitdiff
path: root/core/pim/osearch/contactitem.cpp
Unidiff
Diffstat (limited to 'core/pim/osearch/contactitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/osearch/contactitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/osearch/contactitem.cpp b/core/pim/osearch/contactitem.cpp
index 36e4f00..86879aa 100644
--- a/core/pim/osearch/contactitem.cpp
+++ b/core/pim/osearch/contactitem.cpp
@@ -1,35 +1,35 @@
1// 1//
2// 2//
3// C++ Implementation: $MODULE$ 3// C++ Implementation: $MODULE$
4// 4//
5// Description: 5// Description:
6// 6//
7// 7//
8// Author: Patrick S. Vogt <tille@handhelds.org>, (C) 2003 8// Author: Patrick S. Vogt <tille@handhelds.org>, (C) 2003
9// 9//
10// Copyright: See COPYING file that comes with this distribution 10// Copyright: See COPYING file that comes with this distribution
11// 11//
12// 12//
13#include "contactitem.h" 13#include "contactitem.h"
14 14
15#include <opie/ocontact.h> 15#include <opie/ocontact.h>
16 16
17ContactItem::ContactItem(OListViewItem* parent, OContact *contact) 17ContactItem::ContactItem(OListViewItem* parent, OContact *contact)
18: ResultItem(parent) 18: ResultItem(parent)
19{ 19{
20 _contact = contact; 20 _contact = contact;
21 setText(0, _contact->fullName()); 21 setText(0, _contact->toShortText());
22} 22}
23 23
24 24
25ContactItem::~ContactItem() 25ContactItem::~ContactItem()
26{ 26{
27 delete _contact; 27 delete _contact;
28} 28}
29 29
30 30
31QString ContactItem::toRichText() 31QString ContactItem::toRichText()
32{ 32{
33 return _contact->toRichText(); 33 return _contact->toRichText();
34} 34}
35 35