Main Page   Compound List   File List   Compound Members   File Members  

KMtraceSourceCodeView Class Reference

The viewer for source code. More...

#include <KMtraceSourceCodeView.hh>

List of all members.

Public Slots

void slotModuleChanged (QString module, int line)
void slotModuleUnselect ()

Public Methods

 KMtraceSourceCodeView (QWidget *parent)


Detailed Description

The viewer for source code.

The viewer for source code. It shows a source code file and highlights at a given line.

Author:
Andreas Baumann <andreas_baumann@users.sourceforge.net>
Version:


Constructor & Destructor Documentation

KMtraceSourceCodeView::KMtraceSourceCodeView QWidget *    parent
 

Create a new source code viewer.

Parameters:
parent the parent widget of the source code viewer


Member Function Documentation

void KMtraceSourceCodeView::slotModuleChanged QString    module,
int    line
[slot]
 

Tells the source code viewer to show a different module and mark the line and set the visible area so that the line in the source code can be seen. 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 .

Parameters:
module the filename of file containig the source code of the leaking code
line set the focus to this line

void KMtraceSourceCodeView::slotModuleUnselect   [slot]
 

Tells the source code viewer to show 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.


The documentation for this class was generated from the following files:
Generated on Fri Jan 3 11:42:32 2003 for kmtraceviewer by doxygen1.3-rc1