Saving toolbar state

Hamish Rodda rodda at kde.org
Thu Dec 8 13:53:02 UTC 2005


On Thursday 08 December 2005 20:07, Vladimir Prus wrote:
>On Thursday 08 December 2005 12:00, Jens Dagerbo wrote:
>> >So, can somebody explain how existing toolbars visibility state is saved.
>>
>> It isn't, AFAIK.
>>
>> It's been a while since I had a look at this, but IIRC there is no easy way
>> through the KDE API to save visibility state of an embedded KPart toolbar.
>
>But -- the "build toolbar" visibility state is saved! The must be some hidden 
>magic somewhere ;-)

KToolBar::saveSettings() looks at a config entry called "Hidden"

Cheers,
Hamish.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20051208/8826f3cd/attachment.sig>


More information about the KDevelop-devel mailing list