KDEsu
ssh.cpp
Go to the documentation of this file.
57 SshProcess::SshProcess(const QByteArray &host, const QByteArray &user, const QByteArray &command)
bool m_bTerminal
Indicates running in a terminal, causes additional newlines to be printed after output.
Definition: process.h:181
virtual void virtual_hook(int id, void *data)
Standard hack to add virtual methods in a BC way.
Definition: ssh.cpp:259
SshProcess(const QByteArray &host=QByteArray(), const QByteArray &user=QByteArray(), const QByteArray &command=QByteArray())
Definition: ssh.cpp:57
Definition: ssh.h:32
QByteArray readLine(bool block=true)
Reads a line from the program's standard out.
Definition: process.cpp:239
bool isNull() const
bool isEmpty() const
static QDebug kError(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
int length() const
Definition: ssh.h:32
#define isspace(c)
const char * constData() const
Definition: ssh.h:32
int exec(const QByteArray &command, const QList< QByteArray > &args)
Forks off and execute a command.
Definition: process.cpp:291
int checkInstall(const char *password)
Checks if the stub is installed and if the password is correct.
Definition: ssh.cpp:83
virtual void virtual_hook(int id, void *data)
Standard hack to add virtual methods in a BC way.
Definition: stub.cpp:233
void unreadLine(const QByteArray &line, bool addNewline=true)
Puts back a line of input.
Definition: process.cpp:273
#define k_lineinfo
virtual QByteArray display()
This virtual function can be overloaded when special behavior is desired.
Definition: ssh.cpp:248
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.