KAuth

AuthBackend.cpp
1/*
2 SPDX-FileCopyrightText: 2008 Nicola Gigante <nicola.gigante@gmail.com>
3 SPDX-FileCopyrightText: 2010 Dario Freddi <drf@kde.org>
4
5 SPDX-License-Identifier: LGPL-2.1-or-later
6*/
7
8#include "AuthBackend.h"
9
10namespace KAuth
11{
12class AuthBackend::Private
13{
14public:
15 Private()
16 {
17 }
18 virtual ~Private()
19 {
20 }
21
22 Capabilities capabilities;
23};
24
25AuthBackend::AuthBackend()
26 : QObject(nullptr)
27 , d(new Private)
28{
29}
30
31AuthBackend::~AuthBackend()
32{
33 delete d;
34}
35
36AuthBackend::Capabilities AuthBackend::capabilities() const
37{
38 return d->capabilities;
39}
40
41void AuthBackend::setCapabilities(AuthBackend::Capabilities capabilities)
42{
43 d->capabilities = capabilities;
44}
45
46void AuthBackend::preAuthAction(const QString &action, QWindow *parent)
47{
48 Q_UNUSED(action)
49 Q_UNUSED(parent)
50}
51
52QVariantMap AuthBackend::backendDetails(const DetailsMap &details)
53{
54 Q_UNUSED(details);
55 return QVariantMap();
56}
57
58} // namespace KAuth
59
60#include "moc_AuthBackend.cpp"
QFlags< Capability > Capabilities
Capabilities capabilities()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sun Feb 25 2024 18:38:05 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.