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