controlpanelplugins/themeplugin/src/cpthemeutil.h
changeset 25 19394c261aa5
child 28 e0b83131558d
child 40 593f946f4fec
equal deleted inserted replaced
24:f5dfdd5e4a1b 25:19394c261aa5
       
     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 CPTHEMEUTIL_H_
       
    19 #define CPTHEMEUTIL_H_
       
    20 
       
    21 #include <QList>
       
    22 
       
    23 class QStringList;
       
    24 class CpThemeInfo;
       
    25 
       
    26 class CpThemeUtil {
       
    27 
       
    28 public:
       
    29     static QStringList themePathList();
       
    30     static QList<CpThemeInfo> buildThemeList();
       
    31     static CpThemeInfo* buildThemeInfo(const QString& themePath, const QString& themeName);
       
    32     static QString themePath(const QString& themeName);
       
    33     static CpThemeInfo* defaultTheme();
       
    34 };
       
    35 
       
    36 #endif /* CPTHEMEUTIL_H_ */
       
    37 
       
    38