aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-fm/Browser.h
diff options
context:
space:
mode:
authorZackaryWelch <welch.zackary@gmail.com>2017-10-03 18:44:22 -0400
committerZackaryWelch <welch.zackary@gmail.com>2017-10-03 18:44:22 -0400
commit2a9d6daa5afa326cc9769d23a64345efeb891ea7 (patch)
tree4c127b4e4422d427d2ee8511d64acc060dc3c080 /src-qt5/desktop-utils/lumina-fm/Browser.h
parentReworked the VideoSurface subclass (diff)
downloadlumina-2a9d6daa5afa326cc9769d23a64345efeb891ea7.tar.gz
lumina-2a9d6daa5afa326cc9769d23a64345efeb891ea7.tar.bz2
lumina-2a9d6daa5afa326cc9769d23a64345efeb891ea7.zip
Reworked the video thumnail system with lumina-fm
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/Browser.h')
-rw-r--r--src-qt5/desktop-utils/lumina-fm/Browser.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/Browser.h b/src-qt5/desktop-utils/lumina-fm/Browser.h
index 7ccb5199..2dfae0be 100644
--- a/src-qt5/desktop-utils/lumina-fm/Browser.h
+++ b/src-qt5/desktop-utils/lumina-fm/Browser.h
@@ -45,7 +45,7 @@ public:
private:
QString currentDir;
QFileSystemWatcher *watcher;
- //QImage videoFrame;
+ QPixmap videoFrame;
bool showHidden, showThumbs;
QStringList imageFormats, videoFormats, oldFiles;
QHash<QString, QIcon> mimeIcons; //cache for quickly re-using QIcons
@@ -56,13 +56,12 @@ private:
private slots:
void fileChanged(QString); //tied into the watcher - for file change notifications
void dirChanged(QString); // tied into the watcher - for new/removed files in the current dir
- //void captureFrame(QImage);
- //void stopVideo(QMediaPlayer*, QMediaPlayer::MediaStatus);
+ void captureFrame(QPixmap);
+ void stopVideo(QMediaPlayer*, QMediaPlayer::MediaStatus);
void futureFinished(QString, QImage);
public slots:
void loadDirectory(QString dir = "");
-
signals:
//Main Signals
void itemRemoved(QString item); //emitted if a file was removed from the underlying
@@ -75,7 +74,7 @@ signals:
//Internal signal for the alternate threads
void threadDone(QString, QImage);
- //void frameChanged();
+ void frameChanged();
};
#endif
bgstack15