delay a few things on startup, such as setting the visibility mode, which ensures...
[personal-kdebase.git] / apps / konqueror / settings / konqhtml / css / kcmcss.h
blob2d2eea57ccbc72d5857377aa7e99ae917f89104e
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"
27 class KDialog;
28 class CSSConfigWidget;
29 class KHTMLPart;
31 class CSSCustomDialog: public QWidget, public Ui::CSSCustomDialog
33 Q_OBJECT
34 public:
35 CSSCustomDialog( QWidget *parent );
36 QMap<QString,QString> cssDict();
38 public Q_SLOTS:
39 void slotPreview();
41 Q_SIGNALS:
42 void changed();
44 private:
45 KHTMLPart* part;
50 class CSSConfig : public QWidget
52 Q_OBJECT
54 public:
56 explicit CSSConfig(QWidget *parent = 0L, const QVariantList &list =QVariantList() );
58 void load();
59 void save();
60 void defaults();
62 public Q_SLOTS:
64 void slotCustomize();
66 Q_SIGNALS:
67 void changed(bool);//connected to KCModule signal
68 void changed();//connected to KCModule slot
70 private:
72 CSSConfigWidget *configWidget;
73 KDialog *customDialogBase;
74 CSSCustomDialog *customDialog;
78 #endif