addinterface.h
Go to the documentation of this file.
00001 /*
00002  * wpa_gui - AddInterface class
00003  * Copyright (c) 2008, Jouni Malinen <j@w1.fi>
00004  *
00005  * This program is free software; you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License version 2 as
00007  * published by the Free Software Foundation.
00008  *
00009  * Alternatively, this software may be distributed under the terms of BSD
00010  * license.
00011  *
00012  * See README and COPYING for more details.
00013  */
00014 
00015 #ifndef ADDINTERFACE_H
00016 #define ADDINTERFACE_H
00017 
00018 #include <QObject>
00019 
00020 #include <QtGui/QDialog>
00021 #include <QtGui/QTreeWidget>
00022 #include <QtGui/QVBoxLayout>
00023 
00024 class WpaGui;
00025 
00026 class AddInterface : public QDialog
00027 {
00028         Q_OBJECT
00029 
00030 public:
00031         AddInterface(WpaGui *_wpagui, QWidget *parent = 0);
00032 
00033 public slots:
00034         virtual void interfaceSelected(QTreeWidgetItem *sel);
00035 
00036 private:
00037         void addInterfaces();
00038         bool addRegistryInterface(const QString &ifname);
00039 
00040         QVBoxLayout *vboxLayout;
00041         QTreeWidget *interfaceWidget;
00042         WpaGui *wpagui;
00043 };
00044 
00045 #endif /* ADDINTERFACE_H */


wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Apr 24 2014 15:34:33