?? httpexampleuriquerydialog.cpp
字號:
/**
*
* @brief Definition of CHTTPExampleUriQueryDialog
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/
// INCLUDE FILES
// Class include
#include "HTTPExampleUriQueryDialog.h"
// System includes
#include <avkon.hrh> // EAknSoftkeyOk
// User includes
// CONSTANTS
// ================= MEMBER FUNCTIONS =======================
/**
* C++ constructor
*/
CHTTPExampleUriQueryDialog::CHTTPExampleUriQueryDialog(TDes& aDataText, const TTone& aTone)
: CAknTextQueryDialog(aDataText, aTone)
{
}
/**
* Override of base class method called when the dialog tries to close.
* @retval ETrue The user has entered a valid URI
* @retval EFalse The user has not entered a valid URI
*/
TBool CHTTPExampleUriQueryDialog::OkToExitL(TInt aButtonId)
{
if (!CAknTextQueryDialog::OkToExitL(aButtonId))
return EFalse;
if (aButtonId == EAknSoftkeyOk)
{
if (iUriParser.Parse(Text()) != KErrNone)
{
return EFalse;
}
}
return ETrue;
}
// End of File
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -