revert between 56095 -> 55830 in arch
[AROS.git] / workbench / network / WirelessManager / wpa_supplicant / wpa_gui-qt4 / addinterface.h
blob9d9476a46d99d34644602c0eddc3cf560aad90c7
1 /*
2 * wpa_gui - AddInterface class
3 * Copyright (c) 2008, Jouni Malinen <j@w1.fi>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * Alternatively, this software may be distributed under the terms of BSD
10 * license.
12 * See README and COPYING for more details.
15 #ifndef ADDINTERFACE_H
16 #define ADDINTERFACE_H
18 #include <QObject>
20 #include <QtGui/QDialog>
21 #include <QtGui/QTreeWidget>
22 #include <QtGui/QVBoxLayout>
24 class WpaGui;
26 class AddInterface : public QDialog
28 Q_OBJECT
30 public:
31 AddInterface(WpaGui *_wpagui, QWidget *parent = 0);
33 public slots:
34 virtual void interfaceSelected(QTreeWidgetItem *sel);
36 private:
37 void addInterfaces();
38 bool addRegistryInterface(const QString &ifname);
40 QVBoxLayout *vboxLayout;
41 QTreeWidget *interfaceWidget;
42 WpaGui *wpagui;
45 #endif /* ADDINTERFACE_H */