[Marble-devel] How does LayerInterface ask for an update?
Torsten Rahn
tackat at t-online.de
Sun Aug 14 07:45:01 UTC 2011
On Friday, 12. August 2011 19:20:29 Bernhard Beschow wrote:
> > Am i misusing the API? I do not want to create a marble plugin and
> > install it into the marble install directories for it to work properly.
> > Is there a solution?
>
> Yes, there is a solution :) :
>
> You could add a signal to your LayerInterface implementation, e.g.
> "requestUpdate()" and call that instead of MarbleWidget::update(). When
> adding your layer to MarbleWidget, you connect that signal to
> MarbleWidget::update().
Should we add that to the interface by default?
Just wondering,
Torsten
> HTH,
> Bernhard
> _______________________________________________
> Marble-devel mailing list
> Marble-devel at kde.org
> https://mail.kde.org/mailman/listinfo/marble-devel
More information about the Marble-devel
mailing list