kde_terminal_interface.h
// interface.h -*- C++ -*-
// Copyright (C) 2002 Dominique Devriese <devriese@kde.org>
// Copyright (C) 2005 Peter Rockai <me@mornfall.net>
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
// 02110-1301 USA
#ifndef KDELIBS_TERMINAL_INTERFACE_H
#define KDELIBS_TERMINAL_INTERFACE_H
class QString;
class QStrList;
#include <kdemacros.h>
class KDE_EXPORT TerminalInterface
{
public:
virtual void startProgram( const QString& program,
const QStrList& args ) = 0;
virtual void showShellInDir( const QString& dir ) = 0;
virtual void sendInput( const QString& text ) = 0;
};
class KDE_EXPORT ExtTerminalInterface
{
public:
virtual void startProgram( const QString& program,
const QStrList& args ) = 0;
virtual void showShellInDir( const QString& dir ) = 0;
virtual void sendInput( const QString& text ) = 0;
virtual void setAutoStartShell(bool enabled) = 0;
virtual void setAutoDestroy(bool enabled) = 0;
};
#endif
ExtTerminalInterface
This class is used analogically to TerminalInterface (see it's documentation), but provides 2 further...
Definition: kde_terminal_interface.h:129
TerminalInterface
TerminalInterface is an interface implemented by KonsolePart to allow developers access to the Konsol...
Definition: kde_terminal_interface.h:92

KDE Home | KDE Accessibility Home | Description of Access Keys