controlpanelplugins/langandregplugin/src/cplanguagepluginutil.h
changeset 40 593f946f4fec
equal deleted inserted replaced
22:a5692c68d772 40:593f946f4fec
       
     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:  utility class
       
    15  *
       
    16  */
       
    17 #ifndef CPLANGUAGEPLUGINUTIL_H
       
    18 #define CPLANGUAGEPLUGINUTIL_H
       
    19 
       
    20 #include <QStringList>
       
    21 #include <QList>
       
    22 #include <hbinputlanguage.h>
       
    23 
       
    24 class CpLanguagePluginUtil
       
    25 {
       
    26 public:
       
    27     static QStringList localizedLanguageNames(const QStringList &languageNames);
       
    28     static QStringList localizedRegionNames(const QStringList &regionNames);
       
    29     static QStringList localizedInputLanguageNames(const QList<HbInputLanguage> &inputLanguages);
       
    30     static bool isChineseVariant();
       
    31 private:
       
    32     CpLanguagePluginUtil();
       
    33     Q_DISABLE_COPY(CpLanguagePluginUtil)
       
    34 };
       
    35 
       
    36 #endif
       
    37 
       
    38 //End of File