summaryrefslogtreecommitdiffstats
path: root/kcontrol/konqhtml/htmlopts.h
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/konqhtml/htmlopts.h')
-rw-r--r--kcontrol/konqhtml/htmlopts.h68
1 files changed, 68 insertions, 0 deletions
diff --git a/kcontrol/konqhtml/htmlopts.h b/kcontrol/konqhtml/htmlopts.h
new file mode 100644
index 000000000..15f5a2511
--- /dev/null
+++ b/kcontrol/konqhtml/htmlopts.h
@@ -0,0 +1,68 @@
+//
+//
+// "Misc Options" Tab for KFM configuration
+//
+// (c) Sven Radej 1998
+// (c) David Faure 1998
+
+#ifndef __KMISCHTML_OPTIONS_H
+#define __KMISCHTML_OPTIONS_H
+
+#include <qstrlist.h>
+#include <qcheckbox.h>
+#include <qlineedit.h>
+#include <qcombobox.h>
+
+
+//-----------------------------------------------------------------------------
+// The "Misc Options" Tab for the HTML view contains :
+
+// Change cursor over links
+// Underline links
+// AutoLoad Images
+// ... there is room for others :))
+
+
+#include <qstring.h>
+#include <kconfig.h>
+#include <kcmodule.h>
+class QRadioButton;
+class KIntNumInput;
+
+class KMiscHTMLOptions : public KCModule
+{
+ Q_OBJECT
+
+public:
+ KMiscHTMLOptions(KConfig *config, QString group, QWidget *parent = 0L, const char *name = 0L );
+ ~KMiscHTMLOptions();
+ virtual void load();
+ virtual void load( bool useDefaults );
+ virtual void save();
+ virtual void defaults();
+
+private slots:
+ void slotChanged();
+ void launchAdvancedTabDialog();
+
+private:
+ KConfig* m_pConfig;
+ QString m_groupname;
+
+ QComboBox* m_pUnderlineCombo;
+ QComboBox* m_pAnimationsCombo;
+ QCheckBox* m_cbCursor;
+ QCheckBox* m_pAutoLoadImagesCheckBox;
+ QCheckBox* m_pUnfinishedImageFrameCheckBox;
+ QCheckBox* m_pAutoRedirectCheckBox;
+ QCheckBox* m_pOpenMiddleClick;
+ QCheckBox* m_pBackRightClick;
+ QCheckBox* m_pShowMMBInTabs;
+ QCheckBox* m_pFormCompletionCheckBox;
+ QCheckBox* m_pDynamicTabbarHide;
+ QCheckBox* m_pAdvancedAddBookmarkCheckBox;
+ QCheckBox* m_pOnlyMarkedBookmarksCheckBox;
+ KIntNumInput* m_pMaxFormCompletionItems;
+};
+
+#endif