18 #include "authenticationuser.h"
20 #include <QDataStream>
35 AuthenticationUser::~AuthenticationUser()
41 return m_data.value(QStringLiteral(
"id")).toString();
46 m_data.insert(QStringLiteral(
"id"),
id);
51 return m_data.isEmpty();
56 return m_data.value(QStringLiteral(
"authRealm")).toString();
61 m_data.insert(QStringLiteral(
"authRealm"),
authRealm);
80 const QVariantMap map = user.data();
81 const bool oldSetting = dbg.autoInsertSpaces();
82 dbg.nospace() <<
"AuthenticationUser(";
83 for (
auto it = map.constBegin();
84 it != map.constEnd(); ++it) {
85 dbg <<
'(' << it.key() <<
", " << it.value() <<
')';
88 dbg.setAutoInsertSpaces(oldSetting);
89 return dbg.maybeSpace();
92 #include "moc_authenticationuser.cpp"