X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsubprojectitem.h;h=9a5a01cf94bada5f162c7ba0d64b51de7c7d24c9;hb=9522922e9d58a72c762d668177662f7d7ab00e8e;hp=d689c6e959d828134d22ef9aa7a9bcfaf4119d91;hpb=cffb34aa7d334ab8cc284c1fd8c10ea59a06b11f;p=kdenlive diff --git a/src/subprojectitem.h b/src/subprojectitem.h index d689c6e9..9a5a01cf 100644 --- a/src/subprojectitem.h +++ b/src/subprojectitem.h @@ -38,12 +38,15 @@ class DocClipBase; class SubProjectItem : public QTreeWidgetItem { public: - SubProjectItem(QTreeWidgetItem * parent, int in, int out); + SubProjectItem(QTreeWidgetItem * parent, int in, int out, QString description = QString()); virtual ~SubProjectItem(); QDomElement toXml() const; int numReferences() const; DocClipBase *referencedClip(); QPoint zone() const; + void setZone(QPoint p); + QString description() const; + void setDescription(QString desc); /** Make sure folders appear on top of the tree widget */ virtual bool operator<(const QTreeWidgetItem &other)const { @@ -56,6 +59,7 @@ public: private: int m_in; int m_out; + QString m_description; }; #endif