KAuth

AuthBackend.cpp
1 /*
2  SPDX-FileCopyrightText: 2008 Nicola Gigante <[email protected]>
3  SPDX-FileCopyrightText: 2010 Dario Freddi <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.1-or-later
6 */
7 
8 #include "AuthBackend.h"
9 
10 namespace KAuth
11 {
12 class AuthBackend::Private
13 {
14 public:
15  Private()
16  {
17  }
18  virtual ~Private()
19  {
20  }
21 
23 };
24 
25 AuthBackend::AuthBackend()
26  : QObject(nullptr)
27  , d(new Private)
28 {
29 }
30 
31 AuthBackend::~AuthBackend()
32 {
33  delete d;
34 }
35 
36 AuthBackend::Capabilities AuthBackend::capabilities() const
37 {
38  return d->capabilities;
39 }
40 
41 void AuthBackend::setCapabilities(AuthBackend::Capabilities capabilities)
42 {
43  d->capabilities = capabilities;
44 }
45 
46 AuthBackend::ExtraCallerIDVerificationMethod AuthBackend::extraCallerIDVerificationMethod() const
47 {
48  return NoExtraCallerIDVerificationMethod;
49 }
50 
51 bool AuthBackend::actionExists(const QString &action)
52 {
53  Q_UNUSED(action);
54  return false;
55 }
56 
57 void AuthBackend::preAuthAction(const QString &action, QWidget *parent)
58 {
59  Q_UNUSED(action)
60  Q_UNUSED(parent)
61 }
62 
63 QVariantMap AuthBackend::backendDetails(const DetailsMap &details)
64 {
65  Q_UNUSED(details);
66  return QVariantMap();
67 }
68 
69 } // namespace KAuth
QFlags< Capability > Capabilities
Definition: action.cpp:18
Capabilities capabilities()
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Feb 5 2023 04:14:58 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.