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>
22 class MemoryWindow
: public QWidget
26 MemoryWindow(QWidget
* parent
, const char* name
);
29 void setDebugger(KDebugger
* deb
) { m_debugger
= deb
; }
32 KDebugger
* m_debugger
;
33 QComboBox m_expression
;
36 QMap
<QString
,QString
> m_old_memory
;
41 QDict
<unsigned> m_formatCache
;
45 virtual bool eventFilter(QObject
* o
, QEvent
* ev
);
46 void handlePopup(QMouseEvent
* ev
);
47 void displayNewExpression(const QString
& expr
);
50 void slotNewExpression(const QString
&);
51 void slotTypeChange(int id
);
52 void slotNewMemoryDump(const QString
&, QList
<MemoryDump
>&);
53 void saveProgramSpecific(KConfigBase
* config
);
54 void restoreProgramSpecific(KConfigBase
* config
);