MauiKit Terminal
ksession.h
33 * Creates and controls the terminal session. This class is exposed to the QML engine as `Session`.
35 * @note This class is not part of any public API and it is only part of the Terminal QML control implementation
49 Q_PROPERTY(QString initialWorkingDirectory READ getInitialWorkingDirectory WRITE setInitialWorkingDirectory NOTIFY initialWorkingDirectoryChanged)
59 Q_PROPERTY(QString shellProgram READ shellProgram WRITE setShellProgram NOTIFY shellProgramChanged)
79 Q_PROPERTY(QString foregroundProcessName READ foregroundProcessName NOTIFY foregroundProcessNameChanged)
94 Q_PROPERTY(bool monitorSilence READ monitorSilence WRITE setMonitorSilence NOTIFY monitorSilenceChanged)
QString kbScheme
Allows to select the preferred key binding, by default there is one pre-defined.
Definition ksession.h:44
void search(const QString ®exp, int startLine=0, int startColumn=0, bool forwards=true)
Search history.
Definition ksession.cpp:359
void initialWorkingDirectoryChanged()
initialWorkingDirectoryChanged
QString initialWorkingDirectory
Set the initial working directory from a local path.
Definition ksession.h:49
void setInitialWorkingDirectory(const QString &dir)
Initial working directory.
Definition ksession.cpp:266
void setArgs(const QStringList &args)
Shell program args, default is none.
Definition ksession.cpp:282
void setShellProgram(const QString &progname)
Shell program, default is /bin/bash
Definition ksession.cpp:252
void setEnvironment(const QStringList &environment)
Set the custom enviroment variables.
Definition ksession.cpp:247
void matchFound(int startColumn, int startLine, int endColumn, int endLine)
matchFound
void setKeyBindings(const QString &kb)
Set named key binding for the session.
Definition ksession.cpp:377
QStringList shellProgramArgs
Allows to set the arguments to the default shell program.
Definition ksession.h:64
void setFlowControlEnabled(bool enabled)
Sets whether flow control is enabled.
Definition ksession.cpp:367
void foregroundProcessNameChanged()
foregroundProcessNameChanged
static QStringList availableKeyBindings()
Sets whether the flow control warning box should be shown when the flow control stop key (Ctrl+S) is ...
Definition ksession.cpp:388
QString shellProgram
Allows to change the default shell program, by default bash is used.
Definition ksession.h:59
Represents a terminal session consisting of a pseudo-teletype and a terminal emulation.
Definition Session.h:54
A widget which displays output from a terminal emulation and sends input keypresses and mouse activit...
Definition TerminalDisplay.h:89
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Aug 30 2024 11:51:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Aug 30 2024 11:51:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.