Solid
#include <internetgateway.h>
|
enum | InternetStatus { InternetEnabled = 0
, InternetDisabled = 1
, UnknownStatus = 2
} |
|
enum | NetworkProtocol { TCP = 0
, UDP = 1
} |
|
enum | Type {
Unknown = 0
, GenericInterface = 1
, Processor = 2
, Block = 3
,
StorageAccess = 4
, StorageDrive = 5
, OpticalDrive = 6
, StorageVolume = 7
,
OpticalDisc = 8
, Camera = 9
, PortableMediaPlayer = 10
, NetworkInterface = 11
,
AcAdapter = 12
, Battery = 13
, Button = 14
, AudioInterface = 15
,
DvbInterface = 16
, Video = 17
, SerialInterface = 18
, SmartCardReader = 19
,
InternetGateway = 20
, NetworkShare = 21
, Last = 0xffff
} |
|
Definition at line 37 of file internetgateway.h.
◆ InternetStatus
Enumerator |
---|
InternetEnabled | |
InternetDisabled | |
UnknownStatus | |
Definition at line 47 of file internetgateway.h.
◆ NetworkProtocol
◆ ~InternetGateway()
Solid::InternetGateway::~InternetGateway |
( |
| ) |
|
|
virtual |
◆ InternetGateway()
◆ addPortMapping()
void Solid::InternetGateway::addPortMapping |
( |
const QString & |
remoteHost, |
|
|
qint16 |
externalPort, |
|
|
const NetworkProtocol & |
mappingProtocol, |
|
|
qint16 |
internalPort, |
|
|
const QString & |
internalClient |
|
) |
| |
◆ currentConnections()
QStringList Solid::InternetGateway::currentConnections |
( |
| ) |
const |
◆ currentConnectionsDataIsReady
void Solid::InternetGateway::currentConnectionsDataIsReady |
( |
QStringList |
currentConnections | ) |
|
|
signal |
◆ deletePortMapping()
void Solid::InternetGateway::deletePortMapping |
( |
const QString & |
remoteHost, |
|
|
qint16 |
externalPort, |
|
|
const NetworkProtocol & |
mappingProtocol |
|
) |
| |
◆ deviceInterfaceType()
static Type Solid::InternetGateway::deviceInterfaceType |
( |
| ) |
|
|
inlinestatic |
◆ enabledForInternet
void Solid::InternetGateway::enabledForInternet |
( |
bool |
enabled | ) |
|
|
signal |
◆ isEnabledForInternet()
◆ portMappingAdded
void Solid::InternetGateway::portMappingAdded |
( |
const QString & |
remoteHost, |
|
|
qint16 |
externalPort, |
|
|
const NetworkProtocol & |
mappingProtocol, |
|
|
qint16 |
internalPort, |
|
|
const QString & |
internalClient |
|
) |
| |
|
signal |
◆ portMappingDeleted
void Solid::InternetGateway::portMappingDeleted |
( |
const QString & |
remoteHost, |
|
|
qint16 |
externalPort, |
|
|
const NetworkProtocol & |
mappingProtocol |
|
) |
| |
|
signal |
◆ requestCurrentConnections()
void Solid::InternetGateway::requestCurrentConnections |
( |
| ) |
const |
◆ setEnabledForInternet()
void Solid::InternetGateway::setEnabledForInternet |
( |
bool |
enabled | ) |
|
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by
doxygen 1.9.6 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.