66
66
// message().service() is the service name of the caller
67
67
// We can check if the caller is authorized to the following action
68
68
Authority::Result result;
73
71
result = Authority::instance()->checkAuthorizationSync("org.qt.policykit.examples.set",
74
72
subject , Authority::AllowUserInteraction);