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

KDECore

FakeHelperProxy.cpp

Go to the documentation of this file.
00001 /*
00002 *   Copyright (C) 2010 Dario Freddi <drf@kde.org>
00003 *
00004 *   This program is free software; you can redistribute it and/or modify
00005 *   it under the terms of the GNU Lesser General Public License as published by
00006 *   the Free Software Foundation; either version 2.1 of the License, or
00007 *   (at your option) any later version.
00008 *
00009 *   This program is distributed in the hope that it will be useful,
00010 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012 *   GNU General Public License for more details.
00013 *
00014 *   You should have received a copy of the GNU Lesser General Public License
00015 *   along with this program; if not, write to the
00016 *   Free Software Foundation, Inc.,
00017 *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA .
00018 */
00019 
00020 #include "FakeHelperProxy.h"
00021 
00022 namespace KAuth {
00023 
00024 FakeHelperProxy::FakeHelperProxy()
00025         : HelperProxy()
00026 {
00027 
00028 }
00029 
00030 FakeHelperProxy::~FakeHelperProxy()
00031 {
00032 
00033 }
00034 
00035 void FakeHelperProxy::sendProgressStep(const QVariantMap& step)
00036 {
00037     Q_UNUSED(step)
00038 }
00039 
00040 void FakeHelperProxy::sendProgressStep(int step)
00041 {
00042     Q_UNUSED(step)
00043 }
00044 
00045 void FakeHelperProxy::sendDebugMessage(int level, const char* msg)
00046 {
00047     Q_UNUSED(level)
00048     Q_UNUSED(msg)
00049 }
00050 
00051 bool FakeHelperProxy::hasToStopAction()
00052 {
00053     return false;
00054 }
00055 
00056 void FakeHelperProxy::setHelperResponder(QObject* o)
00057 {
00058     Q_UNUSED(o)
00059 }
00060 
00061 bool FakeHelperProxy::initHelper(const QString& name)
00062 {
00063     Q_UNUSED(name)
00064     return false;
00065 }
00066 
00067 void FakeHelperProxy::stopAction(const QString& action, const QString& helperID)
00068 {
00069     Q_UNUSED(action)
00070     Q_UNUSED(helperID)
00071 }
00072 
00073 KAuth::ActionReply FakeHelperProxy::executeAction(const QString& action, const QString& helperID, const QVariantMap& arguments)
00074 {
00075     Q_UNUSED(action)
00076     Q_UNUSED(helperID)
00077     Q_UNUSED(arguments)
00078     return KAuth::ActionReply::NoSuchActionReply;
00079 }
00080 
00081 bool FakeHelperProxy::executeActions(const QList< QPair< QString, QVariantMap > >& list, const QString& helperID)
00082 {
00083     Q_UNUSED(list)
00084     Q_UNUSED(helperID)
00085     return false;
00086 }
00087 
00088 Action::AuthStatus FakeHelperProxy::authorizeAction(const QString& action, const QString& helperID)
00089 {
00090     Q_UNUSED(action)
00091     Q_UNUSED(helperID)
00092     return Action::Denied;
00093 }
00094 
00095 }
00096 
00097 #include "FakeHelperProxy.moc"

KDECore

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • 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
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal