bookinfocontainer.h
来自「symbian系统上的记事本程序」· C头文件 代码 · 共 58 行
H
58 行
/*
* ============================================================================
* Name : CBookInfoContainer from CCoeControl, MCoeControlObserver
* Part of : Hello
* Copyright (c) 2003 Nokia. All rights reserved.
* ============================================================================
*/
#ifndef BOOKINFOCONTAINER_H
#define BOOKINFOCONTAINER_H
#include <aknview.h>
#include "PHKServerBookEngine.h"
class CEikLabel;
class CEikEdwin;
class CAknNumericSecretEditor;
class CBookInfoContainer : public CCoeControl, MCoeControlObserver
{
public:
CBookInfoContainer();
void ConstructL(const TRect& aRect);
virtual ~CBookInfoContainer();
public:
void FocusTo(TInt aCommand);
private:
void SizeChanged();
TInt CountComponentControls() const;
CCoeControl* ComponentControl(TInt aIndex) const;
void Draw(const TRect& aRect) const;
TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType);
private:
void HandleControlEventL(CCoeControl* /*aControl*/, TCoeEvent /*aEventType*/);
public:
void GetEditInfo(TDes& afirst,TDes& alast,TDes& atelephone);
void EditReadonly();
void SetTxtInfo(TDes& first, TDes& last, TDes& telphone);
private:
CEikLabel* m_pFirstnameLabel;
CEikLabel* m_pLastnameLabel;
CEikLabel* m_TelephoneLabel;
CEikEdwin* m_pFirstnameEdwin;
CEikEdwin* m_pLastnameEdwin;
CEikEdwin* m_pTelephoneEdwin;
TInt m_ConFlag;
TInt ConNum;
};
#endif // BOOKINFOCONTAINER_H
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?