KDevelop API Documentation

gdboutputwidget.h

Go to the documentation of this file.
00001 // *************************************************************************
00002 //                          gdboutputwidget.cpp  -  description
00003 //                             -------------------
00004 //    begin                : 10th April 2003
00005 //    copyright            : (C) 2003 by John Birch
00006 //    email                : jbb@kdevelop.org
00007 // **************************************************************************
00008 //
00009 // **************************************************************************
00010 // *                                                                        *
00011 // *   This program is free software; you can redistribute it and/or modify *
00012 // *   it under the terms of the GNU General Public License as published by *
00013 // *   the Free Software Foundation; either version 2 of the License, or    *
00014 // *   (at your option) any later version.                                  *
00015 // *                                                                        *
00016 // **************************************************************************
00017 
00018 #ifndef _GDBOUTPUTWIDGET_H_
00019 #define _GDBOUTPUTWIDGET_H_
00020 
00021 #include <qwidget.h>
00022 
00023 class KHistoryCombo;
00024 
00025 class QTextEdit;
00026 class QToolButton;
00027 
00028 namespace GDBDebugger
00029 {
00030 
00031 class GDBOutputWidget : public QWidget
00032 {
00033     Q_OBJECT
00034 
00035 public:
00036     GDBOutputWidget( QWidget *parent=0, const char *name=0 );
00037     ~GDBOutputWidget();
00038 
00039     void clear();
00040 
00041 public slots:
00042     void slotReceivedStdout(const char* line);
00043     void slotReceivedStderr(const char* line);
00044     void slotDbgStatus     (const QString &status, int statusFlag);
00045 
00046     void slotGDBCmd();
00047 
00048 protected:
00049     virtual void focusInEvent(QFocusEvent *e);
00050 
00051 signals:
00052     void userGDBCmd(const QString &cmd);
00053     void breakInto();
00054 
00055 private:
00056     KHistoryCombo*  m_userGDBCmdEditor;
00057     QToolButton*    m_Interrupt;
00058     QTextEdit*      m_gdbView;
00059 };
00060 
00061 }
00062 
00063 #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:29 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003