42 qDeleteAll( mFormats );
47 return mFormats.keys();
68 if ( mFormats.contains(
id ) )
69 return mFormats.value(
id )->clone();
76 if ( mFormats.contains(
id ) )
77 return mFormats.value(
id )->create( configuration, context );
85 const QString
id = element.attribute( QStringLiteral(
"id" ) );
87 if ( mFormats.contains(
id ) )
88 return mFormats.value(
id )->create( configuration, context );
100 if ( mFormats.contains(
id ) )
101 return mFormats.value(
id )->visibleName();
108 if ( mFormats.contains(
id ) )
109 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.