📄 helloworldddialog.cpp
字号:
/*
* ============================================================================
* Name : CHelloWorldDDialog from HelloWorldDDialog.h
* Part of : HelloWorldD
* Created : 2006-3-13 by
* Implementation notes:
* Initial content was generated by Series 60 AppWizard.
* Version :
* Copyright:
* ============================================================================
*/
// INCLUDE FILES
#include "HelloWorldDDialog.h"
#include <eiklabel.h> // for example label control
#include <avkon.hrh>
#include <aknappui.h>
// ================= MEMBER FUNCTIONS =======================
// Destructor
CHelloWorldDDialog::~CHelloWorldDDialog()
{
}
// ---------------------------------------------------------
// CHelloWorldDDialog::OkToExitL(TInt aButtonId)
// called by framework when the softkey is pressed
// ---------------------------------------------------------
//
TBool CHelloWorldDDialog::OkToExitL(TInt aButtonId)
{
// Translate the button presses into commands for the appui & current
// view to handle
if ( aButtonId == EAknSoftkeyOptions )
{
iAvkonAppUi->ProcessCommandL( EAknSoftkeyOptions );
}
else if ( aButtonId == EAknSoftkeyBack )
{
iAvkonAppUi->ProcessCommandL( EEikCmdExit );
}
return EFalse;
}
// ---------------------------------------------------------
// CHelloWorldDDialog::PreLayoutDynInitL();
// called by framework before dialog is shown
// ---------------------------------------------------------
//
void CHelloWorldDDialog::PreLayoutDynInitL()
{
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -