7#ifndef NETWORKMANAGERQT_VPNPLUGIN_H
8#define NETWORKMANAGERQT_VPNPLUGIN_H
10#include "generictypes.h"
11#include "vpnconnection.h"
12#include <networkmanagerqt/networkmanagerqt_export.h>
18class VpnPluginPrivate;
20class NETWORKMANAGERQT_EXPORT VpnPlugin :
public QObject
31 explicit VpnPlugin(
const QString &path,
QObject *parent =
nullptr);
32 ~VpnPlugin()
override;
35 void configChanged(
const QVariantMap &configuration);
36 void failureChanged(uint reason);
37 void ip4ConfigChanged(
const QVariantMap &ip4config);
38 void ip6ConfigChanged(
const QVariantMap &ip6config);
39 void loginBannerChanged(
const QString &banner);
40 void stateChanged(VpnConnection::State state);
46 void setConfig(
const QVariantMap &config);
47 void setFailure(
const QString &reason);
48 void setIp4Config(
const QVariantMap &config);
49 void setIp6Config(
const QVariantMap &config);
50 void onStateChanged(uint state);
53 VpnPluginPrivate *
const d_ptr;
56 Q_DECLARE_PRIVATE(VpnPlugin)
This class allows querying the underlying system to discover the available network interfaces and rea...
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:01:06 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.