Make a branch to make krunner Good Enough For Aaron™.
[kdebase/uwolfer.git] / runtime / khelpcenter / htmlsearchconfig.h
blob4c9f283231f1f2644de700060c9489ea56896dfa
1 /**
2 * This file is part of KHelpCenter
4 * Copyright (c) 2000 Matthias Hölzer-Klüpfel <hoelzer@kde.org>
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.
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.
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.
21 #ifndef KHC_HTMLSEARCHCONFIG_H
22 #define KHC_HTMLSEARCHCONFIG_H
24 #include <QWidget>
26 class KUrlRequester;
27 class KConfig;
29 namespace KHC {
31 class HtmlSearchConfig : public QWidget
33 Q_OBJECT
34 public:
35 explicit HtmlSearchConfig(QWidget *parent = 0L, const char *name = 0L);
36 virtual ~HtmlSearchConfig();
38 void load( KConfig * );
39 void save( KConfig * );
40 void defaults();
41 void makeReadOnly();
43 Q_SIGNALS:
44 void changed();
46 protected Q_SLOTS:
47 void urlClicked(const QString&);
49 private:
50 KUrlRequester *mHtsearchUrl;
51 KUrlRequester *mIndexerBin;
52 KUrlRequester *mDbDir;
57 #endif
58 // vim:ts=2:sw=2:et