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 } 00045 00046 AuthBackend::Capabilities AuthBackend::capabilities() const 00047 { 00048 return d->capabilities; 00049 } 00050 00051 void AuthBackend::setCapabilities(AuthBackend::Capabilities capabilities) 00052 { 00053 d->capabilities = capabilities; 00054 } 00055 00056 bool AuthBackend::actionExists(const QString& action) 00057 { 00058 Q_UNUSED(action); 00059 return false; 00060 } 00061 00062 void AuthBackend::preAuthAction(const QString& action, QWidget* parent) 00063 { 00064 Q_UNUSED(action) 00065 Q_UNUSED(parent) 00066 } 00067 00068 } //namespace KAuth 00069 00070 #include "AuthBackend.moc"
KDE 4.6 API Reference