• NetworkConnection
  • NetworkConnection Class


    Represents a saved network connection of the NetworkManager. More...

    Header: #include <NetworkConnection>

    Public Functions

    NetworkConnection(const QDBusObjectPath & objectPath, QObject * parent = 0)
    bool autoconnect() const
    ConnectionSettings connectionSettings() const
    void deleteConnection()
    QString id() const
    QString interfaceName() const
    QString name() const
    QDBusObjectPath objectPath() const
    QDateTime timeStamp() const
    QString type() const
    QUuid uuid() const

    Detailed Description

    Represents a saved network connection of the NetworkManager.

    See also NetworkSettings.

    Member Function Documentation

    NetworkConnection::NetworkConnection(const QDBusObjectPath & objectPath, QObject * parent = 0)

    Constructs a new NetworkConnection with the given dbus objectPath and parent.

    bool NetworkConnection::autoconnect() const

    Returns true if this NetworkConnection will autoconnect if available.

    ConnectionSettings NetworkConnection::connectionSettings() const

    Returns the connection settings of this NetworkConnection.

    void NetworkConnection::deleteConnection()

    Delets this NetworkConnection in the NetworkManager.

    QString NetworkConnection::id() const

    Returns the id of this NetworkConnection.

    QString NetworkConnection::interfaceName() const

    Returns the interface name of this NetworkConnection.

    QString NetworkConnection::name() const

    Returns the name of this NetworkConnection.

    QDBusObjectPath NetworkConnection::objectPath() const

    Returns the dbus object path of this NetworkConnection.

    QDateTime NetworkConnection::timeStamp() const

    Returns the timestamp of this NetworkConnection from the last connection.

    QString NetworkConnection::type() const

    Returns the type of this NetworkConnection.

    QUuid NetworkConnection::uuid() const

    Returns the uuid of this NetworkConnection.