1/* 2 * wpa_gui - ScanResults class 3 * Copyright (c) 2005-2006, Jouni Malinen <j@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 21class WpaGui; 22 23class ScanResults : public QDialog, public Ui::ScanResults 24{ 25 Q_OBJECT 26 27public: 28 ScanResults(QWidget *parent = 0, const char *name = 0, 29 bool modal = false, Qt::WFlags fl = 0); 30 ~ScanResults(); 31 32public slots: 33 virtual void setWpaGui(WpaGui *_wpagui); 34 virtual void updateResults(); 35 virtual void scanRequest(); 36 virtual void getResults(); 37 virtual void bssSelected(Q3ListViewItem *sel); 38 39protected slots: 40 virtual void languageChange(); 41 42private: 43 WpaGui *wpagui; 44 QTimer *timer; 45}; 46 47#endif /* SCANRESULTS_H */ 48