?? dynamicsettinglistappview.h
字號:
/*
* ============================================================================
* Name : CDynamicSettingListAppView from DynamicSettingListAppView.cpp
* Part of : Dynamic Setting List
* Created : 09/21/2005 by Forum Nokia
* Version : 1.0
* Copyright: Nokia Corporation
* ============================================================================
*/
#ifndef __DYNAMICSETTINGLIST_APPVIEW_H__
#define __DYNAMICSETTINGLIST_APPVIEW_H__
// INCLUDE FILES
#include "dynamicsettinglist.hrh"
#include <coecntrl.h>
#include <aknsettingitemlist.h>
// CLASS DECLARATION
/**
* A view class for a dynamic setting list.
*/
class CDynamicSettingListAppView : public CCoeControl
{
public: // Constructor and destructor
/**
* Symbian OS default constructor.
*/
void ConstructL(const TRect& aRect);
/**
* Constructor
*/
CDynamicSettingListAppView();
/**
* Destructor
*/
~CDynamicSettingListAppView();
private: // Functions from base classes
/**
* From CCoeControl,Draw.
*/
void Draw(const TRect& aRect) const;
/**
* From CoeControl,CountComponentControls.
*/
TInt CountComponentControls() const;
/**
* From CCoeControl,ComponentControl.
*/
CCoeControl* ComponentControl(TInt aIndex) const;
/**
* From CCoeControl,OfferKeyEventL.
*/
TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
private: // New Functions
/**
* Loads the setting list dynamically.
*/
void LoadListL();
/**
* Stores the settings of the setting list.
*/
void StoreSettingsL();
private: // Data members
CAknSettingItemList* iItemList;
TBuf<KMaxTextLength> iText;
TBuf<KMaxPasswordLength> iPassword;
TInt iNumber;
TInt iVolume;
TInt iSlider;
TTime iDate;
TTimeIntervalSeconds iTime;
TInetAddr iIp;
TInt iEnumText;
TBool iBinary;
};
#endif // __DYNAMICSETTINGLIST_APPVIEW_H__
// End of file
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -