KDECore
AuthBackend.cpp
Go to the documentation of this file.
00001 /* 00002 * Copyright (C) 2008 Nicola Gigante <nicola.gigante@gmail.com> 00003 * Copyright (C) 2010 Dario Freddi <drf@kde.org> 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU Lesser General Public License as published by 00007 * the Free Software Foundation; either version 2.1 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Lesser General Public License 00016 * along with this program; if not, write to the 00017 * Free Software Foundation, Inc., 00018 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . 00019 */ 00020 00021 #include "AuthBackend.h" 00022 00023 namespace KAuth 00024 { 00025 00026 class AuthBackend::Private 00027 { 00028 public: 00029 Private() {} 00030 virtual ~Private() {} 00031 00032 Capabilities capabilities; 00033 }; 00034 00035 AuthBackend::AuthBackend() 00036 : QObject(0) 00037 , d(new Private) 00038 { 00039 00040 } 00041 00042 AuthBackend::~AuthBackend() 00043 { 00044 delete d; 00045 } 00046 00047 AuthBackend::Capabilities AuthBackend::capabilities() const 00048 { 00049 return d->capabilities; 00050 } 00051 00052 void AuthBackend::setCapabilities(AuthBackend::Capabilities capabilities) 00053 { 00054 d->capabilities = capabilities; 00055 } 00056 00057 bool AuthBackend::actionExists(const QString& action) 00058 { 00059 Q_UNUSED(action); 00060 return false; 00061 } 00062 00063 void AuthBackend::preAuthAction(const QString& action, QWidget* parent) 00064 { 00065 Q_UNUSED(action) 00066 Q_UNUSED(parent) 00067 } 00068 00069 } //namespace KAuth 00070 00071 #include "AuthBackend.moc"
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Mon Jan 21 2019 12:28:07 by doxygen 1.7.5.1 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2019 The KDE developers.
Generated on Mon Jan 21 2019 12:28:07 by doxygen 1.7.5.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.