Changeset View
Changeset View
Standalone View
Standalone View
src/bin/projectclip.h
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Line(s) | 57 | public: | |||
---|---|---|---|---|---|
59 | * @brief Constructor; used when loading a project and the producer is already available. | 59 | * @brief Constructor; used when loading a project and the producer is already available. | ||
60 | */ | 60 | */ | ||
61 | ProjectClip(const QString &id, const QIcon &thumb, ClipController *controller, ProjectFolder *parent); | 61 | ProjectClip(const QString &id, const QIcon &thumb, ClipController *controller, ProjectFolder *parent); | ||
62 | /** | 62 | /** | ||
63 | * @brief Constructor. | 63 | * @brief Constructor. | ||
64 | * @param description element describing the clip; the "id" attribute and "resource" property are used | 64 | * @param description element describing the clip; the "id" attribute and "resource" property are used | ||
65 | */ | 65 | */ | ||
66 | ProjectClip(const QDomElement &description, const QIcon &thumb, ProjectFolder *parent); | 66 | ProjectClip(const QDomElement &description, const QIcon &thumb, ProjectFolder *parent); | ||
67 | virtual ~ProjectClip(); | 67 | ~ProjectClip() override; | ||
68 | 68 | | |||
69 | void reloadProducer(bool refreshOnly = false); | 69 | void reloadProducer(bool refreshOnly = false); | ||
70 | 70 | | |||
71 | /** @brief Returns a unique hash identifier used to store clip thumbnails. */ | 71 | /** @brief Returns a unique hash identifier used to store clip thumbnails. */ | ||
72 | //virtual void hash() = 0; | 72 | //virtual void hash() = 0; | ||
73 | 73 | | |||
74 | /** @brief Returns this if @param id matches the clip's id or nullptr otherwise. */ | 74 | /** @brief Returns this if @param id matches the clip's id or nullptr otherwise. */ | ||
75 | ProjectClip *clip(const QString &id) Q_DECL_OVERRIDE; | 75 | ProjectClip *clip(const QString &id) Q_DECL_OVERRIDE; | ||
▲ Show 20 Lines • Show All 196 Lines • Show Last 20 Lines |