~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to languages/ruby/debugger/rdboutputwidget.h

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2010-05-05 07:21:55 UTC
  • mfrom: (1.2.3 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100505072155-h78lx19pu04sbhtn
Tags: 4:4.0.0-2
* Upload to unstable (Closes: #579947, #481832).
* Acknowledge obsolete NMU fixes (Closes: #562410, #546961).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// *************************************************************************
2
 
//                          gdboutputwidget.cpp  -  description
3
 
//                             -------------------
4
 
//    begin                : 10th April 2003
5
 
//    copyright            : (C) 2003 by John Birch
6
 
//    email                : jbb@kdevelop.org
7
 
//      
8
 
//                          Adapted for ruby debugging
9
 
//                          --------------------------
10
 
//    begin                : Mon Nov 1 2004
11
 
//    copyright            : (C) 2004 by Richard Dale
12
 
//    email                : Richard_Dale@tipitina.demon.co.uk
13
 
// **************************************************************************
14
 
//
15
 
// **************************************************************************
16
 
// *                                                                        *
17
 
// *   This program is free software; you can redistribute it and/or modify *
18
 
// *   it under the terms of the GNU General Public License as published by *
19
 
// *   the Free Software Foundation; either version 2 of the License, or    *
20
 
// *   (at your option) any later version.                                  *
21
 
// *                                                                        *
22
 
// **************************************************************************
23
 
 
24
 
#ifndef _RDBOUTPUTWIDGET_H_
25
 
#define _RDBOUTPUTWIDGET_H_
26
 
 
27
 
#include <qwidget.h>
28
 
 
29
 
class KHistoryCombo;
30
 
 
31
 
class QTextEdit;
32
 
class QToolButton;
33
 
 
34
 
namespace RDBDebugger
35
 
{
36
 
 
37
 
class RDBOutputWidget : public QWidget
38
 
{
39
 
    Q_OBJECT
40
 
 
41
 
public:
42
 
    RDBOutputWidget( QWidget *parent=0, const char *name=0 );
43
 
    ~RDBOutputWidget();
44
 
 
45
 
    void clear();
46
 
 
47
 
public slots:
48
 
    void slotReceivedStdout(const char* line);
49
 
    void slotReceivedStderr(const char* line);
50
 
    void slotDbgStatus     (const QString &status, int statusFlag);
51
 
 
52
 
    void slotRDBCmd();
53
 
 
54
 
protected:
55
 
    virtual void focusInEvent(QFocusEvent *e);
56
 
 
57
 
signals:
58
 
    void userRDBCmd(const QString &cmd);
59
 
    void breakInto();
60
 
 
61
 
private:
62
 
    KHistoryCombo*  m_userRDBCmdEditor;
63
 
    QToolButton*    m_Interrupt;
64
 
    QTextEdit*      m_rdbView;
65
 
};
66
 
 
67
 
}
68
 
 
69
 
#endif