diff options
author | Arno <am@disconnect.de> | 2011-01-09 12:52:09 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2011-01-09 12:52:09 +0100 |
commit | f4a2553aa56939721bcd82d8ad9bffbaecd0647a (patch) | |
tree | fa8c2374d125c5b139a3977bbb3d450568076b21 /smglobals.h | |
parent | 9603ec4b1e8cb85770f2d6b69dbe31a0fcff44f7 (diff) | |
download | SheMov-f4a2553aa56939721bcd82d8ad9bffbaecd0647a.tar.gz SheMov-f4a2553aa56939721bcd82d8ad9bffbaecd0647a.tar.bz2 SheMov-f4a2553aa56939721bcd82d8ad9bffbaecd0647a.zip |
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.
Diffstat (limited to 'smglobals.h')
-rw-r--r-- | smglobals.h | 2 |
1 files changed, 2 insertions, 0 deletions
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<QString, QString> prepFrame(const QString &sourceFile, QString when); QHash<QPair<QString, QString>, QString> mFrameCache; const qint32 mMagic; const QString mCacheSubDir; |