Make a branch to make krunner Good Enough For Aaron™.
[kdebase/uwolfer.git] / apps / konqueror / settings / konqhtml / khttpoptdlg.h
blob661dedeb33dffdcb38910f96a3d83a5927f3dc88
1 /*
2 * Copyright (C) Jacek Konieczy <jajcus@zeus.polsl.gliwice.pl>
3 * extra HTTP configuration
5 */
7 #ifndef __KHTTPOPTDLG_H
8 #define __KHTTPOPTDLG_H
10 #include <QtGui/QLabel>
11 #include <QtGui/QLineEdit>
12 #include <QtGui/QCheckBox>
15 #include <kcmodule.h>
16 #include <kconfig.h>
17 #include <ksharedconfig.h>
19 /**
20 * Dialog for configuring HTTP Options like charset and language negotiation
21 * and assuming that file got from HTTP is HTML if no Content-Type is given
23 class KHTTPOptions : public KCModule
25 Q_OBJECT
26 public:
27 KHTTPOptions(KSharedConfig::Ptr config, const QString &group, const KComponentData &componentData, QWidget *parent);
29 virtual void load();
30 virtual void save();
31 virtual void defaults();
33 private:
35 KSharedConfig::Ptr m_pConfig;
36 QString m_groupname;
38 // Acceptable languages "LANG" - locale selected languages
39 QLabel *lb_languages;
40 QLineEdit *le_languages;
42 // Acceptable charsets "CHARSET" - locale selected charset
43 QLabel *lb_charsets;
44 QLineEdit *le_charsets;
46 QString defaultCharsets;
48 private Q_SLOTS:
49 void slotChanged();
53 #endif // __KHTTPOPTDLG_H