KDevelop API Documentation

languages/cpp/debugger/disassemblewidget.h

Go to the documentation of this file.
00001 /*************************************************************************** 00002 begin : Sun Aug 8 1999 00003 copyright : (C) 1999 by John Birch 00004 email : jbb@kdevelop.org 00005 ***************************************************************************/ 00006 00007 /*************************************************************************** 00008 * * 00009 * This program is free software; you can redistribute it and/or modify * 00010 * it under the terms of the GNU General Public License as published by * 00011 * the Free Software Foundation; either version 2 of the License, or * 00012 * (at your option) any later version. * 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
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:01:42 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003