📄 calendarapiexampleentryitemlist.h
字号:
/*
* ============================================================================
* Name : CCalendarAPIexampleEntryItemList from CalendarAPIexampleEntryItemList.h
* Part of : CalendarAPIexample
* Created : 02/22/2005 by Forum Nokia
* Version : 1.0
* Copyright: Nokia Corporation
* ============================================================================
*/
#ifndef CALENDARAPIEXAMPLEENTRYITEMLIST_H
#define CALENDARAPIEXAMPLEENTRYITEMLIST_H
// INCLUDE FILES
#include <aknsettingitemlist.h>
#include "calendarapiexample.hrh"
// FORWARD DECLARATIONS
class CEntry;
// CLASS DECLARATION
class CCalendarAPIexampleEntryItemList : public CAknSettingItemList
{
public: // New functions
/*!
* SetData()
*
* Sets values to itemlist from given entry.
*/
void SetData(const CEntry& aData);
/*!
* SaveL()
*
* Sets values from itemlist to given entry.
* Returns true if user input is valid, otherwise false is returned.
*/
TBool SaveL(CEntry& aData);
private: // Functions from base classes
/*!
* From CAknSettingItemList,CreateSettingItemL
*/
CAknSettingItem* CreateSettingItemL( TInt aIdentifier );
/*!
* From CCoeControl,SizeChanged
*/
void SizeChanged();
private: // Data members
TBuf<KMaxNameLength> iName;
TInt iAge;
TTime iDate;
TBool iAlarm;
TTime iAlarmDate;
TTime iAlarmTime;
TInt iSync;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -