userguide/inc/HelpUtils.h
branchRCL_3
changeset 17 12f60d9a73b3
equal deleted inserted replaced
16:0d1adf67ec1b 17:12f60d9a73b3
       
     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 HELPUTILS_H
       
    19 #define HELPUTILS_H
       
    20 
       
    21 #include <QString>
       
    22 
       
    23 class HelpUtils
       
    24 {
       
    25 public:
       
    26 	static void loadHtmlFromZipFile(const QString& path, const QString& htmlFile, QString& htmlContent);
       
    27 	static int launchApplication(const QString& appUid);
       
    28 	static bool suppportFeatureID(int featureID);
       
    29 	static QString rootPath();
       
    30 	static QString UILocaleFromQtToSymbian();
       
    31 	static Qt::Orientation defaultOrientation();
       
    32 	static Qt::SortOrder sortOrder();
       
    33 	static int findStr(const QString& strFrom, const QString& strToFind);
       
    34 	static int compareStr(const QString& str1, const QString& str2);
       
    35 };
       
    36 
       
    37 #endif //HELPUTILS_H