scanresults.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. #ifndef SCANRESULTS_H
  15. #define SCANRESULTS_H
  16. #include <QObject>
  17. #include "ui_scanresults.h"
  18. class WpaGui;
  19. class ScanResults : public QDialog, public Ui::ScanResults
  20. {
  21. Q_OBJECT
  22. public:
  23. ScanResults(QWidget *parent = 0, const char *name = 0,
  24. bool modal = false, Qt::WFlags fl = 0);
  25. ~ScanResults();
  26. public slots:
  27. virtual void setWpaGui(WpaGui *_wpagui);
  28. virtual void updateResults();
  29. virtual void scanRequest();
  30. virtual void getResults();
  31. virtual void bssSelected(QTreeWidgetItem *sel);
  32. protected slots:
  33. virtual void languageChange();
  34. private:
  35. WpaGui *wpagui;
  36. };
  37. #endif /* SCANRESULTS_H */