📄 irsocketsdialog.cpp
字号:
/**
*
* @brief Definition of CIrSocketsDialog
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/
// INCLUDE FILES
// Class include
#include "IrSocketsDialog.h"
// System includes
#include <aknappui.h> // iAvkonAppUi
#include <avkon.hrh> // EAknSoftkeyBack, EEikCmdExit
// ================= MEMBER FUNCTIONS =======================
/**
* Called by the framework when a button is pressed.
* Translates aButtonId into a command for the AppUi to handle
* @param aButtonId The button which was pressed
*/
TBool CIrSocketsDialog::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;
}
/**
* Called by the dialog framework before the dialog is activated.
* Set the EDWIN control as editable by default.
*/
void CIrSocketsDialog::PostLayoutDynInitL()
{
SetEditableL(ETrue);
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -