From 45eab23107265a2a21414c65c4953014119593e2 Mon Sep 17 00:00:00 2001 From: Arno Date: Thu, 13 Sep 2018 17:16:30 +0200 Subject: Make VideoViewer local to FSWidget Now we can't have multiple VideoViewers, which is what we want :) --- fswidget.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fswidget.h') diff --git a/fswidget.h b/fswidget.h index b5d8ffb..a926fb7 100644 --- a/fswidget.h +++ b/fswidget.h @@ -3,6 +3,7 @@ #include #include +#include class QComboBox; class QTreeView; @@ -16,6 +17,7 @@ class NewPicsDialog; class Viewer; class FSProxy; class SmView; +class VideoViewer; class FSWidget : public QWidget { Q_OBJECT @@ -47,6 +49,7 @@ class FSWidget : public QWidget { void doPlay(); void selectFilter(); void calculateSelectionChanged(); + void playerStateChanged(QMediaPlayer::State s); signals: void message(QString msg); @@ -68,6 +71,7 @@ class FSWidget : public QWidget { NewMovieWizard *mMovieWizard; NewPicsDialog *mNewPicsDlg; Viewer *mViewer; + VideoViewer *mVideoViewer; int mQueryCount; QAction *mPlayWithA; }; -- cgit v1.2.3-70-g09d2