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.
14 #include <QTreeWidget>
15 #include "dbgdriver.h"
20 class MemoryWindow
: public QWidget
24 MemoryWindow(QWidget
* parent
);
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 void contextMenuEvent(QContextMenuEvent
* ev
);
44 void displayNewExpression(const QString
& expr
);
47 void slotNewExpression(const QString
&);
48 void slotNewExpression();
49 void slotTypeChange(QAction
*);
50 void slotNewMemoryDump(const QString
&, const std::list
<MemoryDump
>&);
51 void saveProgramSpecific(KConfigBase
* config
);
52 void restoreProgramSpecific(KConfigBase
* config
);