Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ContactItem Class Reference

#include </home/clem/local/src/opie/core/pim/addressbook/abtable.h>

Inheritance diagram for ContactItem:

Inheritance graph
[legend]
Collaboration diagram for ContactItem:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ContactItem (OListViewItem *parent, Opie::OPimContact *contact)
 ~ContactItem ()
virtual QString toRichText ()
virtual void action (int)
virtual QIntDict< QStringactions ()

Public Attributes

QPixmap icon
QString value

Private Member Functions

void setIcon ()

Private Attributes

Opie::OPimContact_contact

Detailed Description

Author:
Patrick S. Vogt

Definition at line 56 of file abtable.h.


Constructor & Destructor Documentation

ContactItem::ContactItem OListViewItem parent,
Opie::OPimContact contact
 

Definition at line 21 of file contactitem.cpp.

References _contact, setIcon(), and Opie::OPimContact::toShortText().

ContactItem::~ContactItem  ) 
 

Definition at line 112 of file contactitem.cpp.

References _contact.


Member Function Documentation

void ContactItem::action int   )  [virtual]
 

Implements ResultItem.

Definition at line 123 of file contactitem.cpp.

References _contact, and Qtopia::Record::uid().

QIntDict< QString > ContactItem::actions  )  [virtual]
 

Implements ResultItem.

Definition at line 135 of file contactitem.cpp.

References QIntDict< type >::insert(), and tr.

void ContactItem::setIcon  )  [private]
 

Definition at line 29 of file contactitem.cpp.

References _contact, Qtopia::Anniversary, Qtopia::Assistant, Qtopia::Birthday, Qtopia::BusinessCity, Qtopia::BusinessCountry, Qtopia::BusinessFax, Qtopia::BusinessMobile, Qtopia::BusinessPager, Qtopia::BusinessPhone, Qtopia::BusinessStreet, Qtopia::BusinessWebPage, Qtopia::BusinessZip, Qtopia::Children, Qtopia::Company, Qtopia::DefaultEmail, Qtopia::Department, Qtopia::Emails, Qtopia::FileAs, Qtopia::FirstName, Qtopia::HomeCity, Qtopia::HomeCountry, Qtopia::HomeFax, Qtopia::HomeMobile, Qtopia::HomePhone, Qtopia::HomeState, Qtopia::HomeStreet, Qtopia::HomeWebPage, Qtopia::HomeZip, icon, Qtopia::JobTitle, Opie::OPimRecord::lastHitField(), Qtopia::LastName, Opie::Core::OResource::loadPixmap(), Qtopia::Manager, Qtopia::MiddleName, Qtopia::Nickname, Qtopia::Notes, Qtopia::Office, Qtopia::Profession, Opie::Core::OResource::SmallIcon, Qtopia::Spouse, Qtopia::Suffix, and Qtopia::Title.

Referenced by ContactItem().

QString ContactItem::toRichText  )  [virtual]
 

Reimplemented from ResultItem.

Definition at line 118 of file contactitem.cpp.

References _contact, and Opie::OPimContact::toRichText().


Member Data Documentation

Opie::OPimContact* ContactItem::_contact [private]
 

Definition at line 39 of file contactitem.h.

Referenced by action(), ContactItem(), setIcon(), toRichText(), and ~ContactItem().

QPixmap ContactItem::icon
 

Definition at line 59 of file abtable.h.

Referenced by AbTable::findContactContact(), AbTable::paintCell(), AbTable::refresh(), and setIcon().

QString ContactItem::value
 

Definition at line 60 of file abtable.h.

Referenced by AbTable::findContactContact(), AbTable::paintCell(), and AbTable::refresh().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:29:40 2005 for OPIE by  doxygen 1.4.2