class KdenliveDoc;
class DocClipBase;
class AbstractGroupItem;
+class QGLWidget;
class SolidVolumeInfo
{
Q_OBJECT public:
- ClipManager(KdenliveDoc *doc);
+ ClipManager(KdenliveDoc *doc, QGLWidget *glContext);
virtual ~ ClipManager();
void addClip(DocClipBase *clip);
DocClipBase *getClipAt(int pos);
/** @brief remove a clip id from the queue list. */
void stopThumbs(const QString &id);
void projectTreeThumbReady(const QString &id, int frame, const QImage &img, int type);
+ QGLWidget *getMainContext() const { return m_mainGLContext; }
#if KDE_IS_VERSION(4,5,0)
KImageCache* pixmapCache;
void slotAddClip(KIO::Job *job, const KUrl &, const KUrl &dst);
private: // Private attributes
+ QGLWidget *m_mainGLContext;
/** the list of clips in the document */
QList <DocClipBase*> m_clipList;
/** the list of groups in the document */