Fix crash if key bindings specified in profile cannot be found. Improve
[personal-kdebase.git] / apps / kinfocenter / samba / kcmsambaimports.h
blob12ab9642f9decc69bb846a1b829db130ba645189
1 /*
2 * kcmsambaimports.h
4 * Copyright (c) 2000 Alexander Neundorf <alexander.neundorf@rz.tu-ilmenau.de>
6 * Requires the Qt widget libraries, available at no cost at
7 * http://www.troll.no/
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24 #ifndef kcmsambaimports_h_included
25 #define kcmsambaimports_h_included
27 #include <QTimer>
28 #include <Qt3Support/Q3CheckListItem>
29 #include <kconfig.h>
31 class ImportsView : public QWidget {
32 Q_OBJECT
33 public:
34 explicit ImportsView(QWidget *parent, KConfig *config=0);
35 virtual ~ImportsView() {
37 void saveSettings() {
39 void loadSettings() {
41 private:
42 KConfig *configFile;
43 Q3ListView list;
44 QTimer timer;
45 private Q_SLOTS:
46 void updateList();
49 #endif // main_included