diff options
author | Arno <arno@disconnect.de> | 2018-09-01 23:27:19 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-09-01 23:27:19 +0200 |
commit | e9e54f8ff28f4bf7365ae74c0ba51c96d7938638 (patch) | |
tree | 5beed463d421d566a1aeceb572a1cb167a1fe604 /fswidget.h | |
parent | 2e211cc21ba495d2523f7b8f8f3d171721e28a58 (diff) | |
download | SheMov-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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |