11#ifndef MACSECDEVICEINTERFACE_H
12#define MACSECDEVICEINTERFACE_H
14#include "generictypes.h"
16#include <QDBusAbstractInterface>
17#include <QDBusObjectPath>
29 static inline const char *staticInterfaceName()
32 return "org.kde.fakenetwork.Device.Macsec";
36 return "org.freedesktop.NetworkManager.Device.Macsec";
41 OrgFreedesktopNetworkManagerDeviceMacsecInterface(
const QString &
service,
46 ~OrgFreedesktopNetworkManagerDeviceMacsecInterface()
override;
48 Q_PROPERTY(qulonglong CipherSuite READ cipherSuite)
49 inline qulonglong cipherSuite()
const
51 return qvariant_cast<qulonglong>(
property(
"CipherSuite"));
55 inline uchar encodingSa()
const
57 return qvariant_cast<uchar>(
property(
"EncodingSa"));
61 inline bool encrypt()
const
63 return qvariant_cast<bool>(
property(
"Encrypt"));
67 inline bool es()
const
69 return qvariant_cast<bool>(
property(
"Es"));
73 inline uchar icvLength()
const
75 return qvariant_cast<uchar>(
property(
"IcvLength"));
79 inline bool includeSci()
const
81 return qvariant_cast<bool>(
property(
"IncludeSci"));
87 return qvariant_cast<QDBusObjectPath>(
property(
"Parent"));
91 inline bool protect()
const
93 return qvariant_cast<bool>(
property(
"Protect"));
96 Q_PROPERTY(
bool ReplayProtect READ replayProtect)
97 inline bool replayProtect()
const
99 return qvariant_cast<bool>(
property(
"ReplayProtect"));
103 inline bool scb()
const
105 return qvariant_cast<bool>(
property(
"Scb"));
109 inline qulonglong sci()
const
111 return qvariant_cast<qulonglong>(
property(
"Sci"));
115 inline QString validation()
const
117 return qvariant_cast<QString>(
property(
"Validation"));
121 inline uint window()
const
123 return qvariant_cast<uint>(
property(
"Window"));
128 void PropertiesChanged(
const QVariantMap &properties);
QDBusConnection connection() const const
QString path() const const
QString service() const const
QVariant property(const char *name) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:46:15 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.