Canorus  0.0
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
CACanExport Class Reference

#include <canexport.h>

Inheritance diagram for CACanExport:
Inheritance graph
[legend]

Public Member Functions

 CACanExport (QTextStream *stream=0)
 
 ~CACanExport ()
 
CAArchive * archive ()
 
void setArchive (CAArchive *a)
 
- Public Member Functions inherited from CAExport
 CAExport (QTextStream *stream=0)
 
virtual ~CAExport ()
 
virtual const QString readableStatus ()
 
void exportDocument (CADocument *, bool bStartThread=true)
 
void exportSheet (CASheet *)
 
void exportStaff (CAStaff *)
 
void exportVoice (CAVoice *)
 
void exportLyricsContext (CALyricsContext *)
 
void exportFunctionMarkContext (CAFunctionMarkContext *)
 
CADocument * exportedDocument ()
 
CASheet * exportedSheet ()
 
CAStaff * exportedStaff ()
 
CAVoice * exportedVoice ()
 
CALyricsContext * exportedLyricsContext ()
 
CAFunctionMarkContext * exportedFunctionMarkContext ()
 
virtual void setStreamToFile (const QString filename)
 
bool wait (unsigned long time=ULONG_MAX)
 
- Public Member Functions inherited from CAFile
 CAFile ()
 
virtual ~CAFile ()
 
const int status ()
 
const int progress ()
 
void setStreamFromFile (const QString filename)
 
void setStreamToFile (const QString filename)
 
void setStreamFromDevice (QIODevice *device)
 
void setStreamToDevice (QIODevice *device)
 
void setStreamToString ()
 
QString getStreamAsString ()
 

Protected Member Functions

void exportDocumentImpl (CADocument *doc)
 
- Protected Member Functions inherited from CAExport
virtual void exportSheetImpl (CASheet *)
 
virtual void exportStaffImpl (CAStaff *)
 
virtual void exportVoiceImpl (CAVoice *)
 
virtual void exportLyricsContextImpl (CALyricsContext *)
 
virtual void exportFunctionMarkContextImpl (CAFunctionMarkContext *)
 
QTextStream & out ()
 
void run ()
 
- Protected Member Functions inherited from CAFile
void setStatus (const int status)
 
void setProgress (const int progress)
 
QTextStream * stream ()
 
virtual void setStream (QTextStream *stream)
 
QFile * file ()
 
void setFile (QFile *file)
 

Private Attributes

CAArchive * _archive
 

Additional Inherited Members

- Signals inherited from CAExport
void documentExported (CADocument *)
 
void sheetExported (CASheet *)
 
void staffExported (CAStaff *)
 
void voiceExported (CAVoice *)
 
void lyricsContextExported (CALyricsContext *)
 
void functionMarkContextExported (CAFunctionMarkContext *)
 
void exportDone (int status)
 

Constructor & Destructor Documentation

◆ CACanExport()

CACanExport::CACanExport ( QTextStream *  stream = 0)

Copyright (c) 2007, Matevž Jekovec, Itay Perl, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.

Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE.GPL for details.

◆ ~CACanExport()

CACanExport::~CACanExport ( )

Member Function Documentation

◆ archive()

CAArchive* CACanExport::archive ( )
inline

References _archive.

◆ exportDocumentImpl()

void CACanExport::exportDocumentImpl ( CADocument *  doc)
protectedvirtual

◆ setArchive()

void CACanExport::setArchive ( CAArchive *  a)
inline

References _archive.

Member Data Documentation

◆ _archive

CAArchive* CACanExport::_archive
private

Referenced by archive(), and setArchive().


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