mmsharing/livecommsui/lcui/tsrc/ut_lcui/hbstubs/dialpadvtkeyhandler.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
child 35 6c57ef9392d2
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
     1 /*!
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: Dialpad key handler.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef DIALPADVTKEYHANDLER_H
       
    19 #define DIALPADVTKEYHANDLER_H
       
    20 
       
    21 #include <QObject>
       
    22 
       
    23 class Dialpad;
       
    24 class HbMainWindow;
       
    25 
       
    26 /*!
       
    27     DialpadVtKeyHandler
       
    28     Class provides key handling for dialpad component.
       
    29 
       
    30     @code
       
    31     Dialpad *dialpad = new Dialpad();
       
    32     DialpadVtKeyHandler *keyhandler = new DialpadVtKeyHandler(dialpad, this);
       
    33     @endcode
       
    34     
       
    35 */
       
    36 class DialpadVtKeyHandler : public QObject
       
    37 {
       
    38     Q_OBJECT
       
    39 
       
    40 public:
       
    41     explicit DialpadVtKeyHandler(Dialpad *dialPad, HbMainWindow& mainWindow, QObject *parent = 0);
       
    42     virtual ~DialpadVtKeyHandler();
       
    43 
       
    44 private:
       
    45     HbMainWindow& mMainWindow;
       
    46     Dialpad* mDialPad; // not owned
       
    47     
       
    48 public: // helper    	
       
    49 	  void contentChanged( QString chrs );
       
    50 	  
       
    51 };
       
    52 
       
    53 #endif // DIALPADVTKEYHANDLER_H