blob: de50d256f906ba70a6ebecd7c79795fe393ff1c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#ifndef STUMBLER_H
#define STUMBLER_H
#include <opie2/ostation.h>
#include <qobject.h>
class QString;
class QTimer;
namespace Opie {
namespace Net {
class OWirelessNetworkInterface;
}
}
class Stumbler: public QObject {
Q_OBJECT
public:
Stumbler(const QString &iface, QObject *parent = 0, const char *name = 0);
void start();
void stop();
void setInterval(int msec);
void setIface(const QString &iface);
Opie::Net::OStationList * stations();
signals:
void newdata();
protected slots:
void slotRefresh();
protected:
int m_interval;
QString m_wifaceName;
QTimer *m_timer;
Opie::Net::OWirelessNetworkInterface *m_wiface;
Opie::Net::OStationList *m_stationList;
};
#endif
|