• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

interfaces

kde_terminal_interface.h

Go to the documentation of this file.
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 QString;
00024 class QStrList;
00025 
00026 #include <kdemacros.h>
00027 
00092 class KDE_EXPORT TerminalInterface
00093 {
00094 public:
00098   virtual void startProgram( const QString& program,
00099                              const QStrList& args ) = 0;
00105   virtual void showShellInDir( const QString& dir ) = 0;
00106 
00111   virtual void sendInput( const QString& text ) = 0;
00112 
00113 };
00114 
00129 class KDE_EXPORT ExtTerminalInterface
00130 {
00131 public:
00135   virtual void startProgram( const QString& program,
00136                              const QStrList& args ) = 0;
00142   virtual void showShellInDir( const QString& dir ) = 0;
00143 
00148   virtual void sendInput( const QString& text ) = 0;
00149 
00158   virtual void setAutoStartShell(bool enabled) = 0;
00159 
00165   virtual void setAutoDestroy(bool enabled) = 0;
00166 };
00167 
00168 #endif

interfaces

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal