?? bookinfocontainer.h
字號(hào):
/*
* ============================================================================
* 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
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -