1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
#ifndef CLASSSTATDETAILS_H
#define CLASSSTATDETAILS_H
#ifdef QT_V4LAYOUT
#define QT3_SUPPORT
#include <Qt/qwidget.h>
#include <Qt/qframe.h>
#include <Qt/qlabel.h>
#include <Qt/qcheckbox.h>
#include <Qt/q3grid.h>
#include <Qt/q3vbox.h>
#include <Qt/qlayout.h>
#include <Qt/qpushbutton.h>
#include <Qt/qtimer.h>
#include <Qt/qstring.h>
#include <Qt/q3table.h>
#else
#include <qwidget.h>
#include <qframe.h>
#include <qlabel.h>
#include <qcheckbox.h>
#include <qgrid.h>
#include <qvbox.h>
#include <qlayout.h>
#include <qpushbutton.h>
#include <qtimer.h>
#include <qstring.h>
#include <qtable.h>
#endif
#include <uodbc_stats.h>
#define MAXPROCESSES 10
#define MAXHANDLES 4
class CStatDetails : public QWidget
{
Q_OBJECT
public:
CStatDetails( QWidget* parent = NULL, const char* name = NULL );
virtual ~CStatDetails();
QTimer *pTimer;
protected:
void clearRow( int nRow );
protected slots:
void showStats();
private:
#ifdef QT_V4LAYOUT
Q3Table * pTable;
#else
QTable * pTable;
#endif
void * hStats;
uodbc_stats_retentry aPIDs[MAXPROCESSES];
uodbc_stats_retentry aHandles[MAXHANDLES];
};
#endif
|