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

interfaces

  • interfaces
  • terminal
kde_terminal_interface.h
1// Copyright (C) 2002 Dominique Devriese <devriese@kde.org>
2// Copyright (C) 2005 Peter Rockai <me@mornfall.net>
3
4// This library is free software; you can redistribute it and/or
5// modify it under the terms of the GNU Lesser General Public
6// License as published by the Free Software Foundation; either
7// version 2.1 of the License, or (at your option) any later version.
8
9// This library is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12// Lesser General Public License for more details.
13
14// You should have received a copy of the GNU Lesser General Public
15// License along with this library; if not, write to the Free Software
16// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17// 02110-1301 USA
18
19#ifndef KDELIBS_TERMINAL_INTERFACE_H
20#define KDELIBS_TERMINAL_INTERFACE_H
21
22class TQString;
23class TQStrList;
24
25#include <tdemacros.h>
26
91class TDE_EXPORT TerminalInterface
92{
93public:
97 virtual void startProgram( const TQString& program,
98 const TQStrList& args ) = 0;
104 virtual void showShellInDir( const TQString& dir ) = 0;
105
110 virtual void sendInput( const TQString& text ) = 0;
111
112};
113
128class TDE_EXPORT ExtTerminalInterface
129{
130public:
134 virtual void startProgram( const TQString& program,
135 const TQStrList& args ) = 0;
141 virtual void showShellInDir( const TQString& dir ) = 0;
142
147 virtual void sendInput( const TQString& text ) = 0;
148
157 virtual void setAutoStartShell(bool enabled) = 0;
158
164 virtual void setAutoDestroy(bool enabled) = 0;
165
166 virtual bool setPtyFd(int master_pty) = 0;
167};
168
169#endif
ExtTerminalInterface
This class is used analogically to TerminalInterface (see it's documentation), but provides 2 further...
Definition: kde_terminal_interface.h:129
ExtTerminalInterface::setAutoDestroy
virtual void setAutoDestroy(bool enabled)=0
If set to true (which is default), konsolePart will destroy itself as soon as the running program ter...
ExtTerminalInterface::showShellInDir
virtual void showShellInDir(const TQString &dir)=0
If a shell is currently shown, this sends it a cd command.
ExtTerminalInterface::sendInput
virtual void sendInput(const TQString &text)=0
This sends.
ExtTerminalInterface::setAutoStartShell
virtual void setAutoStartShell(bool enabled)=0
Call this to disable the automatic shell that is normally loaded when konsolePart is instantiated;.
ExtTerminalInterface::startProgram
virtual void startProgram(const TQString &program, const TQStrList &args)=0
This starts program, with arguments args.
TerminalInterface
TerminalInterface is an interface implemented by KonsolePart to allow developers access to the Konsol...
Definition: kde_terminal_interface.h:92
TerminalInterface::showShellInDir
virtual void showShellInDir(const TQString &dir)=0
If a shell is currently shown, this sends it a cd command.
TerminalInterface::startProgram
virtual void startProgram(const TQString &program, const TQStrList &args)=0
This starts program, with arguments args.
TerminalInterface::sendInput
virtual void sendInput(const TQString &text)=0
This sends.

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.