+ /** \brief Set the status of the clip job. */
+ void setJobStatus(JOBTYPE jobType, ClipJobStatus status, int progress = 0, const QString &statusMessage = QString());
+ /** \brief Set the status of a clip job if it is of the specified job type. */
+ void setConditionalJobStatus(ClipJobStatus status, JOBTYPE requestedJobType);
+ /** \brief Returns the proxy status for this clip (true means there is a proxy clip). */
+ bool hasProxy() const;
+ /** \brief Returns true if the proxy for this clip is ready. */
+ bool isProxyReady() const;
+ /** \brief Returns true if there is a job currently running for this clip. */
+ bool isJobRunning() const;
+ /** \brief Returns true if we are currently creating the proxy for this clip. */
+ bool isProxyRunning() const;
+ /** \brief Returns true if the thumbnail for this clip has been loaded. */
+ bool hasPixmap() const;
+ /** \brief Sets the thumbnail for this clip. */
+ void setPixmap(const QPixmap& p);
+
+ virtual bool operator<(const QTreeWidgetItem &other)const {
+ int column = treeWidget()->sortColumn();
+ if (other.type() != ProjectFoldeType)
+ return text(column).toLower() < other.text(column).toLower();
+ else return false;
+ }