1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/bugagent.h Mon Mar 15 15:32:37 2010 +0000
1.3 @@ -0,0 +1,28 @@
1.4 +#ifndef BUGAGENT_H
1.5 +#define BUGAGENT_H
1.6 +
1.7 +#include <QObject>
1.8 +
1.9 +#include "process.h"
1.10 +
1.11 +class BranchItem;
1.12 +
1.13 +class BugAgent:public QObject
1.14 +{
1.15 + Q_OBJECT
1.16 +public:
1.17 + BugAgent (BranchItem *bi,const QString &bug);
1.18 + ~BugAgent();
1.19 +
1.20 +public slots:
1.21 + virtual void processFinished(int exitCode, QProcess::ExitStatus exitStatus);
1.22 +
1.23 +private:
1.24 + uint branchID;
1.25 + uint modelID;
1.26 + QString bugID;
1.27 + QString script;
1.28 + Process *p;
1.29 +};
1.30 +#endif
1.31 +