disassemblewidget.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef _DISASSEMBLEWIDGET_H_
00017 #define _DISASSEMBLEWIDGET_H_
00018
00019 #include <qtextedit.h>
00020
00021
00022
00023
00024
00025 namespace GDBDebugger
00026 {
00027
00028 class Breakpoint;
00029
00030 class DisassembleWidget : public QTextEdit
00031 {
00032 Q_OBJECT
00033
00034 public:
00035 DisassembleWidget( QWidget *parent=0, const char *name=0 );
00036 virtual ~DisassembleWidget();
00037
00038 public slots:
00039 void slotDisassemble(char *buf);
00040 void slotActivate(bool activate);
00041 void slotShowStepInSource(const QString &fileName, int lineNum, const QString &address);
00042 void slotBPState(const Breakpoint& BP);
00043
00044 signals:
00045 void disassemble(const QString &start, const QString &end);
00046
00047 private:
00048 virtual void showEvent(QShowEvent*);
00049 virtual void hideEvent(QHideEvent*);
00050
00051 bool displayCurrent();
00052 void getNextDisplay();
00053
00054 bool active_;
00055 long lower_;
00056 long upper_;
00057 long address_;
00058 QString currentAddress_;
00059 };
00060
00061 }
00062
00063
00064
00065
00066
00067 #endif
This file is part of the documentation for KDevelop Version 3.1.2.