📄 aknexsettinglistappui.cpp
字号:
/* Copyright (c) 2004, Nokia. All rights reserved */
// INCLUDE FILES
#include <avkon.hrh>
#include "AknExSettingListAppUi.h"
#include "AknExSettingListView.h"
// ========================= MEMBER FUNCTIONS ==================================
// -----------------------------------------------------------------------------
// CAknExSettingListAppUi::CAknExSettingListAppUi()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CAknExSettingListAppUi::CAknExSettingListAppUi()
{
// No implementation required
}
// -----------------------------------------------------------------------------
// CAknExSettingListAppUi::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CAknExSettingListAppUi::ConstructL()
{
BaseConstructL();
// Creates CAknExSettingListView class object.
CAknExSettingListView* view = new( ELeave ) CAknExSettingListView;
CleanupStack::PushL( view );
// Transfer ownership to CAknViewAppUi
AddViewL( view );
// Pop view from CleanupStack
CleanupStack::Pop();
ActivateLocalViewL( view->Id() );
}
// -----------------------------------------------------------------------------
// CAknExSettingListAppUi::~CAknExSettingListAppUi()
// Destructor.
// -----------------------------------------------------------------------------
//
CAknExSettingListAppUi::~CAknExSettingListAppUi()
{
// No implementation required
}
// -----------------------------------------------------------------------------
// CAknExSettingListAppUi::HandleKeyEventL()
// Takes care of key event handling.
// -----------------------------------------------------------------------------
//
void CAknExSettingListAppUi::HandleCommandL( TInt aCommand )
{
switch ( aCommand )
{
case EEikCmdExit:
{
Exit();
break;
}
default:
break;
}
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -