Main Page   Compound List   File List   Compound Members   File Members  

KMtraceStatisticsView.hh

Go to the documentation of this file.
00001 #ifndef __KMTRACE_STATISTICSVIEW__H__
00002 #define __KMTRACE_STATISTICSVIEW__H__
00003 
00004 // Qt includes
00005 #include <qwidget.h>
00006 #include <qlabel.h>
00007 
00008 // KMtraceViewer includes
00009 #include "KMtraceModel.hh"
00010 
00011 class KMtraceStatisticsView : public QLabel
00012 {
00013    Q_OBJECT
00014    
00015    public:
00016       // create a label with reference
00017       KMtraceStatisticsView( QWidget *parent, KMtraceModel *model );
00018       
00019       // set a new model (e.g. if a new ktreefile is loaded)
00020       void setModel( KMtraceModel *model );
00021 
00022    public slots:
00023       void slotModelChanged( );
00024       
00025    private:
00026       void updateView( );
00027 
00028    private:
00029       KMtraceModel *m_model;
00030 };
00031 
00032 #endif

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