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