src/stats/stats.h

Go to the documentation of this file.
00001 #ifndef STATS_H
00002 #define STATS_H
00003 
00010 #include <QWidget>
00011 #include <QStringList>
00012 #include <QAbstractItemModel>
00013 #include "ui_stats.h"
00014 #include "statsdelegate.h"
00015 #include "../ssh/myssh.hpp"
00016 
00022 class Stats : public QWidget, public Ui::Stats
00023 {
00024 Q_OBJECT
00025 
00026 private:
00027     QAbstractItemModel * model;
00028     StatsDelegate * delegate;
00029 public:
00030     Stats(QWidget *parent = 0); 
00031     void addJobEntry(const QString &jobname, const QString &username, const QString &state,
00032               const QString &proc, const QString &remaining, const QString &starttime);
00033 public slots :
00034     void clearJobListing ();
00035     void refresh();
00036     void onJobsReceived(QStringList);
00037 };
00038 
00039 
00040 
00041 #endif // STATS_H

Generated on Mon Mar 16 18:46:05 2009 for QCJM by  doxygen 1.5.4