1/* This file is part of the KDE project
2 Copyright 2002 Cornelius Schumacher <schumacher@kde.org>
3
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public
6 License version 2 or at your option version 3 as published
7 by the Free Software Foundation.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; see the file COPYING. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
18*/
19
20#ifndef KHC_HTMLSEARCH_H
21#define KHC_HTMLSEARCH_H
22
23#include <QObject>
24
25class KConfig;
26
27namespace KHC {
28
29class DocEntry;
30
31class HTMLSearch : public QObject
32{
33 Q_OBJECT
34 public:
35 HTMLSearch();
36 ~HTMLSearch();
37
38 void setupDocEntry( KHC::DocEntry * );
39
40 QString defaultSearch( KHC::DocEntry * );
41 QString defaultIndexer( KHC::DocEntry * );
42 QString defaultIndexTestFile( KHC::DocEntry * );
43
44 private:
45 KConfig *mConfig;
46};
47
48}
49
50#endif //KHC_HTMLSEARCH_H
51// vim:ts=2:sw=2:et
52