]> git.sesse.net Git - kdenlive/blobdiff - src/kthumb.h
Add reverse clip to clip actions: http://kdenlive.org/mantis/view.php?id=2933
[kdenlive] / src / kthumb.h
index 415f35510386a3c92863af1259e46bd8bc4abd3a..65e1cb8b539a6e8eaa91f072e576bc3586f1ff5d 100644 (file)
@@ -56,14 +56,14 @@ class KThumb: public QObject
 Q_OBJECT public:
 
 
-    KThumb(ClipManager *clipManager, KUrl url, const QString &id, const QString &hash, QObject * parent = 0, const char *name = 0);
+    KThumb(ClipManager *clipManager, KUrl url, const QString &id, const QString &hash, QObject * parent = 0);
     ~KThumb();
     void setProducer(Mlt::Producer *producer);
     bool hasProducer() const;
     void clearProducer();
     void updateThumbUrl(const QString &hash);
     void extractImage(QList <int> frames);
-    QPixmap extractImage(int frame, int width, int height);
+    QImage extractImage(int frame, int width, int height);
 #if KDE_IS_VERSION(4,5,0)
     /** @brief Request thumbnails for the frame range. */
     void queryIntraThumbs(QList <int> missingFrames);
@@ -71,6 +71,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);