summaryrefslogtreecommitdiffstats
path: root/fswidget.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-09-01 23:27:19 +0200
committerArno <arno@disconnect.de>2018-09-01 23:27:19 +0200
commite9e54f8ff28f4bf7365ae74c0ba51c96d7938638 (patch)
tree5beed463d421d566a1aeceb572a1cb167a1fe604 /fswidget.h
parent2e211cc21ba495d2523f7b8f8f3d171721e28a58 (diff)
downloadSheMov-e9e54f8ff28f4bf7365ae74c0ba51c96d7938638.tar.gz
SheMov-e9e54f8ff28f4bf7365ae74c0ba51c96d7938638.tar.bz2
SheMov-e9e54f8ff28f4bf7365ae74c0ba51c96d7938638.zip
Create a local playlist for external players
Unfortunately, ffmpeg is the only player which doesn't suck too much, but it won't take more than one file :(
Diffstat (limited to 'fswidget.h')
-rw-r--r--fswidget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fswidget.h b/fswidget.h
index 25953a9..b2228d8 100644
--- a/fswidget.h
+++ b/fswidget.h
@@ -10,6 +10,7 @@ class QStandardItemModel;
class QSortFilterProxyModel;
class QContextMenuEvent;
class QAction;
+class QProcess;
class NewMovieWizard;
class NewPicsDialog;
class Viewer;
@@ -43,6 +44,7 @@ class FSWidget : public QWidget {
void doubleClicked(const QModelIndex &idx);
void preview();
void playSelected(int count, QString player);
+ void doPlay();
void playQt();
void selectFilter();
void calculateSelectionChanged();
@@ -58,6 +60,9 @@ class FSWidget : public QWidget {
void setupWidget();
QComboBox *mDirCB;
QComboBox *mFilterCB;
+ QProcess *mPlayer;
+ QStringList mPlayerArgs;
+ QStringList mPlaylist;
SmView *mFileView;
QStandardItemModel *mModel;
FSProxy *mProxy;