calendarapiexampleentryitemlist.h

来自「该源码实现个人日程管理以及备忘功能」· C头文件 代码 · 共 66 行

H
66
字号
/*
* ============================================================================
*  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 + =
减小字号Ctrl + -
显示快捷键?