3 // Copyright by Johannes Sixt
4 // This file is under GPL, the GNU General Public Licence
9 #include <qpopupmenu.h>
10 #include <qlistview.h>
11 #include <qcombobox.h>
21 class MemoryWindow
: public QWidget
25 MemoryWindow(QWidget
* parent
, const char* name
);
28 void setDebugger(KDebugger
* deb
) { m_debugger
= deb
; }
31 KDebugger
* m_debugger
;
32 QComboBox m_expression
;
35 QMap
<QString
,QString
> m_old_memory
;
40 QDict
<unsigned> m_formatCache
;
44 virtual bool eventFilter(QObject
* o
, QEvent
* ev
);
45 void handlePopup(QMouseEvent
* ev
);
46 void displayNewExpression(const QString
& expr
);
49 void slotNewExpression(const QString
&);
50 void slotTypeChange(int id
);
51 void slotNewMemoryDump(const QString
&, QList
<MemoryDump
>&);
52 void saveProgramSpecific(KConfigBase
* config
);
53 void restoreProgramSpecific(KConfigBase
* config
);