languages/cpp/debugger/memviewdlg.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 begin : Tue Oct 5 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 _MEMVIEW_H_ 00017 #define _MEMVIEW_H_ 00018 00019 #include <kdialog.h> 00020 00021 class KLineEdit; 00022 class QMultiLineEdit; 00023 00024 namespace GDBDebugger 00025 { 00026 00027 class MemoryViewDialog : public KDialog 00028 { 00029 Q_OBJECT 00030 00031 public: 00032 MemoryViewDialog( QWidget *parent=0, const char *name=0 ); 00033 ~MemoryViewDialog(); 00034 00035 signals: 00036 void disassemble(const QString &start, const QString &end); 00037 void memoryDump(const QString &start, const QString &end); 00038 void registers(); 00039 void libraries(); 00040 00041 public slots: 00042 void slotRawGDBMemoryView(char *buf); 00043 00044 private slots: 00045 void slotDisassemble(); 00046 void slotMemoryDump(); 00047 00048 private: 00049 KLineEdit *start_, *end_; 00050 QMultiLineEdit *output_; 00051 }; 00052 00053 } 00054 00055 #endif