00001 // 00002 // 00003 // C++ Interface: $MODULE$ 00004 // 00005 // Description: 00006 // 00007 // 00008 // Author: Patrick S. Vogt <tille@handhelds.org>, (C) 2003 00009 // 00010 // Copyright: See COPYING file that comes with this distribution 00011 // 00012 // 00013 #ifndef CONTACTITEM_H 00014 #define CONTACTITEM_H 00015 00016 #include <opie2/opimrecord.h> 00017 #include <opie2/opimcontact.h> 00018 00019 #include "resultitem.h" 00020 00021 00025 class ContactItem : public ResultItem 00026 { 00027 public: 00028 ContactItem(OListViewItem* parent, Opie::OPimContact *contact); 00029 00030 ~ContactItem(); 00031 00032 virtual QString toRichText(); 00033 virtual void action( int ); 00034 virtual QIntDict<QString> actions(); 00035 00036 00037 private: 00038 void setIcon(); 00039 Opie::OPimContact *_contact; 00040 00041 }; 00042 00043 #endif
1.4.2