BuildLogViewer/BuildStatus.h
changeset 3 e6d1a78b6db9
parent 2 6894bf2709c0
equal deleted inserted replaced
2:6894bf2709c0 3:e6d1a78b6db9
     4 #include <QObject>
     4 #include <QObject>
     5 #include <QDateTime>
     5 #include <QDateTime>
     6 
     6 
     7 class BuildStatus : public QObject
     7 class BuildStatus : public QObject
     8 {
     8 {
       
     9     Q_OBJECT
       
    10 
     9 public:
    11 public:
    10     BuildStatus(QObject *parent = 0);
    12     BuildStatus(QObject *parent = 0);
    11 
    13 
       
    14 public slots:
    12     void setName(QString n);
    15     void setName(QString n);
       
    16     void setStatus (bool n );
       
    17     void setTime(QDateTime w);
       
    18 
       
    19 signals:
       
    20     void textEmitted(const QString &);
       
    21 
       
    22 public:
    13     const QString *name();
    23     const QString *name();
    14 
    24     const QString *status();
    15     void setTime(QDateTime w);
       
    16     QString time();
    25     QString time();
    17 
       
    18     void setStatus (bool n );
       
    19     const QString *status();
       
    20 
    26 
    21 private:
    27 private:
    22     // What was the name of the package?
    28     // What was the name of the package?
    23     QString *m_packageName;
    29     QString *m_packageName;
    24     // At this time, the symbain build log doesn't have a timestamp in it.
    30     // At this time, the symbain build log doesn't have a timestamp in it.