You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebase/kcontrol/konqhtml/khttpoptdlg.h

50 lines
1.1 KiB

// khttpoptdlg.h - extra HTTP configuration by Jacek Konieczy <jajcus@zeus.polsl.gliwice.pl>
#ifndef __KHTTPOPTDLG_H
#define __KHTTPOPTDLG_H
#include <tqlabel.h>
#include <tqlineedit.h>
#include <tqcheckbox.h>
#include <tqstring.h>
#include <tdecmodule.h>
#include <kconfig.h>
/**
* Dialog for configuring HTTP Options like charset and language negotiation
* and assuming that file got from HTTP is HTML if no Content-Type is given
*/
class KHTTPOptions : public TDECModule
{
Q_OBJECT
public:
KHTTPOptions(TDEConfig *config, TQString group, TQWidget *parent = 0L, const char *name = 0L);
virtual void load();
virtual void load( bool useDefaults );
virtual void save();
virtual void defaults();
private:
TDEConfig *m_pConfig;
TQString m_groupname;
// Acceptable languages "LANG" - locale selected languages
TQLabel *lb_languages;
TQLineEdit *le_languages;
// Acceptable charsets "CHARSET" - locale selected charset
TQLabel *lb_charsets;
TQLineEdit *le_charsets;
TQString defaultCharsets;
private slots:
void slotChanged();
};
#endif // __KHTTPOPTDLG_H