2 * Copyright Johannes Sixt
3 * This file is licensed under the GNU General Public License Version 2.
4 * See the file COPYING in the toplevel directory of the source directory.
10 #include <qpopupmenu.h>
11 #include <qlistview.h>
12 #include <qcombobox.h>
15 #include "dbgdriver.h"
20 class MemoryWindow
: public QWidget
24 MemoryWindow(QWidget
* parent
, const char* name
);
27 void setDebugger(KDebugger
* deb
) { m_debugger
= deb
; }
30 KDebugger
* m_debugger
;
31 QComboBox m_expression
;
34 QMap
<QString
,QString
> m_old_memory
;
39 QMap
<QString
,unsigned> m_formatCache
;
43 virtual bool eventFilter(QObject
* o
, QEvent
* ev
);
44 void handlePopup(QMouseEvent
* ev
);
45 void displayNewExpression(const QString
& expr
);
48 void slotNewExpression(const QString
&);
49 void slotTypeChange(int id
);
50 void slotNewMemoryDump(const QString
&, const std::list
<MemoryDump
>&);
51 void saveProgramSpecific(KConfigBase
* config
);
52 void restoreProgramSpecific(KConfigBase
* config
);