telutils/keysequencerecognitionservice/src/keysequencehandler.cpp
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
child 21 0a6dd2dc9970
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
     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: Base class for key sequence handlers.
       
    15 *
       
    16 */
       
    17 
       
    18 #include <QCoreApplication>
       
    19 #include <QDebug>
       
    20 #include <xqaiwrequest.h>
       
    21 #include "keysequencehandler.h"
       
    22 #include "keysequencerecognitionservicelog.h"
       
    23 
       
    24 /*!
       
    25   KeySequenceHandler::KeySequenceHandler.
       
    26  */
       
    27 KeySequenceHandler::KeySequenceHandler(
       
    28     QObject* parent)
       
    29     : 
       
    30     QObject(parent),
       
    31     m_keySequenceValidator("")
       
    32 {
       
    33     DPRINT_METHODENTRYEXIT;
       
    34 }
       
    35 
       
    36 
       
    37 /*!
       
    38   KeySequenceHandler::~KeySequenceHandler.
       
    39  */
       
    40 KeySequenceHandler::~KeySequenceHandler()
       
    41 {
       
    42     DPRINT_METHODENTRYEXIT;
       
    43 }
       
    44 
       
    45 
       
    46 /*!
       
    47   KeySequenceHandler::keySequenceValidator.
       
    48  */
       
    49 QString KeySequenceHandler::keySequenceValidator() const
       
    50 {
       
    51     DPRINT_METHODENTRYEXIT;
       
    52     
       
    53     return m_keySequenceValidator;
       
    54 }
       
    55 
       
    56 
       
    57 /*!
       
    58   KeySequenceHandler::setKeySequenceValidator.
       
    59  */
       
    60 void KeySequenceHandler::setKeySequenceValidator(const QString &validator)
       
    61 {
       
    62     DPRINT_METHODENTRYEXIT;
       
    63     
       
    64     m_keySequenceValidator = validator;
       
    65 }