setSizeHint(0, QSize(65, 45));
setFlags(Qt::ItemIsSelectable | Qt::ItemIsDragEnabled | Qt::ItemIsEnabled | Qt::ItemIsEditable);
setIcon(0, KIcon("folder"));
- setToolTip(1, "<qt><b>" + i18n("Folder"));
+ setToolTip(1, "<b>" + i18n("Folder"));
//kDebug() << "Constructed as folder, with clipId: " << m_clipId << ", and groupname: " << m_groupname;
}
m_clip->setProperties(props);
}
+QString ProjectItem::getClipHash() const {
+ if (m_clip == NULL) return QString();
+ return m_clip->getClipHash();
+}
+
void ProjectItem::setProperty(const QString &key, const QString &value) {
if (m_clip == NULL) return;
m_clip->setProperty(key, value);
}
void ProjectItem::slotSetToolTip() {
- QString tip = "<qt><b>";
+ QString tip = "<b>";
switch (m_clipType) {
case AUDIO:
tip.append(i18n("Audio clip") + "</b><br />" + clipUrl().path());
slotSetToolTip();
}
m_clip->setProperties(attributes);
-
+ m_clip->setMetadata(metadata);
if ((m_clipType == AV || m_clipType == AUDIO) && KdenliveSettings::audiothumbnails()) m_clip->askForAudioThumbs();
if (m_clip->description().isEmpty()) {