diff options
Diffstat (limited to 'wpa_gui-qt4/wpagui.h')
-rw-r--r-- | wpa_gui-qt4/wpagui.h | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/wpa_gui-qt4/wpagui.h b/wpa_gui-qt4/wpagui.h deleted file mode 100644 index cd5c1afa4463..000000000000 --- a/wpa_gui-qt4/wpagui.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * wpa_gui - WpaGui class - * Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * Alternatively, this software may be distributed under the terms of BSD - * license. - * - * See README and COPYING for more details. - */ - -#ifndef WPAGUI_H -#define WPAGUI_H - -#include <QObject> -#include "ui_wpagui.h" - -class UserDataRequest; - - -class WpaGui : public QMainWindow, public Ui::WpaGui -{ - Q_OBJECT - -public: - WpaGui(QWidget *parent = 0, const char *name = 0, - Qt::WFlags fl = Qt::WType_TopLevel); - ~WpaGui(); - - virtual int ctrlRequest(const char *cmd, char *buf, size_t *buflen); - virtual void triggerUpdate(); - -public slots: - virtual void parse_argv(); - virtual void updateStatus(); - virtual void updateNetworks(); - virtual void helpIndex(); - virtual void helpContents(); - virtual void helpAbout(); - virtual void disconnect(); - virtual void scan(); - virtual void eventHistory(); - virtual void ping(); - virtual void processMsg(char *msg); - virtual void processCtrlReq(const char *req); - virtual void receiveMsgs(); - virtual void connectB(); - virtual void selectNetwork(const QString &sel); - virtual void editNetwork(); - virtual void addNetwork(); - virtual void selectAdapter(const QString &sel); - -protected slots: - virtual void languageChange(); - -private: - ScanResults *scanres; - bool networkMayHaveChanged; - char *ctrl_iface; - EventHistory *eh; - struct wpa_ctrl *ctrl_conn; - QSocketNotifier *msgNotifier; - QTimer *timer; - int pingsToStatusUpdate; - WpaMsgList msgs; - char *ctrl_iface_dir; - struct wpa_ctrl *monitor_conn; - UserDataRequest *udr; - - int openCtrlConnection(const char *ifname); -}; - -#endif /* WPAGUI_H */ |