44 qDeleteAll( mFormats );
49 return mFormats.keys();
70 if ( mFormats.contains(
id ) )
71 return mFormats.value(
id )->clone();
78 if ( mFormats.contains(
id ) )
79 return mFormats.value(
id )->create( configuration, context );
87 const QString
id = element.attribute( QStringLiteral(
"id" ) );
89 if ( mFormats.contains(
id ) )
90 return mFormats.value(
id )->create( configuration, context );
102 if ( mFormats.contains(
id ) )
103 return mFormats.value(
id )->visibleName();
110 if ( mFormats.contains(
id ) )
111 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.