#include <nepomuk2/resource.h>
#endif
-
#include "definitions.h"
#include "timecode.h"
#include "kdenlivesettings.h"
class AbstractClipJob;
class ItemDelegate;
-const int NameRole = Qt::UserRole;
-const int DurationRole = NameRole + 1;
-const int UsageRole = NameRole + 2;
-
class SmallInfoLabel: public QPushButton
{
Q_OBJECT
SmallInfoLabel(QWidget *parent = 0);
static const QString getStyleSheet(const QPalette &p);
private:
+ enum ItemRole {
+ NameRole = Qt::UserRole,
+ DurationRole,
+ UsageRole
+ };
+
QTimeLine* m_timeLine;
public slots:
* @param status The job status (see definitions.h)
* @param progress The job progress (in percents)
* @param statusMessage The job info message */
- void setJobStatus(ProjectItem *item, JOBTYPE jobType, CLIPJOBSTATUS status, int progress = 0, const QString &statusMessage = QString());
+ void setJobStatus(ProjectItem *item, JOBTYPE jobType, ClipJobStatus status, int progress = 0, const QString &statusMessage = QString());
void monitorItemEditing(bool enable);
/** @brief Get cached thumbnail for a project's clip or create it if no cache. */
void getCachedThumbnail(ProjectItem *item);