Fix crash if key bindings specified in profile cannot be found. Improve
[personal-kdebase.git] / apps / kinfocenter / ioslaveinfo / kcmioslaveinfo.h
blob554aed2e8aabc20e154069bd11e04cf59d71a0d1
1 /*
2 * kcmioslaveinfo.h
4 * Copyright 2001 Alexander Neundorf <alexander.neundorf@rz.tu-ilmenau.de>
5 * Copyright 2001 George Staikos <staikos@kde.org>
7 * Requires the Qt widget libraries, available at no cost at
8 * http://www.troll.no/
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24 #ifndef kcmioslaveinfo_h_included
25 #define kcmioslaveinfo_h_included
27 #include <kaboutdata.h>
28 #include <kcmodule.h>
30 class KHTMLPart;
32 class KCMIOSlaveInfo : public KCModule {
33 Q_OBJECT
34 public:
35 explicit KCMIOSlaveInfo(QWidget *parent = 0L, const QVariantList &lits=QVariantList());
37 protected:
39 QComboBox* ioSlaves;
41 KHTMLPart *m_info;
43 protected slots:
45 void showInfo(const QString& protocol);
46 void loadingCompleted();
47 void openUrl(const KUrl& url, const KParts::OpenUrlArguments&, const KParts::BrowserArguments&);
49 private:
50 void selectHelpBody();
52 #endif