#include <KMtraceViewerMainWindow.hh>
Collaboration diagram for KMtraceViewerMainWindow:
Public Slots | |
void | slotModuleChanged (QString module, int line) |
void | slotModuleUnselect () |
Public Methods | |
KMtraceViewerMainWindow (const char *ktreefile=0) | |
~KMtraceViewerMainWindow () | |
void | setModel (KMtraceModel *model) |
void | setModelFromFilename (const char *filename) |
Protected Slots | |
void | slotEditToolbars () |
void | slotUpdateToolbars () |
void | slotShowSuppressed () |
void | slotSuppressListDialog () |
void | slotSuppressListDialogDone () |
void | slotOpenFile () |
void | slotOpenRecentFile (const KURL &url) |
virtual bool | queryExit () |
virtual void | restoreSettings (KConfig *config) |
virtual void | saveSettings (KConfig *config) |
Private Attributes | |
KMtraceModel * | m_model |
KMtraceStatisticsView * | m_statsView |
KMtraceLeaksView * | m_leaksView |
KMtraceSourceCodeView * | m_sourceCodeView |
KStatusBar * | m_statusBar |
KToggleAction * | m_showSuppressListDialog |
KToggleAction * | m_showSuppressedAction |
KMtraceSuppressListDialog * | m_suppressListDialog |
QSplitter * | m_splitter |
The main windows of the application is divided into three parts:
|
Creates a kmtrace viewer main window.
|
|
|
|
|
|
|
|
|
|
Sets (and replaces) the model of memory leaks to be shown. This function informs all children about then changed model.
|
|
Sets (and replaces) the model of memory leaks to be shown based on a ktreefile to read.
|
|
|
|
Tells the main window to show a new status line. Normally connected to the signal KMtraceLeaksView ::moduleChanged which gets called when the user changes the focus in the list of modules. See also slot slotModuleUnselect .
|
|
Tells the main window to show a new statis line saying there is no source code (because none is available either in a library call or when having the list view focus not within the function call stack). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|