1/**
2 * This file is part of KHelpCenter
3 *
4 * Copyright (c) 2000 Matthias Hölzer-Klüpfel <hoelzer@kde.org>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 */
20
21#ifndef KHC_HTMLSEARCHCONFIG_H
22#define KHC_HTMLSEARCHCONFIG_H
23
24#include <QWidget>
25
26class KUrlRequester;
27class KConfig;
28
29namespace KHC {
30
31class HtmlSearchConfig : public QWidget
32{
33 Q_OBJECT
34 public:
35 explicit HtmlSearchConfig(QWidget *parent = 0L, const char *name = 0L);
36 virtual ~HtmlSearchConfig();
37
38 void load( KConfig * );
39 void save( KConfig * );
40 void defaults();
41 void makeReadOnly();
42
43 Q_SIGNALS:
44 void changed();
45
46 protected Q_SLOTS:
47 void urlClicked(const QString&);
48
49 private:
50 KUrlRequester *mHtsearchUrl;
51 KUrlRequester *mIndexerBin;
52 KUrlRequester *mDbDir;
53};
54
55}
56
57#endif //KHC_HTMLSEARCHCONFIG_H
58// vim:ts=2:sw=2:et
59