summaryrefslogtreecommitdiffstats
path: root/fswidget.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-04-03 05:39:11 +0200
committerArno <arno@disconnect.de>2018-04-03 05:39:11 +0200
commit71bbe75e92fc76619d2e2f60c05d94ebff3439bf (patch)
treeaa9bab690d8c372030101079b2753cbb42ccb65b /fswidget.h
parentd25b4fbaa68bce32fd514e4275d910534a78d89b (diff)
downloadSheMov-71bbe75e92fc76619d2e2f60c05d94ebff3439bf.tar.gz
SheMov-71bbe75e92fc76619d2e2f60c05d94ebff3439bf.tar.bz2
SheMov-71bbe75e92fc76619d2e2f60c05d94ebff3439bf.zip
FSWidget: Implement Play with actions
Fill the submenu from readSettings so we can act on configuration changes.
Diffstat (limited to 'fswidget.h')
-rw-r--r--fswidget.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/fswidget.h b/fswidget.h
index 252c487..9a9cc2e 100644
--- a/fswidget.h
+++ b/fswidget.h
@@ -9,6 +9,7 @@ class QTreeView;
class QStandardItemModel;
class QSortFilterProxyModel;
class QContextMenuEvent;
+class QAction;
class NewMovieWizard;
class NewPicsDialog;
class Viewer;
@@ -40,7 +41,7 @@ class FSWidget : public QWidget {
void unpack();
void doubleClicked(const QModelIndex &idx);
void preview();
- void playSelected(int count = 1);
+ void playSelected(int count, QString player);
void selectFilter();
signals:
@@ -57,6 +58,7 @@ class FSWidget : public QWidget {
NewPicsDialog *mNewPicsDlg;
Viewer *mViewer;
int mQueryCount;
+ QAction *mPlayWithA;
};
#endif // FSWIDGET_H