Commit 1ac54136 authored by Jason Wood's avatar Jason Wood

Added dragStarted() signal, which is called when a drag is started.

svn path=/trunk/kdenlive/; revision=237
parent 91a38746
......@@ -51,6 +51,7 @@ ProjectListView::~ProjectListView()
QDragObject *ProjectListView::dragObject()
AVListViewItem *item = (AVListViewItem *)selectedItem();
emit dragStarted(item);
if(m_doc==0) {
kdError() << "m_doc undefined" << endl;
......@@ -44,12 +44,14 @@ public:
signals: // Signals
/** This signal is called whenever clips are drag'n'dropped onto the project list view. */
void dragDropOccured(QDropEvent *e);
/** This signal is called whenever a drag'n'drop is started */
void dragStarted(QListViewItem *i);
private slots: // Private slots
/** This slot function should be called whenever a drag has been dropped onto the class. */
void dragDropped(QDropEvent* e, QListViewItem* parent, QListViewItem* after);
private: // Private attributes
/** The document that keeps this list up-to-date. */
KdenliveDoc * m_doc;
KdenliveDoc * m_doc;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment