Krita Source Code Documentation
Loading...
Searching...
No Matches
KoShapeLoadingContext::AdditionalAttributeData Struct Reference

#include <KoShapeLoadingContext.h>

Public Member Functions

 AdditionalAttributeData (const QString &ns, const QString &tag, const QString &name)
 
bool operator== (const AdditionalAttributeData &other) const
 

Public Attributes

const QString name
 
const QString ns
 
const QString tag
 

Detailed Description

Struct to store data about additional attributes that should be loaded during the shape loading.

Make sure all parameters point to const char * that stay around. e.g. The a KoXmlNS or a "tag" defined string e.g. AdditionalAttributeData( KoXmlNS::presentation, "placeholder", presentation:placeholder" )

Definition at line 45 of file KoShapeLoadingContext.h.

Constructor & Destructor Documentation

◆ AdditionalAttributeData()

KoShapeLoadingContext::AdditionalAttributeData::AdditionalAttributeData ( const QString & ns,
const QString & tag,
const QString & name )
inline

Member Function Documentation

◆ operator==()

bool KoShapeLoadingContext::AdditionalAttributeData::operator== ( const AdditionalAttributeData & other) const
inline

Definition at line 56 of file KoShapeLoadingContext.h.

56 {
57 return name == other.name;
58 }

References name.

Member Data Documentation

◆ name

const QString KoShapeLoadingContext::AdditionalAttributeData::name

Definition at line 54 of file KoShapeLoadingContext.h.

◆ ns

const QString KoShapeLoadingContext::AdditionalAttributeData::ns

Definition at line 52 of file KoShapeLoadingContext.h.

◆ tag

const QString KoShapeLoadingContext::AdditionalAttributeData::tag

Definition at line 53 of file KoShapeLoadingContext.h.


The documentation for this struct was generated from the following file: