• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • KDevelop Extension Interfaces Library
 

KDevelop Extension Interfaces Library

  • lib
  • interfaces
  • extensions
kdevappfrontend.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2  Copyright (C) 2001 Matthias Hoelzer-Kluepfel <hoelzer@kde.org>
3  Copyright (C) 2001-2002 Bernd Gehrmann <bernd@kdevelop.org>
4  Copyright (C) 2002-2003 Roberto Raggi <roberto@kdevelop.org>
5  Copyright (C) 2002 Simon Hausmann <hausmann@kde.org>
6  Copyright (C) 2002 John Firebaugh <jfirebaugh@kde.org>
7  Copyright (C) 2003 Amilcar do Carmo Lucas <amilcar@ida.ing.tu-bs.de>
8  Copyright (C) 2003 Hamish Rodda <rodda@kde.org>
9  Copyright (C) 2003 Jens Dagerbo <jens.dagerbo@swipnet.se>
10 
11  This library is free software; you can redistribute it and/or
12  modify it under the terms of the GNU Library General Public
13  License as published by the Free Software Foundation; either
14  version 2 of the License, or (at your option) any later version.
15 
16  This library is distributed in the hope that it will be useful,
17  but WITHOUT ANY WARRANTY; without even the implied warranty of
18  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19  Library General Public License for more details.
20 
21  You should have received a copy of the GNU Library General Public License
22  along with this library; see the file COPYING.LIB. If not, write to
23  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
24  Boston, MA 02110-1301, USA.
25 */
26 #ifndef KDEVAPPFRONTEND_H
27 #define KDEVAPPFRONTEND_H
28 
29 #include <tqstringlist.h>
30 #include <kdevplugin.h>
31 
57 class KDevAppFrontend : public KDevPlugin
58 {
59  Q_OBJECT
60 
61 
62 public:
72  KDevAppFrontend(const KDevPluginInfo *info, TQObject *parent=0, const char *name=0 )
73  :KDevPlugin(info, parent, name ? name : "KDevAppFrontend") {}
74 
76  virtual bool isRunning() = 0;
77 
78 public slots:
87  virtual void startAppCommand(const TQString &directory, const TQString &program, bool inTerminal) = 0;
88 
92  virtual void stopApplication() = 0;
93 
98  virtual void insertStdoutLine(const TQCString &line) = 0;
99 
105  virtual void insertStderrLine(const TQCString &line) = 0;
106 
107  virtual void addPartialStderrLine( const TQCString& line ) = 0;
108  virtual void addPartialStdoutLine( const TQCString& line ) = 0;
109 
113  virtual void clearView() = 0;
114 };
115 
116 #endif
KDevAppFrontend
Application frontend interface.
Definition: kdevappfrontend.h:57
KDevAppFrontend::isRunning
virtual bool isRunning()=0
KDevAppFrontend::stopApplication
virtual void stopApplication()=0
Stops the currently running application.
KDevAppFrontend::insertStdoutLine
virtual void insertStdoutLine(const TQCString &line)=0
Inserts a string into the application output view.
KDevAppFrontend::insertStderrLine
virtual void insertStderrLine(const TQCString &line)=0
Inserts a string into the application output view marked as stderr output (usually colored)...
KDevAppFrontend::KDevAppFrontend
KDevAppFrontend(const KDevPluginInfo *info, TQObject *parent=0, const char *name=0)
Constructor.
Definition: kdevappfrontend.h:72
KDevAppFrontend::clearView
virtual void clearView()=0
Clears the output view.
KDevAppFrontend::startAppCommand
virtual void startAppCommand(const TQString &directory, const TQString &program, bool inTerminal)=0
The component shall start to execute an app-like command.

KDevelop Extension Interfaces Library

Skip menu "KDevelop Extension Interfaces Library"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members

KDevelop Extension Interfaces Library

Skip menu "KDevelop Extension Interfaces Library"
  • buildtools
  •   lib
  •     base
  •     parsers
  •       autotools
  •       qmake
  •     widgets
  •   api
  • languages
  •   lib
  •     debugger
  •     designer_integration
  •     interfaces
  • lib
  •   catalog
  •   interfaces
  •     extensions
  •     external
  •     extras
  •   util
  •   widgets
  •     propeditor
  • parts
  •   documentation
  •     interfaces
  • src
  •   profileengine
  •     lib
Generated for KDevelop Extension Interfaces Library by doxygen 1.8.13
This website is maintained by Timothy Pearson.