#include <kde_terminal_interface.h>
Public Member Functions | |
virtual void | startProgram (const TQString &program, const TQStrList &args)=0 |
virtual void | showShellInDir (const TQString &dir)=0 |
virtual void | sendInput (const TQString &text)=0 |
virtual void | setAutoStartShell (bool enabled)=0 |
virtual void | setAutoDestroy (bool enabled)=0 |
virtual bool | setPtyFd (int master_pty)=0 |
Detailed Description
This class is used analogically to TerminalInterface (see it's documentation), but provides 2 further methods to change konsole's behaviour.
For KDE 4, this class will be dropped again and the functionality merged into TerminalInterface. Only use this if you really need it for 3.5...
- See also
- TerminalInterface
- Since
- 3.5
Definition at line 128 of file kde_terminal_interface.h.
Member Function Documentation
◆ sendInput()
|
pure virtual |
This sends.
- Parameters
-
text as input to the currently running program..
◆ setAutoDestroy()
|
pure virtual |
If set to true (which is default), konsolePart will destroy itself as soon as the running program terminates.
If false, you can start another program instead or close it yourself.
◆ setAutoStartShell()
|
pure virtual |
Call this to disable the automatic shell that is normally loaded when konsolePart is instantiated;.
You must call this function immediately after creating the part! The shell is otherwise started as soon as the Qt event loop is entered.
◆ showShellInDir()
|
pure virtual |
If a shell is currently shown, this sends it a cd command.
Otherwise, this starts a shell, and sends it a cd command too...
◆ startProgram()
|
pure virtual |
This starts program
, with arguments args
.
The documentation for this class was generated from the following file: