Fix crash if key bindings specified in profile cannot be found. Improve
[personal-kdebase.git] / apps / konqueror / settings / konqhtml / main.h
blobe98869da9361e66aaa48e2ce8147c2c0f9be2719
1 /*
2 * main.h
4 * Copyright (c) 1999 Matthias Hoelzer-Kluepfel <hoelzer@kde.org>
5 * Copyright (c) 2000 Daniel Molkentin <molkentin@kde.org>
7 * Requires the Qt widget libraries, available at no cost at
8 * http://www.troll.no/
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26 #ifndef __MAIN_H__
27 #define __MAIN_H__
29 #include <kcmodule.h>
30 #include <ksharedconfig.h>
32 class KJavaOptions;
33 class KJavaScriptOptions;
35 class QTabWidget;
37 class KJSParts : public KCModule
39 Q_OBJECT
41 public:
43 KJSParts(QWidget *parent, const QVariantList&);
45 void load();
46 void save();
47 void defaults();
48 QString quickHelp() const;
51 private:
52 QTabWidget *tab;
54 KJavaScriptOptions *javascript;
55 KJavaOptions *java;
57 KSharedConfig::Ptr mConfig;
60 #endif