summaryrefslogtreecommitdiffstats
path: root/filestreewidget.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2012-08-29 17:05:42 +0200
committerArno <am@disconnect.de>2012-08-29 17:05:42 +0200
commite36afa2180ef93a1bbf0398b29be3d8c62ab90cc (patch)
treee113976315ac9793e03c3cfb60129b7110dbf687 /filestreewidget.h
parent61b5308d704af70fc133b37c21c730387c8a9cc3 (diff)
downloadSheMov-e36afa2180ef93a1bbf0398b29be3d8c62ab90cc.tar.gz
SheMov-e36afa2180ef93a1bbf0398b29be3d8c62ab90cc.tar.bz2
SheMov-e36afa2180ef93a1bbf0398b29be3d8c62ab90cc.zip
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 :)
Diffstat (limited to 'filestreewidget.h')
-rw-r--r--filestreewidget.h2
1 files changed, 2 insertions, 0 deletions
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;