Saving toolbar state

Jens Dagerbo jens.dagerbo at gmail.com
Thu Dec 8 10:02:03 UTC 2005


>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.

Somebody, please tell me I'm wrong. :)

// jens

On 12/8/05, Vladimir Prus <ghost at cs.msu.su> wrote:
>
>
> Hello,
> there's a bug:
>
>    http://bugs.kde.org/show_bug.cgi?id=117779
>
> that says that if you right click on toolbar, hide debuggers toolbar, and
> restart KDevelop, debugger toolbar magically reappears. Unfortunately, I
> don't understand how toolbars visibility state is saved at all. All I
> could
> find is:
>
>    class MainWindowShare {
>
>         KToggleAction*   m_toggleBuildToolbar;
>    }
>
> but that KToggleAction is initialized to 0 in constructor, and never
> changed
> anywhere.
>
> So, can somebody explain how existing toolbars visibility state is saved.
>
> Thanks,
> Volodya
>
>
>
> _______________________________________________
> KDevelop-devel mailing list
> KDevelop-devel at barney.cs.uni-potsdam.de
> http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20051208/47171b4f/attachment.html>


More information about the KDevelop-devel mailing list