From f4a2553aa56939721bcd82d8ad9bffbaecd0647a Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 9 Jan 2011 12:52:09 +0100 Subject: Use pictureViewer in NewMovieWizard Optionally show a frame or the picture in PictureViewer when clicking an item in the file list. Added a new function to SmGlobals::FrameCache: make it possible to retrieve the path of the frame, also. --- smglobals.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'smglobals.h') diff --git a/smglobals.h b/smglobals.h index e86493c..9324b85 100644 --- a/smglobals.h +++ b/smglobals.h @@ -25,10 +25,12 @@ class SmGlobals : public QObject { ~FrameCache(); void readConfig(); const QPixmap entry(const QString &sourcePath, const QString &when = QString()); + const QString entryPath(const QString &sourcePath, const QString &when = QString()); private: void readCache(); void grabFrame(const QString &sourceFile, QString when); + const QPair prepFrame(const QString &sourceFile, QString when); QHash, QString> mFrameCache; const qint32 mMagic; const QString mCacheSubDir; -- cgit v1.2.3-70-g09d2