Stats Class Reference

classe representant les informations des jobs presents sur le cluster More...

#include <stats.h>

Collaboration diagram for Stats:

Collaboration graph
[legend]

List of all members.

Public Slots

void clearJobListing ()
void refresh ()
void onJobsReceived (QStringList)

Public Member Functions

 Stats (QWidget *parent=0)
void addJobEntry (const QString &jobname, const QString &username, const QString &state, const QString &proc, const QString &remaining, const QString &starttime)

Private Attributes

QAbstractItemModel * model
StatsDelegatedelegate


Detailed Description

classe representant les informations des jobs presents sur le cluster

La classe permet d'afficher diverses informations concernant les jobs qui sont executes sur le cluster

Definition at line 22 of file stats.h.


Constructor & Destructor Documentation

Stats::Stats ( QWidget *  parent = 0  ) 

Definition at line 15 of file stats.cpp.

References delegate, model, and refresh().


Member Function Documentation

void Stats::addJobEntry ( const QString &  jobname,
const QString &  username,
const QString &  state,
const QString &  proc,
const QString &  remaining,
const QString &  starttime 
)

Definition at line 48 of file stats.cpp.

References model.

Referenced by onJobsReceived().

void Stats::clearJobListing (  )  [slot]

Definition at line 63 of file stats.cpp.

References model.

Referenced by onJobsReceived().

void Stats::refresh (  )  [slot]

Definition at line 68 of file stats.cpp.

References Myssh::isConnected(), and onJobsReceived().

Referenced by Stats().

void Stats::onJobsReceived ( QStringList  outerr  )  [slot]

Definition at line 85 of file stats.cpp.

References addJobEntry(), and clearJobListing().

Referenced by refresh().


Member Data Documentation

QAbstractItemModel* Stats::model [private]

Definition at line 27 of file stats.h.

Referenced by addJobEntry(), clearJobListing(), and Stats().

StatsDelegate* Stats::delegate [private]

Definition at line 28 of file stats.h.

Referenced by Stats().


The documentation for this class was generated from the following files:
Generated on Mon Mar 16 18:46:09 2009 for QCJM by  doxygen 1.5.4