~ubuntu-branches/ubuntu/warty/kdebase/warty

« back to all changes in this revision

Viewing changes to kcontrol/konqhtml/htmlopts.h

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-09-16 04:51:45 UTC
  • Revision ID: james.westby@ubuntu.com-20040916045145-9vr63kith3k1cpza
Tags: upstream-3.2.2
ImportĀ upstreamĀ versionĀ 3.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//
 
2
//
 
3
// "Misc Options" Tab for KFM configuration
 
4
//
 
5
// (c) Sven Radej 1998
 
6
// (c) David Faure 1998
 
7
 
 
8
#ifndef __KMISCHTML_OPTIONS_H
 
9
#define __KMISCHTML_OPTIONS_H
 
10
 
 
11
#include <qstrlist.h>
 
12
#include <qcheckbox.h>
 
13
#include <qlineedit.h>
 
14
#include <qcombobox.h>
 
15
 
 
16
 
 
17
//-----------------------------------------------------------------------------
 
18
// The "Misc Options" Tab for the HTML view contains :
 
19
 
 
20
// Change cursor over links
 
21
// Underline links
 
22
// AutoLoad Images
 
23
// ... there is room for others :))
 
24
 
 
25
 
 
26
#include <qstring.h>
 
27
#include <kconfig.h>
 
28
#include <kcmodule.h>
 
29
class QRadioButton;
 
30
class KIntNumInput;
 
31
 
 
32
class KMiscHTMLOptions : public KCModule
 
33
{
 
34
    Q_OBJECT
 
35
 
 
36
public:
 
37
    KMiscHTMLOptions(KConfig *config, QString group, QWidget *parent = 0L, const char *name = 0L );
 
38
        ~KMiscHTMLOptions();
 
39
    QString quickHelp() const;
 
40
    virtual void load();
 
41
    virtual void save();
 
42
    virtual void defaults();
 
43
 
 
44
private slots:
 
45
    void slotChanged();
 
46
    void launchAdvancedTabDialog();
 
47
 
 
48
private:
 
49
    KConfig* m_pConfig;
 
50
    QString  m_groupname;
 
51
 
 
52
    QComboBox* m_pUnderlineCombo;
 
53
    QComboBox* m_pAnimationsCombo;
 
54
    QCheckBox* cbCursor;
 
55
    QCheckBox* m_pAutoLoadImagesCheckBox;
 
56
    QCheckBox* m_pAutoRedirectCheckBox;
 
57
    QCheckBox* m_pBackRightClick;
 
58
    QCheckBox* m_pShowMMBInTabs;
 
59
    QCheckBox* m_pFormCompletionCheckBox;
 
60
    QCheckBox* m_pDynamicTabbarHide;
 
61
    KIntNumInput* m_pMaxFormCompletionItems;
 
62
};
 
63
 
 
64
#endif