40 qDeleteAll( mFormats );
45 return mFormats.keys();
66 if ( mFormats.contains(
id ) )
67 return mFormats.value(
id )->clone();
74 if ( mFormats.contains(
id ) )
75 return mFormats.value(
id )->create( configuration, context );
83 const QString
id = element.attribute( QStringLiteral(
"id" ) );
85 if ( mFormats.contains(
id ) )
86 return mFormats.value(
id )->create( configuration, context );
98 if ( mFormats.contains(
id ) )
99 return mFormats.value(
id )->visibleName();
106 if ( mFormats.contains(
id ) )
107 return mFormats.value(
id )->sortKey();
The class is used as a container of context for various read/write operations on other objects.
static QVariant readVariant(const QDomElement &element)
Read a QVariant from a QDomElement.