author | zautrix <zautrix> | 2005-06-10 13:54:08 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-10 13:54:08 (UTC) |
commit | 31fed261955dcb25d06052a8154ac4cc630b0f7d (patch) (unidiff) | |
tree | ef2b4fe35255f9bf387407b6756c112a67088ad6 /korganizer/searchdialog.h | |
parent | d2f00fc2034450bc9a3cd1d2c3510bef1758d3bc (diff) | |
download | kdepimpi-31fed261955dcb25d06052a8154ac4cc630b0f7d.zip kdepimpi-31fed261955dcb25d06052a8154ac4cc630b0f7d.tar.gz kdepimpi-31fed261955dcb25d06052a8154ac4cc630b0f7d.tar.bz2 |
fixxx
-rw-r--r-- | korganizer/searchdialog.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/korganizer/searchdialog.h b/korganizer/searchdialog.h index 11ad2f0..b345b98 100644 --- a/korganizer/searchdialog.h +++ b/korganizer/searchdialog.h | |||
@@ -31,66 +31,69 @@ | |||
31 | 31 | ||
32 | #include <libkcal/calendar.h> | 32 | #include <libkcal/calendar.h> |
33 | 33 | ||
34 | #include "kolistview.h" | 34 | #include "kolistview.h" |
35 | 35 | ||
36 | class KDateEdit; | 36 | class KDateEdit; |
37 | class QCheckBox; | 37 | class QCheckBox; |
38 | class QLineEdit; | 38 | class QLineEdit; |
39 | class KLineEdit; | 39 | class KLineEdit; |
40 | class QLabel; | 40 | class QLabel; |
41 | class CalendarView; | 41 | class CalendarView; |
42 | 42 | ||
43 | using namespace KCal; | 43 | using namespace KCal; |
44 | class SearchDialog : public QVBox | 44 | class SearchDialog : public QVBox |
45 | { | 45 | { |
46 | Q_OBJECT | 46 | Q_OBJECT |
47 | public: | 47 | public: |
48 | SearchDialog(Calendar *calendar,CalendarView *parent=0); | 48 | SearchDialog(Calendar *calendar,CalendarView *parent=0); |
49 | virtual ~SearchDialog(); | 49 | virtual ~SearchDialog(); |
50 | KOListView *listview(){ return listView;} | 50 | KOListView *listview(){ return listView;} |
51 | void updateView(); | 51 | void updateView(); |
52 | void raiseAndSelect(); | 52 | void raiseAndSelect(); |
53 | 53 | ||
54 | public slots: | 54 | public slots: |
55 | void changeEventDisplay(Event *, int) { updateView(); } | 55 | void changeEventDisplay(Event *, int) { updateView(); } |
56 | void updateConfig(); | 56 | void updateConfig(); |
57 | void updateList(); | 57 | void updateList(); |
58 | protected slots: | 58 | protected slots: |
59 | void setFocusToList(); | 59 | void setFocusToList(); |
60 | void accept(); | 60 | void accept(); |
61 | void doSearch(); | 61 | void doSearch(); |
62 | void searchTextChanged( const QString &_text ); | 62 | void searchTextChanged( const QString &_text ); |
63 | void toggleCheckboxes(); | ||
63 | 64 | ||
64 | signals: | 65 | signals: |
65 | void showEventSignal(Event *); | 66 | void showEventSignal(Event *); |
66 | void editEventSignal(Event *); | 67 | void editEventSignal(Event *); |
67 | void deleteEventSignal(Event *); | 68 | void deleteEventSignal(Event *); |
68 | 69 | ||
69 | private: | 70 | private: |
71 | |||
72 | QHBox *incidenceGroup ,*subjectGroup ,*attendeeGroup; | ||
70 | void search(const QRegExp &); | 73 | void search(const QRegExp &); |
71 | 74 | ||
72 | Calendar *mCalendar; | 75 | Calendar *mCalendar; |
73 | 76 | ||
74 | QPtrList<Event> mMatchedEvents; | 77 | QPtrList<Event> mMatchedEvents; |
75 | QPtrList<Todo> mMatchedTodos; | 78 | QPtrList<Todo> mMatchedTodos; |
76 | QPtrList<Journal> mMatchedJournals; | 79 | QPtrList<Journal> mMatchedJournals; |
77 | 80 | ||
78 | QLabel *searchLabel; | 81 | QLabel *searchLabel; |
79 | KLineEdit *searchEdit; | 82 | KLineEdit *searchEdit; |
80 | KOListView *listView; | 83 | KOListView *listView; |
81 | 84 | ||
82 | KDateEdit *mStartDate; | 85 | KDateEdit *mStartDate; |
83 | KDateEdit *mEndDate; | 86 | KDateEdit *mEndDate; |
84 | QCheckBox *mSummaryCheck; | 87 | QCheckBox *mSummaryCheck; |
85 | QCheckBox *mDescriptionCheck; | 88 | QCheckBox *mDescriptionCheck; |
86 | QCheckBox *mCategoryCheck; | 89 | QCheckBox *mCategoryCheck; |
87 | QCheckBox *mSearchEvent; | 90 | QCheckBox *mSearchEvent; |
88 | QCheckBox *mSearchTodo; | 91 | QCheckBox *mSearchTodo; |
89 | QCheckBox *mSearchJournal; | 92 | QCheckBox *mSearchJournal; |
90 | QCheckBox *mSearchAName; | 93 | QCheckBox *mSearchAName; |
91 | QCheckBox *mSearchAEmail; | 94 | QCheckBox *mSearchAEmail; |
92 | QCheckBox *mAddItems; | 95 | QCheckBox *mAddItems; |
93 | void keyPressEvent ( QKeyEvent *e) ; | 96 | void keyPressEvent ( QKeyEvent *e) ; |
94 | }; | 97 | }; |
95 | 98 | ||
96 | #endif | 99 | #endif |