networkconfig.h
Go to the documentation of this file.
00001 /*
00002  * wpa_gui - NetworkConfig class
00003  * Copyright (c) 2005-2006, 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 NETWORKCONFIG_H
00016 #define NETWORKCONFIG_H
00017 
00018 #include <QObject>
00019 #include "ui_networkconfig.h"
00020 
00021 class WpaGui;
00022 
00023 class NetworkConfig : public QDialog, public Ui::NetworkConfig
00024 {
00025         Q_OBJECT
00026 
00027 public:
00028         NetworkConfig(QWidget *parent = 0, const char *name = 0,
00029                       bool modal = false, Qt::WFlags fl = 0);
00030         ~NetworkConfig();
00031 
00032         virtual void paramsFromScanResults(QTreeWidgetItem *sel);
00033         virtual void setWpaGui(WpaGui *_wpagui);
00034         virtual int setNetworkParam(int id, const char *field,
00035                                     const char *value, bool quote);
00036         virtual void paramsFromConfig(int network_id);
00037         virtual void newNetwork();
00038 
00039 public slots:
00040         virtual void authChanged(int sel);
00041         virtual void addNetwork();
00042         virtual void encrChanged(const QString &sel);
00043         virtual void writeWepKey(int network_id, QLineEdit *edit, int id);
00044         virtual void removeNetwork();
00045         virtual void eapChanged(int sel);
00046         virtual void useWps();
00047 
00048 protected slots:
00049         virtual void languageChange();
00050 
00051 private:
00052         WpaGui *wpagui;
00053         int edit_network_id;
00054         bool new_network;
00055         QString bssid;
00056 
00057         virtual void wepEnabled(bool enabled);
00058         virtual void getEapCapa();
00059 };
00060 
00061 #endif /* NETWORKCONFIG_H */


wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Jan 2 2014 11:26:38