equal
deleted
inserted
replaced
459 return self; |
459 return self; |
460 |
460 |
461 } |
461 } |
462 |
462 |
463 CCalFindInstanceSettings::CCalFindInstanceSettings(CalCommon::TCalViewFilter aFilter, const CalCommon::TCalTimeRange& aTimeRange) : |
463 CCalFindInstanceSettings::CCalFindInstanceSettings(CalCommon::TCalViewFilter aFilter, const CalCommon::TCalTimeRange& aTimeRange) : |
464 iTimeRange(aTimeRange), iFilter(aFilter), iPriorityRange(0, KMaxTUint) |
464 iTimeRange(aTimeRange), iFilter(aFilter), iPriorityRange(0, KMaxTUint), iFavouriteFilter(0, 0) |
465 #ifdef SYMBIAN_CALENDAR_ENHANCEDSEARCHANDSORT |
465 #ifdef SYMBIAN_CALENDAR_ENHANCEDSEARCHANDSORT |
466 , iSortCriteria(NULL) |
466 , iSortCriteria(NULL) |
467 #endif |
467 #endif |
468 { |
468 { |
469 } |
469 } |
578 const CalCommon::TCalPriorityRange& CCalFindInstanceSettings::PriorityRange() const |
578 const CalCommon::TCalPriorityRange& CCalFindInstanceSettings::PriorityRange() const |
579 { |
579 { |
580 return iPriorityRange; |
580 return iPriorityRange; |
581 } |
581 } |
582 |
582 |
|
583 /** Specifies the favourite filter in CCalInstanceView::FindInstanceL. |
|
584 @param aUserIntValue The value of favourite attribute that will be filtered. |
|
585 @param aUserIntMask Specifies which bits are validate in the search. |
|
586 @pre None |
|
587 @post The favourite filter of this CCalFindInstanceSettings object has been updated. |
|
588 @publishedPartner |
|
589 @prototype |
|
590 @capability None |
|
591 */ |
|
592 EXPORT_C void CCalFindInstanceSettings::SetFavouriteFilter( |
|
593 const CalCommon::TCalFavouriteFilter& aFavouriteFilter) |
|
594 { |
|
595 iFavouriteFilter = aFavouriteFilter; |
|
596 } |
|
597 |
|
598 const CalCommon::TCalFavouriteFilter& CCalFindInstanceSettings::FavouriteFilter() const |
|
599 { |
|
600 return iFavouriteFilter; |
|
601 } |
|
602 |
583 #ifdef SYMBIAN_CALENDAR_ENHANCEDSEARCHANDSORT |
603 #ifdef SYMBIAN_CALENDAR_ENHANCEDSEARCHANDSORT |
|
604 |
|
605 |
584 /** Return the reference of sort criteria which defines the sort order of the instances |
606 /** Return the reference of sort criteria which defines the sort order of the instances |
585 returned by CCalInstanceView::FindInstanceL. If sort criteria is not defined the |
607 returned by CCalInstanceView::FindInstanceL. If sort criteria is not defined the |
586 default sort order will apply. |
608 default sort order will apply. |
587 @return The reference to sort criteria object |
609 @return The reference to sort criteria object |
588 @pre None |
610 @pre None |