Changeset View
Changeset View
Standalone View
Standalone View
docs/phpdocsmodel.h
Show All 33 Lines | 31 | { | |||
---|---|---|---|---|---|
34 | class ReferencedTopDUContext; | 34 | class ReferencedTopDUContext; | ||
35 | } | 35 | } | ||
36 | 36 | | |||
37 | class PhpDocsModel : public QAbstractListModel | 37 | class PhpDocsModel : public QAbstractListModel | ||
38 | { | 38 | { | ||
39 | Q_OBJECT | 39 | Q_OBJECT | ||
40 | 40 | | |||
41 | public: | 41 | public: | ||
42 | explicit PhpDocsModel(QObject* parent = 0); | 42 | explicit PhpDocsModel(QObject* parent = nullptr); | ||
43 | ~PhpDocsModel(); | 43 | ~PhpDocsModel() override; | ||
44 | 44 | | |||
45 | enum CustomDataRoles { | 45 | enum CustomDataRoles { | ||
46 | /// returns the Declaration that a given index in the model represents | 46 | /// returns the Declaration that a given index in the model represents | ||
47 | DeclarationRole = Qt::UserRole | 47 | DeclarationRole = Qt::UserRole | ||
48 | }; | 48 | }; | ||
49 | 49 | | |||
50 | /** | 50 | /** | ||
51 | * You can use @p DeclarationRole to get the Declaration for a given index. | 51 | * You can use @p DeclarationRole to get the Declaration for a given index. | ||
Show All 30 Lines |