add more spacing
[personal-kdebase.git] / runtime / kurifilter-plugins / ikws / searchproviderdlg.h
blob9d626cc3b09662378f63064059533e0f8cf38c3f
1 /*
2 * Copyright (c) 2000 Malte Starostik <malte@kde.org>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
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
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef SEARCHPROVIDERDLG_H
21 #define SEARCHPROVIDERDLG_H
23 #include <kdialog.h>
24 #include "ui_searchproviderdlg_ui.h"
26 class SearchProvider;
28 class SearchProviderDlgUI : public QWidget, public Ui::SearchProviderDlgUI
30 public:
31 SearchProviderDlgUI( QWidget *parent ) : QWidget( parent ) {
32 setupUi( this );
37 class SearchProviderDialog : public KDialog
39 Q_OBJECT
41 public:
42 explicit SearchProviderDialog(SearchProvider *provider, QWidget *parent = 0);
44 SearchProvider *provider() { return m_provider; }
46 protected Q_SLOTS:
47 void slotChanged();
48 virtual void slotButtonClicked(int button);
50 private:
51 SearchProvider *m_provider;
52 SearchProviderDlgUI *m_dlg;
55 #endif