X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsubprojectitem.h;h=6831682a9b2b5566159b3dcab48693cd6f71dd98;hb=5bcb9b7ead3d053cb2b0498d84a2622626bf7f14;hp=9a5a01cf94bada5f162c7ba0d64b51de7c7d24c9;hpb=8bcc799b522e6e5ae0299973b4d296bef831a17f;p=kdenlive diff --git a/src/subprojectitem.h b/src/subprojectitem.h index 9a5a01cf..6831682a 100644 --- a/src/subprojectitem.h +++ b/src/subprojectitem.h @@ -38,15 +38,16 @@ class DocClipBase; class SubProjectItem : public QTreeWidgetItem { public: - SubProjectItem(QTreeWidgetItem * parent, int in, int out, QString description = QString()); + 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(QPoint p); + void setZone(const QPoint &p); QString description() const; - void setDescription(QString desc); + 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 {