libsolidcontrol
FakeNetworkManager Class Reference
#include <fakenetworkmanager.h>

Detailed Description
Definition at line 41 of file fakenetworkmanager.h.
Public Slots | |
void | setNetworkingEnabled (bool) |
void | setWirelessEnabled (bool) |
Public Member Functions | |
void | activateConnection (const QString &interfaceUni, const QString &connectionUni, const QVariantMap &connectionParameters) |
QStringList | activeNetworkInterfaces () const |
QObject * | createNetworkInterface (const QString &) |
void | deactivateConnection (const QString &activeConnection) |
FakeNetworkManager (QObject *parent, const QStringList &args, const QString &xmlFile) | |
FakeNetworkManager (QObject *parent, const QStringList &args) | |
bool | isNetworkingEnabled () const |
bool | isWirelessEnabled () const |
bool | isWirelessHardwareEnabled () const |
QStringList | networkInterfaces () const |
Solid::Networking::Status | status () const |
virtual | ~FakeNetworkManager () |
Constructor & Destructor Documentation
FakeNetworkManager::FakeNetworkManager | ( | QObject * | parent, | |
const QStringList & | args | |||
) |
Definition at line 32 of file fakenetworkmanager.cpp.
FakeNetworkManager::FakeNetworkManager | ( | QObject * | parent, | |
const QStringList & | args, | |||
const QString & | xmlFile | |||
) |
Definition at line 45 of file fakenetworkmanager.cpp.
FakeNetworkManager::~FakeNetworkManager | ( | ) | [virtual] |
Definition at line 59 of file fakenetworkmanager.cpp.
Member Function Documentation
void FakeNetworkManager::activateConnection | ( | const QString & | interfaceUni, | |
const QString & | connectionUni, | |||
const QVariantMap & | connectionParameters | |||
) | [virtual] |
Implements Solid::Control::Ifaces::NetworkManager.
Definition at line 269 of file fakenetworkmanager.cpp.
QStringList FakeNetworkManager::activeNetworkInterfaces | ( | ) | const |
Definition at line 73 of file fakenetworkmanager.cpp.
Instantiates a new NetworkInterface object from this backend given its UNI.
- Parameters:
-
uni the identifier of the network interface instantiated
- Returns:
- a new NetworkInterface object if there's a device having the given UNI, 0 otherwise
Implements Solid::Control::Ifaces::NetworkManager.
Definition at line 87 of file fakenetworkmanager.cpp.
void FakeNetworkManager::deactivateConnection | ( | const QString & | activeConnection | ) | [virtual] |
Implements Solid::Control::Ifaces::NetworkManager.
Definition at line 274 of file fakenetworkmanager.cpp.
bool FakeNetworkManager::isNetworkingEnabled | ( | ) | const [virtual] |
Retrieves the activation status of networking (as a whole) in the system.
- Returns:
- true if this networking is enabled, false otherwise
Implements Solid::Control::Ifaces::NetworkManager.
Definition at line 100 of file fakenetworkmanager.cpp.
bool FakeNetworkManager::isWirelessEnabled | ( | ) | const [virtual] |
Retrieves the activation status of wireless networking in the system.
- Returns:
- true if this wireless networking is enabled, false otherwise
Implements Solid::Control::Ifaces::NetworkManager.
Definition at line 95 of file fakenetworkmanager.cpp.
bool FakeNetworkManager::isWirelessHardwareEnabled | ( | ) | const [virtual] |
Retrieves the status of wireless hardware in the system.
This is typically controlled by a physical switch so there is no way to set this in software.
- Since:
- KDE 4.1
- Returns:
- true if this wireless networking is enabled, false otherwise
Implements Solid::Control::Ifaces::NetworkManager.
Definition at line 113 of file fakenetworkmanager.cpp.
QStringList FakeNetworkManager::networkInterfaces | ( | ) | const [virtual] |
Retrieves the list of all the network interfaces Unique Network Identifiers (UNIs) in the system.
It includes both hardware and virtual devices.
- Returns:
- the list of network interfaces available in this system
Implements Solid::Control::Ifaces::NetworkManager.
Definition at line 68 of file fakenetworkmanager.cpp.
void FakeNetworkManager::setNetworkingEnabled | ( | bool | enabled | ) | [virtual, slot] |
Activates or deactivates networking (as a whole).
- Parameters:
-
enabled true to activate networking, false otherwise
Implements Solid::Control::Ifaces::NetworkManager.
Definition at line 123 of file fakenetworkmanager.cpp.
void FakeNetworkManager::setWirelessEnabled | ( | bool | enabled | ) | [virtual, slot] |
Activates or deactivates wireless networking.
- Parameters:
-
enabled true to activate wireless networking, false otherwise
Implements Solid::Control::Ifaces::NetworkManager.
Definition at line 118 of file fakenetworkmanager.cpp.
Solid::Networking::Status FakeNetworkManager::status | ( | ) | const [virtual] |
Get the manager connection state.
Implements Solid::Control::Ifaces::NetworkManager.
Definition at line 63 of file fakenetworkmanager.cpp.
The documentation for this class was generated from the following files: