1
/***************************************************************************
3
* knetworkmanager-device.h - A NetworkManager frontend for KDE
5
* Copyright (C) 2005, 2006 Novell, Inc.
7
* Author: Timo Hoenig <thoenig@suse.de>, <thoenig@nouse.net>
8
* Will Stephenson <wstephenson@suse.de>, <wstephenson@kde.org>
10
* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version.
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU General Public License for more details.
20
* You should have received a copy of the GNU General Public License
21
* along with this program; if not, write to the Free Software
22
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24
**************************************************************************/
26
#ifndef KNETWORKMANAGER_WIRELESS_DEVICE_H
27
#define KNETWORKMANAGER_WIRELESS_DEVICE_H
29
#include "knetworkmanager.h"
30
#include "knetworkmanager-device.h"
34
#include <dbus/qdbusvariant.h>
36
class KNetworkManager;
38
class WirelessDevicePrivate;
40
class WirelessDevice : public Device
44
WirelessDevice (const QString & obj_path );
47
Q_UINT32 getWirelessCapabilities() const;
48
QValueList<AccessPoint*> accessPointsForEssid(QByteArray essid = QByteArray());
49
QValueList<AccessPoint*> accessPoints();
50
AccessPoint * getActiveAccessPoint();
51
Q_UINT32 getBitrate() const;
54
void slotPropertiesChanged(const QMap<QString, QDBusVariant>& properties);
55
void slotAccessPointAdded(const QDBusObjectPath&);
56
void slotAccessPointRemoved(const QDBusObjectPath&);
59
void propertiesChanged();
60
void accessPointAdded(AccessPoint *);
61
void accessPointRemoved(const QString &);
66
WirelessDevicePrivate * d;
69
#endif /* KNETWORKMANAGER_WIRELESS_DEVICE_H */