author | zautrix <zautrix> | 2005-02-22 01:14:35 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-22 01:14:35 (UTC) |
commit | df40d77f7407326221ba2848163c4f61b7bb1d2f (patch) (unidiff) | |
tree | 1b46bf666f7371189ba421080f4dcd66dc9037f2 /korganizer/searchdialog.h | |
parent | ce261d6197d319d67f7b275813449f36ce42a730 (diff) | |
download | kdepimpi-df40d77f7407326221ba2848163c4f61b7bb1d2f.zip kdepimpi-df40d77f7407326221ba2848163c4f61b7bb1d2f.tar.gz kdepimpi-df40d77f7407326221ba2848163c4f61b7bb1d2f.tar.bz2 |
next
-rw-r--r-- | korganizer/searchdialog.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/korganizer/searchdialog.h b/korganizer/searchdialog.h index ebcff7a..f4aad9e 100644 --- a/korganizer/searchdialog.h +++ b/korganizer/searchdialog.h | |||
@@ -18,38 +18,38 @@ | |||
18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
19 | 19 | ||
20 | As a special exception, permission is given to link this program | 20 | As a special exception, permission is given to link this program |
21 | with any edition of Qt, and distribute the resulting executable, | 21 | with any edition of Qt, and distribute the resulting executable, |
22 | without including the source code for Qt in the source distribution. | 22 | without including the source code for Qt in the source distribution. |
23 | */ | 23 | */ |
24 | #ifndef SEARCHDIALOG_H | 24 | #ifndef SEARCHDIALOG_H |
25 | #define SEARCHDIALOG_H | 25 | #define SEARCHDIALOG_H |
26 | 26 | ||
27 | #include <qregexp.h> | 27 | #include <qregexp.h> |
28 | 28 | ||
29 | #include <kdialogbase.h> | 29 | #include <kdialogbase.h> |
30 | #include <qvbox.h> | ||
30 | 31 | ||
31 | #include <libkcal/calendar.h> | 32 | #include <libkcal/calendar.h> |
32 | 33 | ||
33 | #include "kolistview.h" | 34 | #include "kolistview.h" |
34 | 35 | ||
35 | class KDateEdit; | 36 | class KDateEdit; |
36 | class QCheckBox; | 37 | class QCheckBox; |
37 | class QLineEdit; | 38 | class QLineEdit; |
38 | class QLabel; | 39 | class QLabel; |
39 | class CalendarView; | 40 | class CalendarView; |
40 | 41 | ||
41 | using namespace KCal; | 42 | using namespace KCal; |
42 | 43 | class SearchDialog : public QVBox | |
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(); |
@@ -69,25 +69,24 @@ class SearchDialog : public KDialogBase | |||
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; | ||
82 | QCheckBox *mSummaryCheck; | 81 | QCheckBox *mSummaryCheck; |
83 | QCheckBox *mDescriptionCheck; | 82 | QCheckBox *mDescriptionCheck; |
84 | QCheckBox *mCategoryCheck; | 83 | QCheckBox *mCategoryCheck; |
85 | QCheckBox *mSearchEvent; | 84 | QCheckBox *mSearchEvent; |
86 | QCheckBox *mSearchTodo; | 85 | QCheckBox *mSearchTodo; |
87 | QCheckBox *mSearchJournal; | 86 | QCheckBox *mSearchJournal; |
88 | QCheckBox *mSearchAName; | 87 | QCheckBox *mSearchAName; |
89 | QCheckBox *mSearchAEmail; | 88 | QCheckBox *mSearchAEmail; |
90 | //void keyPressEvent ( QKeyEvent *e) ; | 89 | void keyPressEvent ( QKeyEvent *e) ; |
91 | }; | 90 | }; |
92 | 91 | ||
93 | #endif | 92 | #endif |