Fix crash if key bindings specified in profile cannot be found. Improve
[personal-kdebase.git] / apps / konqueror / settings / konqhtml / htmlopts.h
blobb0faf0d99ef78024952ff3c45bb54de016ddf289
1 /* "Misc Options" Tab for KFM configuration
3 * Copyright (c) Sven Radej 1998
4 * Copyright (c) David Faure 1998
6 */
8 #ifndef HTMLOPTS_H
9 #define HTMLOPTS_H
11 #include <QtGui/QCheckBox>
12 #include <QtGui/QLineEdit>
13 #include <QtGui/QComboBox>
15 //-----------------------------------------------------------------------------
16 // The "Misc Options" Tab for the HTML view contains :
18 // Change cursor over links
19 // Underline links
20 // AutoLoad Images
21 // ... there is room for others :))
25 #include <kcmodule.h>
26 #include <ksharedconfig.h>
27 class KIntNumInput;
28 class QGroupBox;
30 class KMiscHTMLOptions : public KCModule
32 Q_OBJECT
34 public:
35 KMiscHTMLOptions( QWidget *parent, const QVariantList& );
36 ~KMiscHTMLOptions();
37 virtual void load();
38 virtual void save();
39 virtual void defaults();
41 private:
42 KSharedConfig::Ptr m_pConfig;
43 QString m_groupname;
45 QCheckBox* m_cbCursor;
46 QCheckBox* m_pAutoRedirectCheckBox;
47 QCheckBox* m_pOpenMiddleClick;
48 QCheckBox* m_pBackRightClick;
49 QGroupBox* m_pFormCompletionCheckBox;
50 QCheckBox* m_pAdvancedAddBookmarkCheckBox;
51 QCheckBox* m_pOnlyMarkedBookmarksCheckBox;
52 QCheckBox* m_pAccessKeys;
53 KIntNumInput* m_pMaxFormCompletionItems;
56 #endif // HTMLOPTS_H