• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

Solid

  • Solid
  • InternetGateway
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:
Inheritance graph
[legend]

List of all members.

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

enum Solid::InternetGateway::InternetStatus
Enumerator:
InternetEnabled 
InternetDisabled 
UnknownStatus 

Definition at line 47 of file internetgateway.h.

enum Solid::InternetGateway::NetworkProtocol
Enumerator:
TCP 
UDP 

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:
  • internetgateway.h
  • internetgateway.cpp

Solid

Skip menu "Solid"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal