Changeset View
Changeset View
Standalone View
Standalone View
project/projectutils.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | 40 | public: | |||
---|---|---|---|---|---|
42 | 42 | | |||
43 | QList<QUrl> urls() const override; | 43 | QList<QUrl> urls() const override; | ||
44 | 44 | | |||
45 | private: | 45 | private: | ||
46 | Q_DISABLE_COPY(ProjectItemContextImpl) | 46 | Q_DISABLE_COPY(ProjectItemContextImpl) | ||
47 | }; | 47 | }; | ||
48 | 48 | | |||
49 | /** | 49 | /** | ||
50 | * Adds menu entries for all parent folders of the given item, each containing all the project | | |||
51 | * items for the folder, at the end of the given menu. | | |||
52 | * */ | | |||
53 | KDEVPLATFORMPROJECT_EXPORT void populateParentItemsMenu( ProjectBaseItem* item, QMenu* menu ); | | |||
54 | | ||||
55 | /** | | |||
56 | * Returns all the files that have @p projectItem as ancestor | 50 | * Returns all the files that have @p projectItem as ancestor | ||
57 | */ | 51 | */ | ||
58 | KDEVPLATFORMPROJECT_EXPORT QList<ProjectFileItem*> allFiles(ProjectBaseItem* projectItem); | 52 | KDEVPLATFORMPROJECT_EXPORT QList<ProjectFileItem*> allFiles(ProjectBaseItem* projectItem); | ||
59 | 53 | | |||
60 | } | 54 | } | ||
61 | 55 | | |||
62 | #endif // KDEVPLATFORM_PROJECTUTILS_H | 56 | #endif // KDEVPLATFORM_PROJECTUTILS_H |