summaryrefslogtreecommitdiffstats
path: root/videoviewer.h
diff options
context:
space:
mode:
Diffstat (limited to 'videoviewer.h')
-rw-r--r--videoviewer.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/videoviewer.h b/videoviewer.h
deleted file mode 100644
index ff5bae6..0000000
--- a/videoviewer.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License
- as published by the Free Software Foundation; either version
- 2 of the License, or (at your option) any later version.
-*/
-
-#ifndef VIDEOVIEWER_H
-#define VIDEOVIEWER_H
-
-#include <QVideoWidget>
-
-class QMediaPlayer;
-
-class VideoViewer : public QVideoWidget {
- public:
- VideoViewer(QWidget *parent = nullptr);
- QMediaPlayer* player() { return mPlayer; }
- bool lastFullScreen() { return mLastFullScreen; }
- void setLastFullScreen(bool last) { mLastFullScreen = last; }
-
- public slots:
- void readSettings();
- void writeSettings();
-
- protected:
- virtual void keyPressEvent(QKeyEvent *e);
- virtual void closeEvent(QCloseEvent *e);
-
- private:
- QMediaPlayer *mPlayer;
- bool mLastFullScreen;
-};
-
-#endif // VIDEOVIEWER_H