Fix crash if key bindings specified in profile cannot be found. Improve
[personal-kdebase.git] / apps / kinfocenter / nics / nic.h
bloba377c9d0a79028eea4c72ab39dbbf59e0b9a3256
1 /*
2 * nic.h
4 * Copyright (C) 2001 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 KCONTROL_NIC_H
22 #define KCONTROL_NIC_H
24 #include <kcmodule.h>
26 class QPushButton;
27 class QTreeWidget;
29 class KCMNic:public KCModule
31 Q_OBJECT
32 public:
33 explicit KCMNic(QWidget *parent=0, const QVariantList &list = QVariantList( ));
35 protected Q_SLOTS:
36 void update();
38 protected:
39 QTreeWidget *m_list;
40 QPushButton *m_updateButton;
43 #endif