1#ifndef QBARCODE_PAYLOADQRWIFI_H
2#define QBARCODE_PAYLOADQRWIFI_H
4#include "qbarcode/payloads/payload.h"
17class PayloadQrWifiPrivate;
21 enum class SecurityType
43 SecurityType getSecurityType()
const;
44 QString getSsid()
const;
45 QString getPassword()
const;
46 bool isHidden()
const;
49 void setSecurityType(SecurityType idSecurity);
50 void setSsid(
const QString &ssid);
51 void setPassword(
const QString &passwd);
52 void setIsHidden(
bool isHidden);
55 static QString securityTypeToString(SecurityType idSecurity);
65QBAR_EXPORT QDebug operator<<(QDebug debug,
const PayloadQrWifi &payload);
67#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
69inline uint qHash(qbar::PayloadQrWifi::SecurityType key, uint seed = 0)
71 return ::qHash(
static_cast<std::underlying_type<qbar::PayloadQrWifi::SecurityType>::type
>(key), seed);
Store data of a Barcode.
Definition payload.h:23
Store QrCode WIFI data.
Definition payloadqrwifi.h:19
Namespace used for QWlanManager library.
Definition barcode.h:15