summaryrefslogtreecommitdiffstats
path: root/kcontrol/konqhtml/htmlopts.h
blob: 3f19d3b98f26bb2d88376b90a3a9af05dcb2d8c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
//
//
// "Misc Options" Tab for KFM configuration
//
// (c) Sven Radej 1998
// (c) David Faure 1998

#ifndef __KMISCHTML_OPTIONS_H
#define __KMISCHTML_OPTIONS_H

#include <tqstrlist.h>
#include <tqcheckbox.h>
#include <tqlineedit.h>
#include <tqcombobox.h>


//-----------------------------------------------------------------------------
// The "Misc Options" Tab for the HTML view tqcontains :

// Change cursor over links
// Underline links
// AutoLoad Images
// ... there is room for others :))


#include <tqstring.h>
#include <kconfig.h>
#include <kcmodule.h>
class TQRadioButton;
class KIntNumInput;

class KMiscHTMLOptions : public KCModule
{
    Q_OBJECT

public:
    KMiscHTMLOptions(KConfig *config, TQString group, TQWidget *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;
    TQString  m_groupname;

    TQComboBox* m_pUnderlineCombo;
    TQComboBox* m_pAnimationsCombo;
    TQCheckBox* m_cbCursor;
    TQCheckBox* m_pAutoLoadImagesCheckBox;
    TQCheckBox* m_pUnfinishedImageFrameCheckBox;
    TQCheckBox* m_pAutoRedirectCheckBox;
    TQCheckBox* m_pOpenMiddleClick;
    TQCheckBox* m_pBackRightClick;
    TQCheckBox* m_pShowMMBInTabs;
    TQCheckBox* m_pFormCompletionCheckBox;
    TQCheckBox* m_pDynamicTabbarHide;
    TQCheckBox* m_pAdvancedAddBookmarkCheckBox;
    TQCheckBox* m_pOnlyMarkedBookmarksCheckBox;
    KIntNumInput* m_pMaxFormCompletionItems;
};

#endif