X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fkthumb.h;h=ffdf310a1ccd8a96f1a8f073a83735ac5df65805;hb=51207926d52e50229027f7d92318b835240e1b2a;hp=f249b071a9037f94425cb419449fcd92cb9c7a90;hpb=f1fc545bde368bde82205a09a3c3fd68b14138f0;p=kdenlive diff --git a/src/kthumb.h b/src/kthumb.h index f249b071..ffdf310a 100644 --- a/src/kthumb.h +++ b/src/kthumb.h @@ -1,5 +1,5 @@ /*************************************************************************** - krender.h - description + kthumb.h - description ------------------- begin : Fri Nov 22 2002 copyright : (C) 2002 by Jason Wood @@ -45,7 +45,7 @@ namespace Mlt { }; - /* class MyThread : public QThread { +class MyThread : public QThread { public: virtual void run(); @@ -64,7 +64,7 @@ namespace Mlt { bool m_isWorking; }; -*/ + class KThumb:public QObject { Q_OBJECT public: @@ -76,13 +76,13 @@ public slots: void extractImage( int frame, int frame2); static QPixmap getImage(KUrl url, int width, int height); /* void getImage(KUrl url, int frame, int width, int height); - void getThumbs(KUrl url, int startframe, int endframe, int width, int height); + void getThumbs(KUrl url, int startframe, int endframe, int width, int height);*/ void stopAudioThumbs(); void removeAudioThumb(); - void getAudioThumbs(KUrl url, int channel, double frame, double frameLength, int arrayWidth); -*/ + void getAudioThumbs(int channel, double frame, double frameLength, int arrayWidth); + private: -// MyThread thumbProducer; + MyThread thumbProducer; KUrl m_url; QString m_thumbFile; int m_width;