本文整理汇总了C++中CCalEntry::ClearRepeatingPropertiesL方法的典型用法代码示例。如果您正苦于以下问题:C++ CCalEntry::ClearRepeatingPropertiesL方法的具体用法?C++ CCalEntry::ClearRepeatingPropertiesL怎么用?C++ CCalEntry::ClearRepeatingPropertiesL使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CCalEntry
的用法示例。
在下文中一共展示了CCalEntry::ClearRepeatingPropertiesL方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: UpdateItemToAgnL
// -----------------------------------------------------------------------------
// CPIMAgnApptAdapter::UpdateItemToAgnL
// Reads an Agenda Model Appt item and updates it based on the PIM item data.
// -----------------------------------------------------------------------------
//
void CPIMAgnApptAdapter::UpdateItemToAgnL(const MPIMEventItem& aItem, // PIM Item Data
CCalEntry& aEntry) // Agenda Model entry
{
JELOG2(EPim);
// Before updating values, empty the fields or set default values for the
// fields that PIM api supports
ClearPIMFieldsL(aEntry, KPIMSupportedApptFields,
KPIMSupportedApptFieldsCount);
// Convert fields from Java side to the native side
ConvertFieldsToAgnL(aItem, aEntry);
// If there is a defined repeat rule, convert it also
if (aItem.IsRepeating())
{
if (aItem.GetRepeat()->IsModified())
{
ConvertRepeatToAgnL(aItem, aEntry);
}
}
else
{
// Clear the repeat, as it might have been removed.
aEntry.ClearRepeatingPropertiesL();
}
}