logsui/logscntfinder/inc/logspredictivethai12keytranslator.h
changeset 2 7119b73b84d6
child 4 e52d42f9500c
equal deleted inserted replaced
0:4a5361db8937 2:7119b73b84d6
       
     1 /*
       
     2 * Copyright (c) 2009 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:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef LOGSPREDICTIVETHAI12KEYTRANSLATOR_H
       
    19 #define LOGSPREDICTIVETHAI12KEYTRANSLATOR_H
       
    20 
       
    21 #include <QObject>
       
    22 #include <QChar>
       
    23 #include <QHash>
       
    24 
       
    25 #include "logspredictive12keytranslator.h"
       
    26 
       
    27 class HbKeymap;
       
    28 
       
    29 
       
    30 /**
       
    31  * translator for Thai ITU-T 12 keys keyboard 
       
    32  *
       
    33  */
       
    34 class LogsPredictiveThai12KeyTranslator : public LogsPredictive12KeyTranslator 
       
    35 {
       
    36 
       
    37 public: 
       
    38 
       
    39     explicit LogsPredictiveThai12KeyTranslator();
       
    40     ~LogsPredictiveThai12KeyTranslator();
       
    41     
       
    42 public: //from LogsPredictiveTranslator
       
    43     
       
    44     const QChar translateChar( const QChar character ) const;
       
    45     QStringList nameTokens( const QString& name ) const;
       
    46     
       
    47 private:
       
    48     
       
    49     bool isIgnored( const QChar character ) const;
       
    50     
       
    51 private:
       
    52     
       
    53     friend class UT_LogsPredictiveThai12KeyTranslator;
       
    54     
       
    55 };
       
    56 
       
    57 #endif //LOGSPREDICTIVETHAI12KEYTRANSLATOR_H