Q_OBJECT public:
- KThumb(ClipManager *clipManager, KUrl url, const QString &id, QObject * parent = 0, const char *name = 0);
+ KThumb(ClipManager *clipManager, KUrl url, const QString &id, const QString &hash, QObject * parent = 0, const char *name = 0);
~KThumb();
void setProducer(Mlt::Producer *producer);
void askForAudioThumbs(const QString &id);
bool hasProducer() const;
+ void updateThumbUrl(const QString &hash);
public slots:
void extractImage(int frame, int frame2);
QPixmap extractImage(int frame, int width, int height);
- void updateClipUrl(KUrl url);
+ void updateClipUrl(KUrl url, const QString &hash);
static QPixmap getImage(KUrl url, int width, int height);
// static QPixmap getImage(QDomElement xml, int frame, int width, int height);
/* void getImage(KUrl url, int frame, int width, int height);