mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -05:00
49 lines
972 B
C
49 lines
972 B
C
|
/*
|
||
|
* wpa_gui - Peers class
|
||
|
* Copyright (c) 2009, Atheros Communications
|
||
|
*
|
||
|
* 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 PEERS_H
|
||
|
#define PEERS_H
|
||
|
|
||
|
#include <QObject>
|
||
|
#include <QStandardItemModel>
|
||
|
#include "ui_peers.h"
|
||
|
|
||
|
class WpaGui;
|
||
|
|
||
|
class Peers : public QDialog, public Ui::Peers
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
Peers(QWidget *parent = 0, const char *name = 0,
|
||
|
bool modal = false, Qt::WFlags fl = 0);
|
||
|
~Peers();
|
||
|
void setWpaGui(WpaGui *_wpagui);
|
||
|
|
||
|
public slots:
|
||
|
virtual void clicked(const QModelIndex &index);
|
||
|
|
||
|
protected slots:
|
||
|
virtual void languageChange();
|
||
|
|
||
|
private:
|
||
|
void update_peers();
|
||
|
|
||
|
WpaGui *wpagui;
|
||
|
QStandardItemModel model;
|
||
|
QIcon *default_icon;
|
||
|
};
|
||
|
|
||
|
#endif /* PEERS_H */
|