Logo Search packages:      
Sourcecode: kdenlive version File versions

DocSubClip Class Reference

#include <docsubclip.h>

Inheritance diagram for DocSubClip:

List of all members.

Detailed Description

Encapsulates a video, audio, picture, title, or any other kind of file that Kdenlive can support. Each type of file should be encapsulated in it's own class, which should inherit this one.
Jason Wood

Definition at line 33 of file docsubclip.h.

Public Types

enum  CLIPTYPE {
  NONE = 0, AUDIO = 1, VIDEO = 2, AV = 3,

Public Slots

void addSnapMarker (const GenTime &time, QString comment)
QValueVector< CommentedTime > commentedSnapMarkers () const
QString deleteSnapMarker (const GenTime &time)
void editSnapMarker (const GenTime &time, QString comment)
GenTime findNextSnapMarker (const GenTime &currTime)
GenTime findPreviousSnapMarker (const GenTime &currTime)
uint getProjectThumbFrame () const
GenTime hasSnapMarkers (const GenTime &time)
QString markerComment (GenTime t)
void setProjectThumbFrame (const uint &ix)
void setSnapMarkers (QValueVector< CommentedTime > markers)
QValueVector< GenTimesnapMarkers () const
void updateAudioThumbnail (QMap< int, QMap< int, QByteArray > > data)

Public Member Functions

void addReference ()
virtual const
DocClipBase::CLIPTYPE & 
clipType () const =0
DocClipBase::CLIPTYPE clipType ()
const QString & description () const
 DocSubClip (KdenliveDoc *doc, DocClipBase *avFile)
const GenTimeduration () const
virtual bool durationKnown () const =0
virtual bool durationKnown ()
QString fileName ()
virtual uint fileSize () const
virtual const KURL & fileURL () const =0
KURL fileURL ()
virtual double framesPerSecond () const
virtual QDomDocument generateSceneList (bool addProducers=true, bool rendering=false) const
virtual QDomDocument generateSceneList (bool addProducers=true)
uint getId () const
virtual bool hasFileSize () const
virtual bool isDocClipAVFile () const
virtual bool isDocClipTextFile () const
virtual bool isDocClipVirtual () const
virtual bool isProjectClip () const
virtual bool matchesXML (const QDomElement &element) const =0
virtual bool matchesXML (const QDomElement &element)
const QString & name () const
uint numReferences () const
virtual void populateSceneTimes (QValueVector< GenTime > &toPopulate) const =0
virtual void populateSceneTimes (QValueVector< GenTime > &toPopulate)
virtual bool referencesClip (DocClipBase *clip) const
void removeReference ()
virtual void removeTmpFile () const =0
virtual QDomDocument sceneToXML (const GenTime &startTime, const GenTime &endTime) const =0
virtual QDomDocument sceneToXML (const GenTime &startTime, const GenTime &endTime)
void setDescription (const QString &descripton)
void setId (const uint &newId)
void setName (const QString name)
void setThumbnail (const QPixmap &pixmap)
const QPixmap & thumbnail () const
virtual DocClipAVFiletoDocClipAVFile ()
virtual DocClipTextFiletoDocClipTextFile ()
virtual DocClipVirtualtoDocClipVirtual ()
virtual QDomDocument toXML () const
QDomDocument toXML ()

Static Public Member Functions

static DocClipBase * createClip (KdenliveDoc *doc, const QDomElement &element)
static DocSubClipcreateClip (KdenliveDoc *doc, const QDomElement element)
static QString getTypeName (CLIPTYPE type)

Public Attributes

QMap< int, QMap< int,
QByteArray > > 
bool audioThumbCreated
KThumb * thumbCreator

Private Attributes

DocClipBase * m_clip
DocClipBase::CLIPTYPE m_clipType

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index