Main Page   Compound List   File List   Compound Members   File Members  

KMtraceLeaksFindDialog Class Reference

The dialog letting the user search for specific memory leaks. More...

#include <KMtraceLeaksFindDialog.hh>

Collaboration diagram for KMtraceLeaksFindDialog:

Collaboration graph
[legend]
List of all members.

Signals

void search ()
void done ()

Public Methods

 KMtraceLeaksFindDialog (QWidget *parent=0, const char *name=0, bool modal=true)
 ~KMtraceLeaksFindDialog ()
int getType () const
void setType (int index)
QString getText () const
void setText (QString string)
void setCaseSensitive (bool b)
bool case_sensitive () const
KHistoryCombo * searchCombo () const

Protected Slots

void slotCancel (void)
void slotUser1 (void)
void textSearchChanged (const QString &)

Protected Methods

virtual void virtual_hook (int id, void *data)

Protected Attributes

QVButtonGroup * group

Private Methods

virtual void done (int i)

Private Attributes

QCheckBox * sensitive
KMtraceLeaksFindPrivated

Detailed Description

The dialog letting the user search for specific memory leaks.

A dialog letting the user search for memory leaks matching either the function, source file or library name. The memory leaks found are then expanded in the KMtraceLeaksView and the hit is marked in the function call stack.

This dialog is normally shown in non-modal mode, so the user can have view on all the data of the memory leak.

This code has been copied from kdectl2.cpp (class KEdFind in the kdelib package) and has been extended to search memory leaks instead of plain text.

Author:
Andreas Baumann <andreas_baumann@users.sourceforge.net>
See also:
KMtraceLeaksViewItem, KMtraceLeak
Version:


Constructor & Destructor Documentation

KMtraceLeaksFindDialog::KMtraceLeaksFindDialog QWidget *    parent = 0,
const char *    name = 0,
bool    modal = true
 

KMtraceLeaksFindDialog::~KMtraceLeaksFindDialog  
 


Member Function Documentation

bool KMtraceLeaksFindDialog::case_sensitive   const
 

void KMtraceLeaksFindDialog::done   [signal]
 

virtual void KMtraceLeaksFindDialog::done int    i [inline, private, virtual]
 

QString KMtraceLeaksFindDialog::getText   const
 

int KMtraceLeaksFindDialog::getType   const
 

void KMtraceLeaksFindDialog::search   [signal]
 

KHistoryCombo * KMtraceLeaksFindDialog::searchCombo   const
 

Returns:
the combobox containing the history of searches. Can be used to save and restore the history.

void KMtraceLeaksFindDialog::setCaseSensitive bool    b
 

void KMtraceLeaksFindDialog::setText QString    string
 

void KMtraceLeaksFindDialog::setType int    index
 

void KMtraceLeaksFindDialog::slotCancel void    [protected, slot]
 

void KMtraceLeaksFindDialog::slotUser1 void    [protected, slot]
 

void KMtraceLeaksFindDialog::textSearchChanged const QString &    [protected, slot]
 

void KMtraceLeaksFindDialog::virtual_hook int    id,
void *    data
[protected, virtual]
 


Member Data Documentation

KMtraceLeaksFindPrivate* KMtraceLeaksFindDialog::d [private]
 

QVButtonGroup* KMtraceLeaksFindDialog::group [protected]
 

QCheckBox* KMtraceLeaksFindDialog::sensitive [private]
 


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