• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KDECore

  • sources
  • kde-4.14
  • kdelibs
  • kdecore
  • auth
AuthBackend.cpp
Go to the documentation of this file.
1 /*
2 * Copyright (C) 2008 Nicola Gigante <nicola.gigante@gmail.com>
3 * Copyright (C) 2010 Dario Freddi <drf@kde.org>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU Lesser General Public License as published by
7 * the Free Software Foundation; either version 2.1 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with this program; if not, write to the
17 * Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA .
19 */
20 
21 #include "AuthBackend.h"
22 
23 namespace KAuth
24 {
25 
26 class AuthBackend::Private
27 {
28 public:
29  Private() {}
30  virtual ~Private() {}
31 
32  Capabilities capabilities;
33 };
34 
35 AuthBackend::AuthBackend()
36  : QObject(0)
37  , d(new Private)
38 {
39 
40 }
41 
42 AuthBackend::~AuthBackend()
43 {
44  delete d;
45 }
46 
47 AuthBackend::Capabilities AuthBackend::capabilities() const
48 {
49  return d->capabilities;
50 }
51 
52 void AuthBackend::setCapabilities(AuthBackend::Capabilities capabilities)
53 {
54  d->capabilities = capabilities;
55 }
56 
57 AuthBackend::ExtraCallerIDVerificationMethod AuthBackend::extraCallerIDVerificationMethod() const
58 {
59  return NoExtraCallerIDVerificationMethod;
60 }
61 
62 bool AuthBackend::actionExists(const QString& action)
63 {
64  Q_UNUSED(action);
65  return false;
66 }
67 
68 void AuthBackend::preAuthAction(const QString& action, QWidget* parent)
69 {
70  Q_UNUSED(action)
71  Q_UNUSED(parent)
72 }
73 
74 } //namespace KAuth
75 
76 #include "AuthBackend.moc"
QWidget
KAuth::AuthBackend::preAuthAction
virtual void preAuthAction(const QString &action, QWidget *parent)
Definition: AuthBackend.cpp:68
AuthBackend.h
KAuth::AuthBackend::extraCallerIDVerificationMethod
virtual ExtraCallerIDVerificationMethod extraCallerIDVerificationMethod() const
Definition: AuthBackend.cpp:57
KAuth::AuthBackend::NoExtraCallerIDVerificationMethod
Definition: AuthBackend.h:47
QObject
KAuth::AuthBackend::ExtraCallerIDVerificationMethod
ExtraCallerIDVerificationMethod
Definition: AuthBackend.h:46
QString
KAuth::AuthBackend::actionExists
virtual bool actionExists(const QString &action)
Definition: AuthBackend.cpp:62
KAuth::AuthBackend::setCapabilities
void setCapabilities(Capabilities capabilities)
Definition: AuthBackend.cpp:52
KAuth::AuthBackend::~AuthBackend
virtual ~AuthBackend()
Definition: AuthBackend.cpp:42
KAuth::AuthBackend::AuthBackend
AuthBackend()
Definition: AuthBackend.cpp:35
KAuth::AuthBackend::capabilities
Capabilities capabilities() const
Definition: AuthBackend.cpp:47
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDECore

Skip menu "KDECore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal