24 #include <QStringList>
27 #include "securitycontext.h"
28 #include "securitycontextpriv.h"
37 const QString &applicationContext):
38 m_systemContext(systemContext),
39 m_applicationContext(applicationContext)
43 QDBusArgument &operator<<(QDBusArgument &argument,
46 argument.beginStructure();
49 argument.endStructure();
53 const QDBusArgument &operator>>(
const QDBusArgument &argument,
54 SecurityContext &securityContext)
56 QString systemContext;
57 QString applicationContext;
59 argument.beginStructure();
60 argument >> systemContext >> applicationContext;
61 securityContext.setSystemContext(systemContext);
62 securityContext.setApplicationContext(applicationContext);
63 argument.endStructure();
74 return m_systemContext;
84 return m_applicationContext;
Contains access security context information.
QString systemContext() const
Gets the system context.
SecurityContext()
Creates a new SecurityContext object.
void setApplicationContext(const QString &applicationContext)
Sets the application context.
QString applicationContext() const
Gets the application context.
void setSystemContext(const QString &systemContext)
Sets the system context.