Changeset View
Changeset View
Standalone View
Standalone View
src/bugzillaintegration/reportinterface.h
Show All 18 Lines | |||||
19 | ******************************************************************/ | 19 | ******************************************************************/ | ||
20 | 20 | | |||
21 | #ifndef REPORTINTERFACE__H | 21 | #ifndef REPORTINTERFACE__H | ||
22 | #define REPORTINTERFACE__H | 22 | #define REPORTINTERFACE__H | ||
23 | 23 | | |||
24 | #include <QObject> | 24 | #include <QObject> | ||
25 | #include <QStringList> | 25 | #include <QStringList> | ||
26 | 26 | | |||
27 | class BugReport; | 27 | namespace Bugzilla { | ||
28 | struct NewBug; | ||||
29 | } | ||||
28 | 30 | | |||
29 | class BugzillaManager; | 31 | class BugzillaManager; | ||
30 | class ProductMapping; | 32 | class ProductMapping; | ||
31 | class ApplicationDetailsExamples; | 33 | class ApplicationDetailsExamples; | ||
32 | 34 | | |||
33 | class ReportInterface : public QObject | 35 | class ReportInterface : public QObject | ||
34 | { | 36 | { | ||
35 | Q_OBJECT | 37 | Q_OBJECT | ||
Show All 17 Lines | 38 | public: | |||
53 | QString title() const; | 55 | QString title() const; | ||
54 | void setTitle(const QString & text); | 56 | void setTitle(const QString & text); | ||
55 | 57 | | |||
56 | void setDetailText(const QString & text); | 58 | void setDetailText(const QString & text); | ||
57 | void setPossibleDuplicates(const QStringList & duplicatesList); | 59 | void setPossibleDuplicates(const QStringList & duplicatesList); | ||
58 | 60 | | |||
59 | QString generateReportFullText(bool drKonqiStamp) const; | 61 | QString generateReportFullText(bool drKonqiStamp) const; | ||
60 | 62 | | |||
61 | BugReport newBugReportTemplate() const; | 63 | Bugzilla::NewBug newBugReportTemplate() const; | ||
62 | void sendBugReport() const; | 64 | void sendBugReport() const; | ||
63 | 65 | | |||
64 | QStringList relatedBugzillaProducts() const; | 66 | QStringList relatedBugzillaProducts() const; | ||
65 | 67 | | |||
66 | bool isWorthReporting() const; | 68 | bool isWorthReporting() const; | ||
67 | 69 | | |||
68 | //Zero means creating a new bug report | 70 | //Zero means creating a new bug report | ||
69 | void setAttachToBugNumber(uint); | 71 | void setAttachToBugNumber(uint); | ||
▲ Show 20 Lines • Show All 61 Lines • Show Last 20 Lines |