QString layout; settings.read( "layout", layout ); QTextStream ts( &layout, IO_ReadOnly ); ts >> *this;
QString layout; QTextStream ts( &layout, IO_WriteOnly ); ts << *this; settings.write( "layout", layout );