📄 aknexqueryappui.cpp
字号:
/* Copyright (c) 2004, Nokia. All rights reserved */
// INCLUDE FILES
#include <Avkon.hrh>
#include "AknExQueryAppUi.h"
#include "AknExQueryView.h"
// ================= MEMBER FUNCTIONS =========================================
// ----------------------------------------------------------------------------
// CAknExQueryAppUi::CAknExQueryAppUi()
// Default constructor.
// ----------------------------------------------------------------------------
//
CAknExQueryAppUi::CAknExQueryAppUi()
{
}
// ----------------------------------------------------------------------------
// CAknExQueryAppUi::ConstructL()
// Constructor.
// ----------------------------------------------------------------------------
//
void CAknExQueryAppUi::ConstructL()
{
BaseConstructL();
CAknExQueryView* view = new ( ELeave ) CAknExQueryView;
CleanupStack::PushL( view );
AddViewL( view ); // transfer ownership to CAknViewAppUi
CleanupStack::Pop();
ActivateLocalViewL( view->Id() );
}
// ----------------------------------------------------------------------------
// CAknExQueryAppUi::~CAknExQueryAppUi()
// Destructor
// Frees reserved resources
// ----------------------------------------------------------------------------
//
CAknExQueryAppUi::~CAknExQueryAppUi()
{
}
// ----------------------------------------------------------------------------
// CAknExQueryAppUi::HandleCommandL( TInt aCommand )
// Handles the commands.
// ----------------------------------------------------------------------------
//
void CAknExQueryAppUi::HandleCommandL( TInt aCommand )
{
switch ( aCommand )
{
case EEikCmdExit:
case EAknCmdExit:
Exit();
break;
default:
break;
}
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -