vlc_linux/vlc-3.0.16/modules/gui/qt/components/preferences_widgets.cpp
/* Inserts controls into layouts
   This is sub-optimal in the OO way, as controls's code still
   depends on Layout classes. We should use layout inserters [friend]
   classes, but it's unlikely we had to deal with a different layout.*/
Inserts controls into layouts
This is sub-optimal in the OO way, as controls's code still
depends on Layout classes. We should use layout inserters [friend]
classes, but it's unlikely we had to deal with a different layout.
Inserts controls into layouts This is sub - optimal in the OO way as controls ' s code still depends on Layout classes . We should use layout inserters [ friend ] classes but it ' s unlikely we had to deal with a different layout .
void ConfigControl::insertInto( QBoxLayout *layout )
{
    QGridLayout *sublayout = new QGridLayout();
    fillGrid( sublayout, 0 );
    layout->addLayout( sublayout );
}
void ConfigControl :: insertInto ( QBoxLayout * layout ) { QGridLayout * sublayout = new QGridLayout ( ) ; fillGrid ( sublayout , 0 ) ; layout -> addLayout ( sublayout ) ; }
Inserts controls into layouts
This is sub-optimal in the OO way, as controls's code still
depends on Layout classes.
Inserts controls into layouts This is sub - optimal in the OO way as controls ' s code still depends on Layout classes .