1
/***************************************************************************
3
copyright : (C) 1999 by John Birch
4
email : jbb@kdevelop.org
5
***************************************************************************/
7
/***************************************************************************
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
14
***************************************************************************/
16
#ifndef _DISASSEMBLEWIDGET_H_
17
#define _DISASSEMBLEWIDGET_H_
19
#include <qtextedit.h>
21
/***************************************************************************/
22
/***************************************************************************/
23
/***************************************************************************/
30
class DisassembleWidget : public QTextEdit
35
DisassembleWidget( QWidget *parent=0, const char *name=0 );
36
virtual ~DisassembleWidget();
39
void slotDisassemble(char *buf);
40
void slotActivate(bool activate);
41
void slotShowStepInSource(const QString &fileName, int lineNum, const QString &address);
42
void slotBPState(const Breakpoint& BP);
45
void disassemble(const QString &start, const QString &end);
48
virtual void showEvent(QShowEvent*);
49
virtual void hideEvent(QHideEvent*);
51
bool displayCurrent();
52
void getNextDisplay();
57
unsigned long address_;
58
QString currentAddress_;
63
/***************************************************************************/
64
/***************************************************************************/
65
/***************************************************************************/