rem: Q_ASSERT( g->count() == e.numItems ); checkLockDown( g, c, e.key ); const QString s = c.readEntry( e.key, e.items[e.defaultItem].key ); for ( int i = 0 ; i < e.numItems ; ++i ) if ( s == e.items[i].key ) { g->setButton( i ); return; } g->setButton( e.defaultItem );
add: checkLockDown( b, c, e.key ); b->setChecked( c.readBoolEntry( e.key, e.defaultValue ) );
context:   void loadWidget( QButtonGroup * g, const KConfigBase & c, const EnumConfigEntry & e ) {    Q_ASSERT( c.group() == e.group );    Q_ASSERT( g->count() == e.numItems );    checkLockDown( g, c, e.key );    const QString s = c.readEntry( e.key, e.items[e.defaultItem].key );    for ( int i = 0 ; i < e.numItems ; ++i )      if ( s == e.items[i].key ) {	g->setButton( i );	return;      }    g->setButton( e.defaultItem );  }