Add (and install) svg for the new krunner interface.
[kdebase/uwolfer.git] / apps / konqueror / settings / css / kcmcss.h
blob7c01690f940a917a4abe7b7530eeaa419ab678bf
1 /*
2 * Copyright (c) 2000 Matthias Hoelzer-Kluepfel <hoelzer@kde.org>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
18 #ifndef __KCMCSS_H__
19 #define __KCMCSS_H__
22 #include <QtCore/QMap>
24 #include <kcmodule.h>
25 #include "ui_csscustom.h"
26 #include "ui_cssconfig.h"
27 #include "ui_preview.h"
29 class KDialog;
31 class PreviewDialog : public QDialog, public Ui::PreviewDialog
33 public:
34 PreviewDialog( QWidget *parent ) : QDialog( parent ) {
35 setModal(true);
36 setupUi( this );
41 class CSSConfigDialog : public QWidget, public Ui::CSSConfigDialog
43 public:
44 CSSConfigDialog( QWidget *parent ) : QWidget( parent ) {
45 setupUi( this );
50 class CSSCustomDialog : public QWidget, public Ui::CSSCustomDialog
52 public:
53 CSSCustomDialog( QWidget *parent ) : QWidget( parent ) {
54 setupUi( this );
60 class CSSConfig : public KCModule
62 Q_OBJECT
64 public:
66 explicit CSSConfig(QWidget *parent = 0L, const QVariantList &list =QVariantList() );
68 void load();
69 void save();
70 void defaults();
72 public Q_SLOTS:
74 void slotPreview();
75 void slotCustomize();
77 private:
79 QMap<QString,QString> cssDict();
81 CSSConfigDialog *configDialog;
82 CSSCustomDialog *customDialog;
83 KDialog *customDialogBase;
87 #endif