author | zautrix <zautrix> | 2004-08-06 15:59:14 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-08-06 15:59:14 (UTC) |
commit | f3307379ea27ad1394c9107c0129ecd3efd6bca6 (patch) (unidiff) | |
tree | fdfebbebf84b2e86812165fac2bec09f95008ee2 /korganizer/calendarview.cpp | |
parent | fc862590cffbef8429bb8804dadfa61a21a52c7b (diff) | |
download | kdepimpi-f3307379ea27ad1394c9107c0129ecd3efd6bca6.zip kdepimpi-f3307379ea27ad1394c9107c0129ecd3efd6bca6.tar.gz kdepimpi-f3307379ea27ad1394c9107c0129ecd3efd6bca6.tar.bz2 |
Added qick filter selection to kopi menu
-rw-r--r-- | korganizer/calendarview.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 53c079c..fab4540 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp | |||
@@ -3158,6 +3158,11 @@ void CalendarView::showDates(const DateList &selectedDates) | |||
3158 | 3158 | ||
3159 | } | 3159 | } |
3160 | 3160 | ||
3161 | QPtrList<CalFilter> CalendarView::filters() | ||
3162 | { | ||
3163 | return mFilters; | ||
3164 | |||
3165 | } | ||
3161 | void CalendarView::editFilters() | 3166 | void CalendarView::editFilters() |
3162 | { | 3167 | { |
3163 | // kdDebug() << "CalendarView::editFilters()" << endl; | 3168 | // kdDebug() << "CalendarView::editFilters()" << endl; |
@@ -3175,6 +3180,10 @@ void CalendarView::toggleFilter() | |||
3175 | showFilter(! mFilterView->isVisible()); | 3180 | showFilter(! mFilterView->isVisible()); |
3176 | } | 3181 | } |
3177 | 3182 | ||
3183 | KOFilterView *CalendarView::filterView() | ||
3184 | { | ||
3185 | return mFilterView; | ||
3186 | } | ||
3178 | void CalendarView::selectFilter( int fil ) | 3187 | void CalendarView::selectFilter( int fil ) |
3179 | { | 3188 | { |
3180 | mFilterView->setSelectedFilter( fil ); | 3189 | mFilterView->setSelectedFilter( fil ); |