• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • interfaces
 

interfaces

Public Member Functions | List of all members
ExtTerminalInterface Class Referenceabstract

#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()

virtual void ExtTerminalInterface::sendInput ( const TQString &  text)
pure virtual

This sends.

Parameters
textas input to the currently running program..

◆ setAutoDestroy()

virtual void ExtTerminalInterface::setAutoDestroy ( bool  enabled)
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()

virtual void ExtTerminalInterface::setAutoStartShell ( bool  enabled)
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()

virtual void ExtTerminalInterface::showShellInDir ( const TQString &  dir)
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()

virtual void ExtTerminalInterface::startProgram ( const TQString &  program,
const TQStrList &  args 
)
pure virtual

This starts program, with arguments args.


The documentation for this class was generated from the following file:
  • kde_terminal_interface.h

interfaces

Skip menu "interfaces"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

interfaces

Skip menu "interfaces"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for interfaces by doxygen 1.9.4
This website is maintained by Timothy Pearson.