Fix crash if key bindings specified in profile cannot be found. Improve
[personal-kdebase.git] / apps / konqueror / settings / konqhtml / generalopts.h
blobd874f1824a86e279639e68449541ddf4ee5d4d7c
1 /* General options (for both fm and web modes) konqueror options
3 * Copyright (c) Sven Radej 1998
4 * Copyright (c) David Faure 1998
5 * Copyright (c) Nick Shaforostoff 2007
7 */
9 #ifndef GENERALOPTS_H
10 #define GENERALOPTS_H
12 #include <QtGui/QCheckBox>
13 #include <QtGui/QComboBox>
15 #include <kcmodule.h>
16 #include <ksharedconfig.h>
18 class KComboBox;
19 class KUrlRequester;
20 class Ui_advancedTabOptions;
21 class QVBoxLayout;
23 class KKonqGeneralOptions : public KCModule
25 Q_OBJECT
27 public:
28 KKonqGeneralOptions( QWidget *parent, const QVariantList& );
29 ~KKonqGeneralOptions();
30 virtual void load();
31 virtual void save();
32 virtual void defaults();
34 private Q_SLOTS:
35 void slotChanged();
37 private:
38 void addHomeUrlWidgets(QVBoxLayout*);
40 KSharedConfig::Ptr m_pConfig;
42 KUrlRequester *homeURL;
43 KComboBox* m_startCombo;
44 Ui_advancedTabOptions* tabOptions;
47 #endif // GENERALOPTS_H