Solid
Public Types |
Signals |
Public Member Functions |
Static Public Member Functions |
Protected Member Functions
Solid::InternetGateway Class Reference
#include <internetgateway.h>
Inheritance diagram for Solid::InternetGateway:

Public Types | |
| enum | InternetStatus { InternetEnabled = 0, InternetDisabled = 1, UnknownStatus = 2 } |
| enum | NetworkProtocol { TCP = 0, UDP = 1 } |
Signals | |
| void | currentConnectionsDataIsReady (QStringList currentConnections) |
| void | enabledForInternet (bool enabled) |
| void | portMappingAdded (const QString &remoteHost, qint16 externalPort, const NetworkProtocol &mappingProtocol, qint16 internalPort, const QString &internalClient) |
| void | portMappingDeleted (const QString &remoteHost, qint16 externalPort, const NetworkProtocol &mappingProtocol) |
Public Member Functions | |
| virtual | ~InternetGateway () |
| void | addPortMapping (const QString &remoteHost, qint16 externalPort, const NetworkProtocol &mappingProtocol, qint16 internalPort, const QString &internalClient) |
| QStringList | currentConnections () const |
| void | deletePortMapping (const QString &remoteHost, qint16 externalPort, const NetworkProtocol &mappingProtocol) |
| InternetStatus | isEnabledForInternet () const |
| void | requestCurrentConnections () const |
| void | setEnabledForInternet (bool enabled) |
Static Public Member Functions | |
| static Type | deviceInterfaceType () |
Protected Member Functions | |
| InternetGateway (InternetGatewayPrivate &dd, QObject *backendObject) | |
Detailed Description
Definition at line 37 of file internetgateway.h.
Member Enumeration Documentation
Definition at line 47 of file internetgateway.h.
Definition at line 49 of file internetgateway.h.
Constructor & Destructor Documentation
| Solid::InternetGateway::~InternetGateway | ( | ) | [virtual] |
Definition at line 71 of file internetgateway.cpp.
| Solid::InternetGateway::InternetGateway | ( | InternetGatewayPrivate & | dd, |
| QObject * | backendObject | ||
| ) | [protected] |
Definition at line 52 of file internetgateway.cpp.
Member Function Documentation
| void Solid::InternetGateway::addPortMapping | ( | const QString & | remoteHost, |
| qint16 | externalPort, | ||
| const NetworkProtocol & | mappingProtocol, | ||
| qint16 | internalPort, | ||
| const QString & | internalClient | ||
| ) |
Definition at line 89 of file internetgateway.cpp.
| QStringList Solid::InternetGateway::currentConnections | ( | ) | const |
Definition at line 82 of file internetgateway.cpp.
| void Solid::InternetGateway::currentConnectionsDataIsReady | ( | QStringList | currentConnections | ) | [signal] |
| void Solid::InternetGateway::deletePortMapping | ( | const QString & | remoteHost, |
| qint16 | externalPort, | ||
| const NetworkProtocol & | mappingProtocol | ||
| ) |
Definition at line 98 of file internetgateway.cpp.
| static Type Solid::InternetGateway::deviceInterfaceType | ( | ) | [inline, static] |
Definition at line 53 of file internetgateway.h.
| void Solid::InternetGateway::enabledForInternet | ( | bool | enabled | ) | [signal] |
| InternetGateway::InternetStatus Solid::InternetGateway::isEnabledForInternet | ( | ) | const |
Definition at line 106 of file internetgateway.cpp.
| void Solid::InternetGateway::portMappingAdded | ( | const QString & | remoteHost, |
| qint16 | externalPort, | ||
| const NetworkProtocol & | mappingProtocol, | ||
| qint16 | internalPort, | ||
| const QString & | internalClient | ||
| ) | [signal] |
| void Solid::InternetGateway::portMappingDeleted | ( | const QString & | remoteHost, |
| qint16 | externalPort, | ||
| const NetworkProtocol & | mappingProtocol | ||
| ) | [signal] |
| void Solid::InternetGateway::requestCurrentConnections | ( | ) | const |
Definition at line 75 of file internetgateway.cpp.
| void Solid::InternetGateway::setEnabledForInternet | ( | bool | enabled | ) |
Definition at line 113 of file internetgateway.cpp.
The documentation for this class was generated from the following files:
KDE 4.6 API Reference