KDevelop API Documentation

appoutputviewpart.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 1999-2002 by Bernd Gehrmann                             *
00003  *   bernd@kdevelop.org                                                    *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  ***************************************************************************/
00011 
00012 #ifndef _APPOUTPUTVIEWSPART_H_
00013 #define _APPOUTPUTVIEWSPART_H_
00014 
00015 #include <qguardedptr.h>
00016 
00017 #include "kdevappfrontend.h"
00018 #include "KDevAppFrontendIface.h"
00019 
00020 
00021 class AppOutputWidget;
00022 
00023 class AppOutputViewPart : public KDevAppFrontend
00024 {
00025     Q_OBJECT
00026 
00027 public:
00028     AppOutputViewPart( QObject *parent, const char *name, const QStringList & );
00029     ~AppOutputViewPart();
00030 
00031     virtual void startAppCommand(const QString &directory, const QString &command, bool inTerminal);
00032     virtual void stopApplication();
00033     virtual bool isRunning();
00034     virtual void insertStdoutLine(const QString &line);
00035     virtual void insertStderrLine(const QString &line);
00036     virtual void clearView();
00037 
00038 signals:
00039     void processExited();
00040 
00041 private slots:
00042     void slotStopButtonClicked(KDevPlugin*);
00043     void slotProcessExited();
00044 
00045 private:
00046     QGuardedPtr<AppOutputWidget> m_widget;
00047     KDevAppFrontendIface *m_dcop;
00048     friend class AppOutputWidget;
00049 };
00050 
00051 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:22:41 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003