]> git.sesse.net Git - kdenlive/blobdiff - src/kthumb.h
const'ify
[kdenlive] / src / kthumb.h
index b85e0779555aa873f6f32f2de0d434d9c9cb66e5..148aaa73f4bb9b1803d72e7b04e53b4d2147a66b 100644 (file)
@@ -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 <int, QMap <int, QByteArray> > 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, const char *name = 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);