]> git.sesse.net Git - kdenlive/blobdiff - src/clipmanager.h
First steps to save timeline clip groups
[kdenlive] / src / clipmanager.h
index 2d5f510795fb4dc8a0440a8e8fa74c511090277f..2e1459d3e44d2a8a84a8072c321a5906357e7246 100644 (file)
@@ -38,6 +38,7 @@
 
 class KdenliveDoc;
 class DocClipBase;
+class QGraphicsItem;
 
 namespace Mlt {
 class Producer;
@@ -46,7 +47,6 @@ class Producer;
 class ClipManager: public QObject {
 Q_OBJECT public:
 
-
     ClipManager(KdenliveDoc *doc);
     virtual ~ ClipManager();
     void addClip(DocClipBase *clip);
@@ -75,6 +75,8 @@ Q_OBJECT public:
     void addFolder(const QString&, const QString&);
     void deleteFolder(const QString&);
     void clear();
+    void setGroups(QList <QGraphicsItem *> groups);
+    QDomElement groupsXml() const;
 
 public slots:
     void updatePreviewSettings();
@@ -82,6 +84,8 @@ public slots:
 private:   // Private attributes
     /** the list of clips in the document */
     QList <DocClipBase*> m_clipList;
+    /** the list of groups in the document */
+    QList <QGraphicsItem *> m_groupsList;
     QMap <QString, QString> m_folderList;
     QList <QString> m_audioThumbsQueue;
     /** the document undo stack*/