-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbug-agent.h
48 lines (36 loc) · 969 Bytes
/
bug-agent.h
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
#ifndef BUGAGENT_H
#define BUGAGENT_H
#include <QHash>
#include <QObject>
#include "vymprocess.h"
class BranchItem;
class VymModel;
class BugAgent:public QObject
{
Q_OBJECT
enum MissionType {SingleBug, Query};
public:
BugAgent (BranchItem *bi,const QString &bug);
~BugAgent();
public slots:
virtual void processFinished(int exitCode, QProcess::ExitStatus exitStatus);
protected:
virtual void processBugzillaData ();
virtual void setModelBugzillaData (VymModel *model, BranchItem *bi, const QString &bugID);
private:
MissionType missionType;
uint branchID;
uint modelID;
QString url;
QString bugID;
QString bugScript;
QStringList result;
VymProcess *p;
QHash <QString,QString> bug_desc;
QHash <QString,QString> bug_prio;
QHash <QString,QString> bug_sev;
QHash <QString,QString> bug_deltats;
QHash <QString,QString> bug_status;
QHash <QString,QString> bug_whiteboard;
};
#endif