Main Page   Compound List   File List   Compound Members   File Members  

KMtraceSuppressDialog.hh

Go to the documentation of this file.
00001 #ifndef __KMTRACE_SUPPRESS_DIALOG__HH__
00002 #define __KMTRACE_SUPPRESS_DIALOG__HH__
00003 
00004 // KDE includes
00005 #include <kdialogbase.h>
00006 #include <kcombobox.h>
00007 
00008 // kmtraceviewer includes
00009 #include "KMtraceLeak.hh"
00010 
00011 class KMtraceSuppressDialog : public KDialogBase
00012 {
00013    Q_OBJECT
00014    
00015    public:
00016       KMtraceSuppressDialog( KMtraceLeak *leak,
00017                              QWidget *parent = 0,
00018                              const char *name = 0,
00019                              bool modal = true );
00020       void setLeak( KMtraceLeak *leak );
00021       QString getText( ) const;
00022       void setText( QString string );
00023 
00024    protected:
00025       KMtraceLeak *leak;
00026       KHistoryCombo *textCombo;
00027    
00028    protected slots:
00029       void slotUser1( void );
00030       void slotCancel( void );
00031       void textSuppressChanged ( const QString & );
00032 
00033    signals:
00034       void suppress( KMtraceLeak *leak, QString string );
00035       void done( );
00036       
00037    private:
00038       virtual void done( int i ) { KDialogBase::done( i ); }
00039 };
00040 
00041 #endif

Generated on Fri Jan 3 11:42:18 2003 for kmtraceviewer by doxygen1.3-rc1