-rw-r--r-- | korganizer/searchdialog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/searchdialog.h b/korganizer/searchdialog.h index a03c586..ebcff7a 100644 --- a/korganizer/searchdialog.h +++ b/korganizer/searchdialog.h | |||
@@ -26,68 +26,68 @@ | |||
26 | 26 | ||
27 | #include <qregexp.h> | 27 | #include <qregexp.h> |
28 | 28 | ||
29 | #include <kdialogbase.h> | 29 | #include <kdialogbase.h> |
30 | 30 | ||
31 | #include <libkcal/calendar.h> | 31 | #include <libkcal/calendar.h> |
32 | 32 | ||
33 | #include "kolistview.h" | 33 | #include "kolistview.h" |
34 | 34 | ||
35 | class KDateEdit; | 35 | class KDateEdit; |
36 | class QCheckBox; | 36 | class QCheckBox; |
37 | class QLineEdit; | 37 | class QLineEdit; |
38 | class QLabel; | 38 | class QLabel; |
39 | class CalendarView; | 39 | class CalendarView; |
40 | 40 | ||
41 | using namespace KCal; | 41 | using namespace KCal; |
42 | 42 | ||
43 | class SearchDialog : public KDialogBase | 43 | class SearchDialog : public KDialogBase |
44 | { | 44 | { |
45 | Q_OBJECT | 45 | Q_OBJECT |
46 | public: | 46 | public: |
47 | SearchDialog(Calendar *calendar,CalendarView *parent=0); | 47 | SearchDialog(Calendar *calendar,CalendarView *parent=0); |
48 | virtual ~SearchDialog(); | 48 | virtual ~SearchDialog(); |
49 | KOListView *listview(){ return listView;} | 49 | KOListView *listview(){ return listView;} |
50 | void updateView(); | 50 | void updateView(); |
51 | 51 | ||
52 | public slots: | 52 | public slots: |
53 | void changeEventDisplay(Event *, int) { updateView(); } | 53 | void changeEventDisplay(Event *, int) { updateView(); } |
54 | void updateConfig(); | 54 | void updateConfig(); |
55 | void updateList(); | 55 | void updateList(); |
56 | protected slots: | 56 | protected slots: |
57 | void accept(); | 57 | void accept(); |
58 | void doSearch(); | 58 | void doSearch(); |
59 | void searchTextChanged( const QString &_text ); | 59 | void searchTextChanged( const QString &_text ); |
60 | 60 | ||
61 | signals: | 61 | signals: |
62 | void showEventSignal(Event *); | 62 | void showEventSignal(Event *); |
63 | void editEventSignal(Event *); | 63 | void editEventSignal(Event *); |
64 | void deleteEventSignal(Event *); | 64 | void deleteEventSignal(Event *); |
65 | 65 | ||
66 | private: | 66 | private: |
67 | void search(const QRegExp &); | 67 | void search(const QRegExp &); |
68 | 68 | ||
69 | Calendar *mCalendar; | 69 | Calendar *mCalendar; |
70 | 70 | ||
71 | QPtrList<Event> mMatchedEvents; | 71 | QPtrList<Event> mMatchedEvents; |
72 | QPtrList<Todo> mMatchedTodos; | 72 | QPtrList<Todo> mMatchedTodos; |
73 | QPtrList<Journal> mMatchedJournals; | 73 | QPtrList<Journal> mMatchedJournals; |
74 | 74 | ||
75 | QLabel *searchLabel; | 75 | QLabel *searchLabel; |
76 | QLineEdit *searchEdit; | 76 | QLineEdit *searchEdit; |
77 | KOListView *listView; | 77 | KOListView *listView; |
78 | 78 | ||
79 | KDateEdit *mStartDate; | 79 | KDateEdit *mStartDate; |
80 | KDateEdit *mEndDate; | 80 | KDateEdit *mEndDate; |
81 | // QCheckBox *mInclusiveCheck; | 81 | // QCheckBox *mInclusiveCheck; |
82 | QCheckBox *mSummaryCheck; | 82 | QCheckBox *mSummaryCheck; |
83 | QCheckBox *mDescriptionCheck; | 83 | QCheckBox *mDescriptionCheck; |
84 | QCheckBox *mCategoryCheck; | 84 | QCheckBox *mCategoryCheck; |
85 | QCheckBox *mSearchEvent; | 85 | QCheckBox *mSearchEvent; |
86 | QCheckBox *mSearchTodo; | 86 | QCheckBox *mSearchTodo; |
87 | QCheckBox *mSearchJournal; | 87 | QCheckBox *mSearchJournal; |
88 | QCheckBox *mSearchAName; | 88 | QCheckBox *mSearchAName; |
89 | QCheckBox *mSearchAEmail; | 89 | QCheckBox *mSearchAEmail; |
90 | void keyPressEvent ( QKeyEvent *e) ; | 90 | //void keyPressEvent ( QKeyEvent *e) ; |
91 | }; | 91 | }; |
92 | 92 | ||
93 | #endif | 93 | #endif |