📄 s60uiexampleform.h
字号:
// Copyright (c) 2006 Nokia Corporation.
#ifndef CS60UIEXAMPLEFORM_H
#define CS60UIEXAMPLEFORM_H
#include "aknform.h"
class CS60UIExampleForm : public CAknForm
{
public:
/**
* RunDlgLD()
* Creates, initialises, displays and then deletes the form
*/
static TInt CS60UIExampleForm::RunDlgLD(TDes& aName,
TTime& aBirthDate,
TDes& aMobile);
/**
* ~CS60UIExampleForm()
* Destructor
*/
virtual ~CS60UIExampleForm();
private:
/**
* NewL()
* Static two stage constructor
*/
static CS60UIExampleForm* NewL(TDes& aName,
TTime& aBirthDate,
TDes& aMobile);
/**
* CS60UIExampleForm()
* First stage constructor
*/
CS60UIExampleForm(TDes& aName,
TTime& aBirthDate,
TDes& aMobile);
/**
* DynInitMenuPaneL()
* Used to remove unwanted default options from edit mode menu
* from MEikMenuObserver
*/
void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane) ;
/**
* SaveFormDataL()
* extracts information from editors
*/
TBool SaveFormDataL();
/**
* DoNotSaveFormDataL()
* loads editors with previous text
*/
void DoNotSaveFormDataL();
private:
/**
* References to data held elsewhere
*/
TDes& iName;
TTime& iBirthDate;
TDes& iMobile;
};
#endif // CS60UIEXAMPLEFORM_H
// End of file
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -