kivio
kivio_stencil_spawner.cpp00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #include "kivio_stencil_spawner.h"
00020 #include "kivio_stencil_spawner_set.h"
00021 #include "kivio_stencil_spawner_info.h"
00022 #include "kivio_stencil.h"
00023
00024
00025 KivioStencilSpawner::KivioStencilSpawner( KivioStencilSpawnerSet *p )
00026 : m_pInfo(NULL)
00027 {
00028 m_pInfo = new KivioStencilSpawnerInfo();
00029 m_pSet = p;
00030 m_fileName = "";
00031 m_defWidth = 72.0f;
00032 m_defHeight = 72.0f;
00033 }
00034
00035 KivioStencilSpawner::~KivioStencilSpawner()
00036 {
00037 if( m_pInfo )
00038 {
00039 delete m_pInfo;
00040 m_pInfo = NULL;
00041 }
00042
00043 m_pSet = NULL;
00044 m_fileName = "";
00045 }
00046
00047
00048 bool KivioStencilSpawner::load( const QString & )
00049 {
00050 return false;
00051 }
00052
00053 bool KivioStencilSpawner::loadXML( const QString &, QDomDocument & )
00054 {
00055 return false;
00056 }
00057
00058
00059 KivioStencil *KivioStencilSpawner::newStencil()
00060 {
00061 return NULL;
00062 }
00063
00064 KivioStencil *KivioStencilSpawner::newStencil(const QString& )
00065 {
00066 return NULL;
00067 }
00068
00069 QDomElement KivioStencilSpawner::saveXML( QDomDocument &doc )
00070 {
00071 return doc.createElement("KivioStencilSpawner");
00072 }
|