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