Changeset View
Changeset View
Standalone View
Standalone View
src/bin/abstractprojectitem.cpp
Show All 26 Lines | |||||
27 | #include "macros.hpp" | 27 | #include "macros.hpp" | ||
28 | #include "projectitemmodel.h" | 28 | #include "projectitemmodel.h" | ||
29 | 29 | | |||
30 | #include "jobs/audiothumbjob.hpp" | 30 | #include "jobs/audiothumbjob.hpp" | ||
31 | #include "jobs/loadjob.hpp" | 31 | #include "jobs/loadjob.hpp" | ||
32 | #include "jobs/thumbjob.hpp" | 32 | #include "jobs/thumbjob.hpp" | ||
33 | 33 | | |||
34 | #include <QPainter> | 34 | #include <QPainter> | ||
35 | #include <QPainterPath> | ||||
35 | #include <QVariant> | 36 | #include <QVariant> | ||
36 | #include <utility> | 37 | #include <utility> | ||
37 | AbstractProjectItem::AbstractProjectItem(PROJECTITEMTYPE type, QString id, const std::shared_ptr<ProjectItemModel> &model, bool isRoot) | 38 | AbstractProjectItem::AbstractProjectItem(PROJECTITEMTYPE type, QString id, const std::shared_ptr<ProjectItemModel> &model, bool isRoot) | ||
38 | : TreeItem(QList<QVariant>(), std::static_pointer_cast<AbstractTreeModel>(model), isRoot) | 39 | : TreeItem(QList<QVariant>(), std::static_pointer_cast<AbstractTreeModel>(model), isRoot) | ||
39 | , m_name() | 40 | , m_name() | ||
40 | , m_description() | 41 | , m_description() | ||
41 | , m_thumbnail(QIcon()) | 42 | , m_thumbnail(QIcon()) | ||
42 | , m_date() | 43 | , m_date() | ||
▲ Show 20 Lines • Show All 291 Lines • Show Last 20 Lines |