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 EVENTITEM_H 00014 #define EVENTITEM_H 00015 00016 #include "resultitem.h" 00017 00018 #include <opie2/opimevent.h> 00019 00020 00024 class EventItem : public ResultItem 00025 { 00026 public: 00027 EventItem(OListViewItem* parent, Opie::OPimEvent *event); 00028 00029 ~EventItem(); 00030 00031 virtual QString toRichText(); 00032 virtual void action( int ); 00033 virtual QIntDict<QString> actions(); 00034 00035 private: 00036 void setIcon(); 00037 Opie::OPimEvent *_event; 00038 00039 }; 00040 00041 #endif
1.4.2