#include <KMtraceLeaksView.hh>
Collaboration diagram for KMtraceLeaksView:
Public Slots | |
void | slotExpandAll () |
void | slotCollapseAll () |
void | slotFind () |
Signals | |
void | moduleChanged (QString module, int line) |
void | moduleUnselect () |
Public Methods | |
KMtraceLeaksView (QWidget *parent, KMtraceModel *model) | |
void | setModel (KMtraceModel *model) |
void | setShowSuppressed (bool show) |
Private Slots | |
void | slotContextLeak (QListViewItem *item, const QPoint &point, int column) |
void | slotSelectionChanged (QListViewItem *item) |
void | slotExecuted (QListViewItem *item) |
void | slotSearch () |
void | slotSearchDone () |
void | slotSuppress (KMtraceLeak *leak, QString string) |
void | slotSuppressionChanged (KMtraceLeak *leak) |
Private Methods | |
void | doExpandAll () |
void | doCollapseAll () |
void | doSelectItem (QListViewItem *item) |
void | doSearch (int where, QString what, bool caseSensitive) |
Private Attributes | |
KMtraceModel * | m_model |
KPopupMenu * | m_menu |
int | m_menuItemIdSuppress |
KMtraceLeaksFindDialog * | m_findDialog |
KMtraceSuppressDialog * | m_suppressDialog |
QListViewItemIterator * | m_findIterator |
QListViewItem * | m_findItem |
int | m_posY |
bool | m_showSuppressed |
The widget is an extension of a KListView class. Its list view items are of type KMtraceLeaksViewItem , which is the view of a KMtraceLeak model or a KMtraceCall .
|
Create a new list view for all leaks of the model.
|
|
|
|
|
|
|
|
|
|
The module with name 'module' should be displayed at line 'line'. At the moment we inform a source code viewer in class KMtraceViewerMainWindow , could also be the kdevelop main window if integrating the leak detection more into kdevelop as tool plugin.
|
|
No module should be shown (as no function in the any call stack is currently selected). At the moment we inform a source code viewer in class KMtraceViewerMainWindow , could also be the kdevelop main window if integrating the leak detection more into kdevelop as tool plugin. |
|
Sets (and replaces) the model of memory leaks to be shown. This function creates the list items of the widget (leak information and call stacks) based on the information from the model.
|
|
Boolean flag which specifies if suppressed leaks should be shown (and marked and suppressed leaks) or if they should be hidden from the list view.
|
|
Collapse all call stacks of all memory leaks. |
|
|
|
|
|
Expand all call stacks of all memory leaks. |
|
Open a non-modal memory leak find dialog. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|