2 Copyright (c) 2007 Paolo Capriotti <p.capriotti@gmail.com>
3 Copyright (c) 2008 by Petri Damsten <damu@iki.fi>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
11 #ifndef DESKTOPTHEMEDETAILS_H
12 #define DESKTOPTHEMEDETAILS_H
15 #include "ui_DesktopThemeDetails.h"
22 class QStandardItemModel
;
24 class DesktopThemeDetails
: public KCModule
, public Ui::DesktopThemeItems
28 DesktopThemeDetails(QWidget
* parent
, const QVariantList
&args
);
29 ~DesktopThemeDetails();
34 void replacementItemChanged();
35 void resetThemeDetails();
36 void toggleAdvancedVisible();
42 void updateReplaceItemList(const QString
& item
);
43 void loadThemeItems();
44 bool isCustomized(const QString
& theme
);
45 void clearCustomized();
52 ThemeModel
* m_themeModel
;
53 QStandardItemModel
* m_containmentModel
;
55 Plasma::Containment
* m_containment
;
56 QHash
<QString
, QString
> m_themeItems
;
57 QHash
<QString
, QString
> m_themeReplacements
;
58 QHash
<QString
, QString
> m_dropListFiles
;
59 bool m_themeCustomized
;
63 #endif // DESKTOPTHEMEDETAILS_H