KDEsu
su.cpp
Go to the documentation of this file.
Definition: su.h:31
QByteArray readLine(bool block=true)
Reads a line from the program's standard out.
Definition: process.cpp:239
KStandardDirs * dirs()
static QDebug kError(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
KSharedConfigPtr config()
QString loginName() const
#define isspace(c)
static int registerArea(const QByteArray &areaName, bool enabled=true)
Definition: su.h:36
int checkInstall(const char *password)
Checks if the stub is installed and the password is correct.
Definition: su.cpp:109
SuProcess(const QByteArray &user=0, const QByteArray &command=0)
Definition: su.cpp:72
int exec(const QByteArray &command, const QList< QByteArray > &args)
Forks off and execute a command.
Definition: process.cpp:291
virtual void virtual_hook(int id, void *data)
Standard hack to add virtual methods in a BC way.
Definition: stub.cpp:233
Definition: su.h:31
int access(const QString &path, int mode)
void unreadLine(const QByteArray &line, bool addNewline=true)
Puts back a line of input.
Definition: process.cpp:273
bool useUsersOwnPassword()
Checks whether or not the user's password is being asked for or another user's password.
Definition: su.cpp:99
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
Definition: su.h:36
Definition: stub.h:64
virtual void virtual_hook(int id, void *data)
Standard hack to add virtual methods in a BC way.
Definition: su.cpp:332
#define k_lineinfo
T readEntry(const QString &key, const T &aDefault) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.