aknexquerytextandnumberlisteventhandler.cpp

来自「symbian中询问对话框生成的源代码 适合初学者使用。」· C++ 代码 · 共 58 行

CPP
58
字号
/*  Copyright (c) 2004, Nokia. All rights reserved */

// INCLUDE FILES
#include "AknExQuery.hrh"
#include "AknExQueryContainer.h"
#include "AknExQueryTextAndNumberListEventHandler.h"
#include <aknexquery.rsg>

// ================= MEMBER FUNCTIONS =========================================

// ----------------------------------------------------------------------------
// CAknExQueryTextAndNumberListEventHandler::
//     CAknExQueryTextAndNumberListEventHandler()
// Default constructor.
// ----------------------------------------------------------------------------
//
CAknExQueryTextAndNumberListEventHandler::
                                    CAknExQueryTextAndNumberListEventHandler( 
                                            CAknExQueryContainer* aContainer )
: CAknExQueryBaseListEventHandler( aContainer )
    {
    }

// ----------------------------------------------------------------------------
// CAknExQueryTextAndNumberListEventHandler::
//     ~CAknExQueryTextAndNumberListEventHandler()
// Destructor.
// ----------------------------------------------------------------------------
//
CAknExQueryTextAndNumberListEventHandler::
    ~CAknExQueryTextAndNumberListEventHandler()
    {
    }

// ----------------------------------------------------------------------------
// CAknExQueryTextAndNumberListEventHandler::HandleSelectedListItemL()
// ----------------------------------------------------------------------------
//
void CAknExQueryTextAndNumberListEventHandler::HandleSelectedListItemL( 
                                                                TInt aCommand )
    {
    switch ( aCommand )
        {
        case EAknExQueryListBoxCmdData1:
            iContainer->ShowMultiLineTextAndNumberLayoutL( 
                R_AKNEXQUERY_MULTI_LINE_DATA_AND_NUMBER_LAYOUT );
            break;
        case EAknExQueryListBoxCmdData2:
            iContainer->ShowMultiLineTextAndNumberLayoutL( 
                R_AKNEXQUERY_MULTI_LINE_CODE_AND_NUMBER_LAYOUT );
            break;
        default:
            break;
        }
    }

// End of File

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?