krita/ui

KisKraLoader Class Reference

Load old-style 1.x .kra files. More...

#include <kis_kra_loader.h>

List of all members.

Public Member Functions

 KisKraLoader (KisDoc2 *document, int syntaxVersion)
 ~KisKraLoader ()
void loadBinaryData (KoStore *store, KisImageWSP image, const QString &uri, bool external)
KisImageWSP loadXML (const KoXmlElement &elem)

Detailed Description

Load old-style 1.x .kra files.

Updated for 2.0, let's try to stay compatible. But 2.0 won't be able to save 1.x .kra files unless we implement an export filter.

Definition at line 38 of file kis_kra_loader.h.


Constructor & Destructor Documentation

KisKraLoader::KisKraLoader ( KisDoc2 document,
int  syntaxVersion 
)

Definition at line 72 of file kis_kra_loader.cpp.

KisKraLoader::~KisKraLoader (  ) 

Definition at line 80 of file kis_kra_loader.cpp.


Member Function Documentation

void KisKraLoader::loadBinaryData ( KoStore *  store,
KisImageWSP  image,
const QString uri,
bool  external 
)

Definition at line 175 of file kis_kra_loader.cpp.

KisImageWSP KisKraLoader::loadXML ( const KoXmlElement &  elem  ) 

Loading is done in two steps: first all xml is loaded, then, in finishLoading, the actual layer data is loaded.

Definition at line 86 of file kis_kra_loader.cpp.


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