Diffstat (limited to 'core/pim/osearch/datebooksearch.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/datebooksearch.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/pim/osearch/datebooksearch.h b/core/pim/osearch/datebooksearch.h index bb31462..a6d115e 100644 --- a/core/pim/osearch/datebooksearch.h +++ b/core/pim/osearch/datebooksearch.h | |||
@@ -13,28 +13,32 @@ | |||
13 | #ifndef DATEBOOKSEARCH_H | 13 | #ifndef DATEBOOKSEARCH_H |
14 | #define DATEBOOKSEARCH_H | 14 | #define DATEBOOKSEARCH_H |
15 | 15 | ||
16 | #include "searchgroup.h" | 16 | #include "searchgroup.h" |
17 | 17 | ||
18 | class ODateBookAccess; | 18 | class ODateBookAccess; |
19 | class QAction; | ||
19 | 20 | ||
20 | /** | 21 | /** |
21 | @author Patrick S. Vogt | 22 | @author Patrick S. Vogt |
22 | */ | 23 | */ |
23 | class DatebookSearch : public SearchGroup | 24 | class DatebookSearch : public SearchGroup |
24 | { | 25 | { |
25 | public: | 26 | public: |
26 | DatebookSearch(QListView* parent, QString name); | 27 | DatebookSearch(QListView* parent, QString name); |
27 | |||
28 | ~DatebookSearch(); | 28 | ~DatebookSearch(); |
29 | 29 | ||
30 | virtual QPopupMenu* popupMenu(); | ||
31 | |||
30 | protected: | 32 | protected: |
31 | virtual void load(); | 33 | virtual void load(); |
32 | virtual int search(); | 34 | virtual int search(); |
33 | virtual void insertItem( void* ); | 35 | virtual void insertItem( void* ); |
34 | 36 | ||
35 | private: | 37 | private: |
36 | ODateBookAccess *_dates; | 38 | ODateBookAccess *_dates; |
37 | 39 | QAction *actionShowPastEvents; | |
40 | QAction *actionSearchInDates; | ||
41 | QPopupMenu *_popupMenu; | ||
38 | }; | 42 | }; |
39 | 43 | ||
40 | #endif | 44 | #endif |