Can IDocumentationProvider::homePage be non-const?
Aleix Pol
aleixpol at kde.org
Mon Nov 30 16:49:01 UTC 2009
I guess it's fine. Can you change it? That way we can iterate from that.
You should use the home page to help the user navigate inside the provider,
not for other purposes like configuration. That would make navigation
disappointing.
Aleix
On Mon, Nov 30, 2009 at 5:14 PM, Milian Wolff <mail at milianw.de> wrote:
> Hey all, esp. Apol:
>
> Can I remove the "const" from IDocumentationProvider::homePage() ? Thing
> is,
> that I want to pass "this" as parent/provider to the returned
> IDocumentation.
> This fails, since this is const, but it should be non-const.
>
> I'd rather not do some const-casting or similar, but instead just remove
> the
> "const". Esp. considering that the IDocumentation returned by homePage has
> the
> ability to modify the IDocumenationProvider (adding history, etc. pp.).
>
> What do you think?
> --
> Milian Wolff
> mail at milianw.de
> http://milianw.de
>
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://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/20091130/8a05d9bf/attachment-0001.html>
More information about the KDevelop-devel
mailing list