1 /* 2 * wpa_gui - ScanResults class 3 * Copyright (c) 2005-2006, Jouni Malinen <j (at) w1.fi> 4 * 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. 8 * 9 * Alternatively, this software may be distributed under the terms of BSD 10 * license. 11 * 12 * See README and COPYING for more details. 13 */ 14 15 #ifndef SCANRESULTS_H 16 #define SCANRESULTS_H 17 18 #include <QObject> 19 #include "ui_scanresults.h" 20 21 class WpaGui; 22 23 class ScanResults : public QDialog, public Ui::ScanResults 24 { 25 Q_OBJECT 26 27 public: 28 ScanResults(QWidget *parent = 0, const char *name = 0, 29 bool modal = false, Qt::WFlags fl = 0); 30 ~ScanResults(); 31 32 public slots: 33 virtual void setWpaGui(WpaGui *_wpagui); 34 virtual void updateResults(); 35 virtual void scanRequest(); 36 virtual void getResults(); 37 virtual void bssSelected(QTreeWidgetItem *sel); 38 39 protected slots: 40 virtual void languageChange(); 41 42 private: 43 WpaGui *wpagui; 44 }; 45 46 #endif /* SCANRESULTS_H */ 47