Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / network / WirelessManager / wpa_supplicant / wpa_gui-qt4 / networkconfig.h
blob0ceeb417f02875b939dbc3159181ca90997dc26e
1 /*
2 * wpa_gui - NetworkConfig class
3 * Copyright (c) 2005-2006, 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 NETWORKCONFIG_H
16 #define NETWORKCONFIG_H
18 #include <QObject>
19 #include "ui_networkconfig.h"
21 class WpaGui;
23 class NetworkConfig : public QDialog, public Ui::NetworkConfig
25 Q_OBJECT
27 public:
28 NetworkConfig(QWidget *parent = 0, const char *name = 0,
29 bool modal = false, Qt::WFlags fl = 0);
30 ~NetworkConfig();
32 virtual void paramsFromScanResults(QTreeWidgetItem *sel);
33 virtual void setWpaGui(WpaGui *_wpagui);
34 virtual int setNetworkParam(int id, const char *field,
35 const char *value, bool quote);
36 virtual void paramsFromConfig(int network_id);
37 virtual void newNetwork();
39 public slots:
40 virtual void authChanged(int sel);
41 virtual void addNetwork();
42 virtual void encrChanged(const QString &sel);
43 virtual void writeWepKey(int network_id, QLineEdit *edit, int id);
44 virtual void removeNetwork();
45 virtual void eapChanged(int sel);
46 virtual void useWps();
48 protected slots:
49 virtual void languageChange();
51 private:
52 WpaGui *wpagui;
53 int edit_network_id;
54 bool new_network;
55 QString bssid;
57 virtual void wepEnabled(bool enabled);
58 virtual void getEapCapa();
61 #endif /* NETWORKCONFIG_H */