Logo Search packages:      
Sourcecode: kdenlive version File versions  Download package

DocClipTextFile Class Reference

#include <doccliptextfile.h>

Inheritance diagram for DocClipTextFile:

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 35 of file doccliptextfile.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 ()
double aspectRatio () const
uint clipHeight () const
const DocClipBase::CLIPTYPE & clipType () const
uint clipWidth () const
const QString & description () const
 DocClipTextFile (const KURL &url)
 DocClipTextFile (QDomDocument node)
 DocClipTextFile (const QString &name, const QString &text, const GenTime &duration, const QDomDocument &xml, KURL url, const QPixmap &pix, bool transparency, uint id)
 DocClipTextFile (const QString &name, const KURL &url, uint id)
const GenTimeduration () const
virtual bool durationKnown () const
QString fileName ()
virtual uint fileSize () const
const KURL & fileURL () const
virtual double framesPerSecond () const
virtual QDomDocument generateSceneList (bool addProducers=true, bool rendering=false) const
uint getId () const
virtual bool hasFileSize () const
virtual bool isDocClipAVFile () const
virtual bool isDocClipTextFile () const
virtual bool isDocClipVirtual () const
virtual bool isProjectClip () const
bool isTransparent ()
virtual bool matchesXML (const QDomElement &element) const
const QString & name () const
uint numReferences () const
virtual void populateSceneTimes (QValueVector< GenTime > &toPopulate) const
virtual bool referencesClip (DocClipBase *clip) const
void removeReference ()
virtual void removeTmpFile () const
virtual QDomDocument sceneToXML (const GenTime &startTime, const GenTime &endTime) const
void setAlpha (bool transp)
void setDescription (const QString &descripton)
void setDuration (const GenTime &duration)
void setFileURL (const KURL &url)
void setId (const uint &newId)
void setName (const QString name)
void setTextClipXml (const QDomDocument &xml)
void setThumbnail (const QPixmap &pixmap)
const QDomDocument & textClipXml () const
const QPixmap & thumbnail () const
virtual DocClipAVFiletoDocClipAVFile ()
virtual DocClipTextFiletoDocClipTextFile ()
virtual DocClipVirtualtoDocClipVirtual ()
QDomDocument toXML () const

Static Public Member Functions

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

Public Attributes

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

Private Attributes

bool m_alphaTransparency
DocClipBase::CLIPTYPE m_clipType
QString m_color
GenTime m_duration
bool m_durationKnown
uint m_filesize
double m_framesPerSecond
uint m_height
uint m_id
KURL m_url
uint m_width
QDomDocument m_xml

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

Generated by  Doxygen 1.6.0   Back to index