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

interfaces

  • interfaces
  • terminal
kde_terminal_interface.h
1 // // interface.h -*- C++ -*-
2 // Copyright (C) 2002 Dominique Devriese <devriese@kde.org>
3 // Copyright (C) 2005 Peter Rockai <me@mornfall.net>
4 
5 // This library is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU Lesser General Public
7 // License as published by the Free Software Foundation; either
8 // version 2.1 of the License, or (at your option) any later version.
9 
10 // This library is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 // Lesser General Public License for more details.
14 
15 // You should have received a copy of the GNU Lesser General Public
16 // License along with this library; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18 // 02110-1301 USA
19 
20 #ifndef KDELIBS_TERMINAL_INTERFACE_H
21 #define KDELIBS_TERMINAL_INTERFACE_H
22 
23 class TQString;
24 class TQStrList;
25 
26 #include <kdemacros.h>
27 
92 class KDE_EXPORT TerminalInterface
93 {
94 public:
98  virtual void startProgram( const TQString& program,
99  const TQStrList& args ) = 0;
105  virtual void showShellInDir( const TQString& dir ) = 0;
106 
111  virtual void sendInput( const TQString& text ) = 0;
112 
113 };
114 
129 class KDE_EXPORT ExtTerminalInterface
130 {
131 public:
135  virtual void startProgram( const TQString& program,
136  const TQStrList& args ) = 0;
142  virtual void showShellInDir( const TQString& dir ) = 0;
143 
148  virtual void sendInput( const TQString& text ) = 0;
149 
158  virtual void setAutoStartShell(bool enabled) = 0;
159 
165  virtual void setAutoDestroy(bool enabled) = 0;
166 
167  virtual bool setPtyFd(int master_pty) = 0;
168 };
169 
170 #endif

interfaces

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

interfaces

Skip menu "interfaces"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for interfaces by doxygen 1.8.1.2
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |