controlpanelplugins/themeplugin/src/cpthemechanger_p.h
changeset 19 36aa4756ee82
parent 12 624337f114fe
child 17 4a9568303383
equal deleted inserted replaced
12:624337f114fe 19:36aa4756ee82
     1 /*
     1 /*
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3  * All rights reserved.
     4 * This component and the accompanying materials are made available
     4  * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5  * under the terms of "Eclipse Public License v1.0""
     6 * which accompanies this distribution, and is available
     6  * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     8  *
     9 * Initial Contributors:
     9  * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10  * Nokia Corporation - initial contribution.
    11 *
    11  *
    12 * Contributors:
    12  * Contributors:
    13 *
    13  *
    14 * Description:  HbThemeChangerPrivate class definition
    14  * Description:  
    15 *
    15  *   
    16 */
    16  */
    17 
       
    18 
    17 
    19 #ifndef HBTHEMECHANGER_P_H
    18 #ifndef HBTHEMECHANGER_P_H
    20 #define HBTHEMECHANGER_P_H
    19 #define HBTHEMECHANGER_P_H
    21 
    20 
    22 #include <hbglobal.h>
    21 #include <hbglobal.h>
    69     bool isConnected() const;
    68     bool isConnected() const;
    70 
    69 
    71     const QList<CpThemeChanger::ThemeInfo>& themes() const;
    70     const QList<CpThemeChanger::ThemeInfo>& themes() const;
    72     void updateThemeList(const QString& currentThemeName = QString());
    71     void updateThemeList(const QString& currentThemeName = QString());
    73 
    72 
    74     const QStringList directories() const;
       
    75 
       
    76     const CpThemeChanger::ThemeInfo& currentTheme() const;
    73     const CpThemeChanger::ThemeInfo& currentTheme() const;
    77     int indexOf(const CpThemeChanger::ThemeInfo& theme) const;
    74     int indexOf(const CpThemeChanger::ThemeInfo& theme) const;
    78 
    75 
    79     const QString& currentThemeName() const;
    76     const QString& currentThemeName() const;
    80     bool changeTheme(const QString& newtheme);
    77     bool changeTheme(const QString& newtheme);