X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fprojectlistview.h;h=b43aa26c25cea94a5a6034c68a86fcf9538c17af;hb=c3302003093710ee247ad84c0fe2ef3c579d417f;hp=dd153de576e9df73c4f7d979b50609c09e89f20b;hpb=491b4c44111a9a7446b7bc0ad39b10a94dc2fe85;p=kdenlive diff --git a/src/projectlistview.h b/src/projectlistview.h index dd153de5..b43aa26c 100644 --- a/src/projectlistview.h +++ b/src/projectlistview.h @@ -34,26 +34,23 @@ class ProjectListView : public QTreeWidget public: ProjectListView(QWidget *parent = 0); - virtual ~ProjectListView(); + ~ProjectListView(); void processLayout(); void updateStyleSheet(); protected: - virtual void contextMenuEvent(QContextMenuEvent * event); - virtual void mouseDoubleClickEvent(QMouseEvent * event); - virtual void mousePressEvent(QMouseEvent *event); - virtual void mouseReleaseEvent(QMouseEvent *event); - virtual void mouseMoveEvent(QMouseEvent *event); - virtual void dropEvent(QDropEvent *event); - virtual QStringList mimeTypes() const; - virtual Qt::DropActions supportedDropActions() const; - virtual void dragLeaveEvent(QDragLeaveEvent *); + void contextMenuEvent(QContextMenuEvent * event); + void mouseDoubleClickEvent(QMouseEvent * event); + void mousePressEvent(QMouseEvent *event); + void mouseReleaseEvent(QMouseEvent *event); + void mouseMoveEvent(QMouseEvent *event); + void dropEvent(QDropEvent *event); + QStringList mimeTypes() const; + Qt::DropActions supportedDropActions() const; + void dragLeaveEvent(QDragLeaveEvent *); /** @brief Filters key events to make sure user can expand items with + / -. */ - virtual bool eventFilter(QObject *obj, QEvent *ev); - -public slots: - + bool eventFilter(QObject *obj, QEvent *ev); private: bool m_dragStarted; @@ -67,7 +64,7 @@ private slots: signals: void requestMenu(const QPoint &, QTreeWidgetItem *); void addClip(); - void addClip(const QList , const QString &, const QString &); + void addClip(const QList &, const QString &, const QString &); void showProperties(DocClipBase *); void focusMonitor(bool forceRefresh); void pauseMonitor();