KPty
kptyprocess.cpp
47 d->pty->login(KUser(KUser::UseRealUserID).loginName().toLocal8Bit().constData(), qgetenv("DISPLAY").constData());
Encapsulates KPty into a QIODevice, so it can be used with Q*Stream, etc.
Definition kptydevice.h:21
This class extends KProcess by support for PTYs (pseudo TTYs).
Definition kptyprocess.h:60
bool isUseUtmp() const
Get whether to register the process as a TTY login in utmp.
Definition kptyprocess.cpp:110
PtyChannels ptyChannels() const
Query to which channels the PTY is assigned.
Definition kptyprocess.cpp:96
void setUseUtmp(bool value)
Set whether to register the process as a TTY login in utmp.
Definition kptyprocess.cpp:103
void setPtyChannels(PtyChannels channels)
Set to which channels the PTY should be assigned.
Definition kptyprocess.cpp:89
UseRealUserID
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
bool disconnect(const QMetaObject::Connection &connection)
ProcessState
std::function< void()> childProcessModifier()> childProcessModifier() const const
void setChildProcessModifier(const std::function< void()> &modifier)
QProcess::ProcessState state() const const
void stateChanged(QProcess::ProcessState newState)
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:12:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:12:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.