From e36afa2180ef93a1bbf0398b29be3d8c62ab90cc Mon Sep 17 00:00:00 2001 From: Arno Date: Wed, 29 Aug 2012 17:05:42 +0200 Subject: Play selected movies from archive Well, it started out as a simple new QAction for the archive: Play selected movies, but ended up in cleaning up the context menu madness in shemov.cpp. Created a factory for context menu separators... Well, and we can now play selected movies from the FilesTreeWidget :) --- filestreewidget.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'filestreewidget.h') diff --git a/filestreewidget.h b/filestreewidget.h index 4a7e3f3..f6cd8e8 100644 --- a/filestreewidget.h +++ b/filestreewidget.h @@ -39,6 +39,7 @@ class FilesTreeWidget : public QWidget { void fileProperties(); void edit(int column); void suggest(); + void playSelected(); private slots: void fileSelectionChanged(); @@ -50,6 +51,7 @@ class FilesTreeWidget : public QWidget { void statusMessage(QString); private: + void playItems(const QStringList &paths); FilesTreeView *mView; FilesTreeModel *mModel; FilesTreeSortModel *mProxy; -- cgit v1.2.3-70-g09d2