KPty
kptyprocess.cpp
47 d->pty->login(KUser(KUser::UseRealUserID).loginName().toLocal8Bit().constData(), qgetenv("DISPLAY").constData());
KProcess(QObject *parent=nullptr)
Encapsulates KPty into a QIODevice, so it can be used with Q*Stream, etc.
Definition kptydevice.h:21
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
QFlags< PtyChannelFlag > PtyChannels
Stores a combination of PtyChannelFlag values.
Definition kptyprocess.h:80
UseRealUserID
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
bool disconnect(const QMetaObject::Connection &connection)
QObject * parent() const const
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-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:33 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:33 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.