Fix crash if key bindings specified in profile cannot be found. Improve
[personal-kdebase.git] / apps / konqueror / settings / kio / main.h
blob4f033dc42d48bb02a65dd5a9ce25e3f17d0d8923
1 /*
2 * main.cpp for lisa and kio_lan kcm module
4 * Copyright (C) 2000, 2006 Alexander Neundorf <neundorf@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 MYMAIN_H
22 #define MYMAIN_H
24 // Qt
25 #include <QtGui/QTabWidget>
26 #include <QtGui/QVBoxLayout>
28 // KDE
29 #include <kcmodule.h>
30 #include <kglobal.h>
32 class QTabWidget;
34 class LanBrowser:public KCModule
36 Q_OBJECT
37 public:
38 LanBrowser(QWidget *parent, const QVariantList &args);
39 virtual void load();
40 virtual void save();
42 private:
43 QVBoxLayout layout;
44 QTabWidget tabs;
45 KCModule *smbPage;
46 KCModule *lisaPage;
47 KCModule *kioLanPage;
49 #endif