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

interfaces

kde_terminal_interface.h
00001 // // interface.h -*- C++ -*-
00002 // Copyright (C)  2002  Dominique Devriese <devriese@kde.org>
00003 // Copyright (C)  2005  Peter Rockai <me@mornfall.net>
00004 
00005 // This library is free software; you can redistribute it and/or
00006 // modify it under the terms of the GNU Lesser General Public
00007 // License as published by the Free Software Foundation; either
00008 // version 2.1 of the License, or (at your option) any later version.
00009 
00010 // This library is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013 // Lesser General Public License for more details.
00014 
00015 // You should have received a copy of the GNU Lesser General Public
00016 // License along with this library; if not, write to the Free Software
00017 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00018 // 02110-1301  USA
00019 
00020 #ifndef KDELIBS_TERMINAL_INTERFACE_H
00021 #define KDELIBS_TERMINAL_INTERFACE_H
00022 
00023 class TQString;
00024 class TQStrList;
00025 
00026 #include <kdemacros.h>
00027 
00092 class KDE_EXPORT TerminalInterface
00093 {
00094 public:
00098   virtual void startProgram( const TQString& program,
00099                              const TQStrList& args ) = 0;
00105   virtual void showShellInDir( const TQString& dir ) = 0;
00106 
00111   virtual void sendInput( const TQString& text ) = 0;
00112 
00113 };
00114 
00129 class KDE_EXPORT ExtTerminalInterface
00130 {
00131 public:
00135   virtual void startProgram( const TQString& program,
00136                              const TQStrList& args ) = 0;
00142   virtual void showShellInDir( const TQString& dir ) = 0;
00143 
00148   virtual void sendInput( const TQString& text ) = 0;
00149 
00158   virtual void setAutoStartShell(bool enabled) = 0;
00159 
00165   virtual void setAutoDestroy(bool enabled) = 0;
00166 
00167   virtual bool setPtyFd(int master_pty) = 0;
00168 };
00169 
00170 #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
  •   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.7.6.1
This website is maintained by Timothy Pearson.