00001
00021 #ifndef __kcmhtmlsearch_h__
00022 #define __kcmhtmlsearch_h__
00023
00024
00025 #include <kcmodule.h>
00026
00027
00028 class TQLineEdit;
00029 class TQCheckBox;
00030 class TQPushButton;
00031 class KListBox;
00032 class KProcess;
00033 class KLanguageCombo;
00034 class KURLRequester;
00035
00036 class KHTMLSearchConfig : public KCModule
00037 {
00038 Q_OBJECT
00039
00040 public:
00041
00042 KHTMLSearchConfig(TQWidget *parent = 0L, const char *name = 0L);
00043 virtual ~KHTMLSearchConfig();
00044
00045 void load();
00046 void save();
00047 void defaults();
00048
00049 TQString quickHelp() const;
00050
00051 int buttons();
00052
00053
00054 protected slots:
00055
00056 void configChanged();
00057 void addClicked();
00058 void delClicked();
00059 void pathSelected(const TQString &);
00060 void urlClicked(const TQString&);
00061 void generateIndex();
00062
00063 void indexTerminated(KProcess *proc);
00064
00065
00066 private:
00067
00068 void checkButtons();
00069 void loadLanguages();
00070
00071 KURLRequester *htdigBin, *htsearchBin, *htmergeBin;
00072 TQCheckBox *indexKDE, *indexMan, *indexInfo;
00073 TQPushButton *addButton, *delButton, *runButton;
00074 KListBox *searchPaths;
00075 KLanguageCombo *language;
00076
00077 KProcess *indexProc;
00078
00079 };
00080
00081 #endif