]> git.sesse.net Git - kdenlive/blobdiff - src/customtrackview.h
Fix version number (now 0.7), add myself as author
[kdenlive] / src / customtrackview.h
index cc26e6eebe5b0bf687a4b71840301b4e9da3ff88..1ed4541d9bc6e73d7766a1709249ceeeca457430 100644 (file)
@@ -59,6 +59,7 @@ public:
     void slotAddClipMarker();
     void slotEditClipMarker();
     void slotDeleteClipMarker();
+    void slotDeleteAllClipMarkers();
     void addMarker(const int id, const GenTime &pos, const QString comment);
     void setScale(double scaleFactor);
     void deleteClip(int clipId);
@@ -114,7 +115,10 @@ public slots:
     void slotEditGuide(CommentedTime guide);
     void slotEditGuide();
     void slotDeleteGuide();
+    void slotDeleteAllGuides();
     void editGuide(const GenTime oldPos, const GenTime pos, const QString &comment);
+    void copyClip();
+    void pasteClip();
 
 protected:
     virtual void drawBackground(QPainter * painter, const QRectF & rect);
@@ -170,9 +174,18 @@ private:
     int m_findIndex;
     PROJECTTOOL m_tool;
     QCursor m_razorCursor;
+    /** list containing items currently copied in the timeline */
+    QList<AbstractClipItem *> m_copiedItems;
+    QList<AbstractClipItem *> m_selectedClipList;
+    /** Used to get the point in timeline where a context menu was opened */
+    QPoint m_menuPosition;
+
     /** Get the index of the video track that is just below current track */
     int getPreviousVideoTrack(int track);
     void updateClipFade(ClipItem * item, bool updateFadeOut = false);
+    bool canBePastedTo(ItemInfo info, int type) const;
+    bool canBePasted(QList<AbstractClipItem *> items, GenTime offset, int trackOffset) const;
+    bool canBeMoved(QList<AbstractClipItem *> items, GenTime offset, int trackOffset) const;
 
 private slots:
     void slotRefreshGuides();