If this helps?... void QMainWindowLayout::saveState(QDataStream &stream)
I had a look at this function (and I actually posted this function before :-) but most of the data structures are not exposed. Also, these function save/restore layouts, so I get no idea how to position a single toolbar. Cheers, Bo