1 | /* |
2 | * KCMStyle's container dialog for custom style setup dialogs |
3 | * |
4 | * (c) 2003 Maksim Orlovich <maksim.orlovich@kdemail.net> |
5 | * |
6 | * This program is free software; you can redistribute it and/or |
7 | * modify it under the terms of the GNU General Public |
8 | * License version 2 as published by the Free Software Foundation. |
9 | * |
10 | * This program is distributed in the hope that it will be useful, |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | * General Public License for more details. |
14 | * |
15 | * You should have received a copy of the GNU General Public License |
16 | * along with this program; see the file COPYING. If not, write to |
17 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 | * Boston, MA 02110-1301, USA. |
19 | */ |
20 | |
21 | #ifndef STYLE_CONF_DIALOG |
22 | #define STYLE_CONF_DIALOG |
23 | |
24 | #include <kdialog.h> |
25 | |
26 | |
27 | class StyleConfigDialog: public KDialog |
28 | { |
29 | Q_OBJECT |
30 | public: |
31 | StyleConfigDialog(QWidget* parent, QString styleName); |
32 | |
33 | bool isDirty() const; |
34 | |
35 | public Q_SLOTS: |
36 | void setDirty(bool dirty); |
37 | |
38 | Q_SIGNALS: |
39 | void defaults(); |
40 | void save(); |
41 | |
42 | private: |
43 | bool m_dirty; |
44 | }; |
45 | |
46 | #endif |
47 | |