Changeset View
Changeset View
Standalone View
Standalone View
plugins/grepview/grepoutputmodel.h
Show All 28 Lines | |||||
29 | 29 | | |||
30 | class GrepOutputItem : public QStandardItem | 30 | class GrepOutputItem : public QStandardItem | ||
31 | { | 31 | { | ||
32 | public: | 32 | public: | ||
33 | using List = QList<GrepOutputItem>; | 33 | using List = QList<GrepOutputItem>; | ||
34 | 34 | | |||
35 | GrepOutputItem(const KDevelop::DocumentChangePointer& change, const QString& text, bool checkable); | 35 | GrepOutputItem(const KDevelop::DocumentChangePointer& change, const QString& text, bool checkable); | ||
36 | GrepOutputItem(const QString &filename, const QString &text, bool checkable); | 36 | GrepOutputItem(const QString &filename, const QString &text, bool checkable); | ||
37 | GrepOutputItem(const QString &filename, const QString &text, int line, bool checkable); | ||||
37 | ~GrepOutputItem() override; | 38 | ~GrepOutputItem() override; | ||
38 | 39 | | |||
39 | QString filename() const ; | 40 | QString filename() const ; | ||
40 | int lineNumber() const ; | 41 | int lineNumber() const ; | ||
41 | KDevelop::DocumentChangePointer change() const ; | 42 | KDevelop::DocumentChangePointer change() const ; | ||
42 | bool isText() const ; | 43 | bool isText() const ; | ||
43 | /// Recursively apply check state to children | 44 | /// Recursively apply check state to children | ||
44 | void propagateState() ; | 45 | void propagateState() ; | ||
▲ Show 20 Lines • Show All 68 Lines • Show Last 20 Lines |