4
// Description: Widget that interacts with the debugged application
7
// Copyright (c) 2010 Kåre Särs <kare.sars@iki.fi>
9
// This library is free software; you can redistribute it and/or
10
// modify it under the terms of the GNU Library General Public
11
// License version 2 as published by the Free Software Foundation.
13
// This library is distributed in the hope that it will be useful,
14
// but WITHOUT ANY WARRANTY; without even the implied warranty of
15
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
// Library General Public License for more details.
18
// You should have received a copy of the GNU Library General Public License
19
// along with this library; see the file COPYING.LIB. If not, write to
20
// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21
// Boston, MA 02110-1301, USA.
26
#include <QtGui/QWidget>
27
#include <QtCore/QFile>
31
class QSocketNotifier;
33
class IOView : public QWidget
37
IOView(QWidget *parent = 0);
40
const QString stdinFifo();
41
const QString stdoutFifo();
42
const QString stderrFifo();
44
void enableInput(bool enable);
49
void addStdOutText(const QString &text);
50
void addStdErrText(const QString &text);
58
void stdOutText(const QString &text);
59
void stdErrText(const QString &text);
63
QString createFifo(const QString &prefix);
82
QSocketNotifier *m_stdoutNotifier;
83
QSocketNotifier *m_stderrNotifier;