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 DATEBOOKSEARCH_H 00014 #define DATEBOOKSEARCH_H 00015 00016 #include "searchgroup.h" 00017 #include <opie2/odatebookaccess.h> 00018 00019 using namespace Opie; 00020 00021 class QAction; 00022 00026 class DatebookSearch : public SearchGroup 00027 { 00028 public: 00029 DatebookSearch(QListView* parent, QString name); 00030 ~DatebookSearch(); 00031 00032 virtual QPopupMenu* popupMenu(); 00033 00034 protected: 00035 virtual void load(); 00036 virtual int search(); 00037 virtual void insertItem( void* ); 00038 00039 private: 00040 ODateBookAccess *_dates; 00041 QAction *actionShowPastEvents; 00042 QAction *actionSearchInDates; 00043 QPopupMenu *_popupMenu; 00044 }; 00045 00046 #endif
1.4.2