KPty
kptyprocess.cpp
Go to the documentation of this file.
129 d->pty->login(KUser(KUser::UseRealUserID).loginName().toLocal8Bit().data(), qgetenv("DISPLAY"));
virtual void setupChildProcess()
void setUseUtmp(bool value)
Set whether to register the process as a TTY login in utmp.
Definition: kptyprocess.cpp:102
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
void setPtyChannels(PtyChannels channels)
Set to which channels the PTY should be assigned.
Definition: kptyprocess.cpp:88
bool isUseUtmp() const
Get whether to register the process as a TTY login in utmp.
Definition: kptyprocess.cpp:109
void stateChanged(QProcess::ProcessState newState)
PtyChannels ptyChannels() const
Query to which channels the PTY is assigned.
Definition: kptyprocess.cpp:95
This class extends KProcess by support for PTYs (pseudo TTYs).
Definition: kptyprocess.h:48
Encapsulates KPty into a QIODevice, so it can be used with Q*Stream, etc.
Definition: kptydevice.h:38
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QProcess::ProcessState state() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:38 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:23:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.