X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fkthumb.h;h=148aaa73f4bb9b1803d72e7b04e53b4d2147a66b;hb=9a9c75a8375583b7dee43938741d1bebce9416d4;hp=142bff41c693970eb6afc086ef0a66febc2db89b;hpb=05f4fad9a19434399f43ff76e06d1e1a5f74c0f6;p=kdenlive diff --git a/src/kthumb.h b/src/kthumb.h index 142bff41..148aaa73 100644 --- a/src/kthumb.h +++ b/src/kthumb.h @@ -40,11 +40,8 @@ relevant signal that get's emitted once the call completes. namespace Mlt { -class Miracle; -class Consumer; class Producer; class Frame; -class Profile; }; class ClipManager; @@ -53,10 +50,10 @@ typedef QMap > audioByteArray; class KThumb: public QObject { -Q_OBJECT public: + Q_OBJECT +public: - - KThumb(ClipManager *clipManager, KUrl url, const QString &id, const QString &hash, QObject * parent = 0); + KThumb(ClipManager *clipManager, const KUrl &url, const QString &id, const QString &hash, QObject * parent = 0); ~KThumb(); void setProducer(Mlt::Producer *producer); bool hasProducer() const; @@ -71,6 +68,7 @@ Q_OBJECT public: QImage findCachedThumb(const QString &path); #endif void getThumb(int frame); + void getGenericThumb(int frame, int height, int type); public slots: void updateClipUrl(KUrl url, const QString &hash);