[Marble-devel] Review Request: Transform MarbleClock into a singleton
Torsten Rahn
tackat at kde.org
Mon May 28 18:57:53 UTC 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105088/#review14259
-----------------------------------------------------------
Of course this kind of change would still require to have all the resulting changes to the other classes performed as well.
- Torsten Rahn
On May 28, 2012, 6:48 p.m., marbledeveloper marbledeveloper wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105088/
> -----------------------------------------------------------
>
> (Updated May 28, 2012, 6:48 p.m.)
>
>
> Review request for Marble and Torsten Rahn.
>
>
> Description
> -------
>
> This patch transforms MarbleClock into a singleton. So it's possible to access to it from anywhere of the code.
>
>
> Diffs
> -----
>
> src/lib/MarbleClock.h fed4448
> src/lib/MarbleClock.cpp 56b2fe4
>
> Diff: http://git.reviewboard.kde.org/r/105088/diff/
>
>
> Testing
> -------
>
> Usage example:
>
> #include "MarbleClock.h"
> ...
> MarbleClock::instance()->setUpdateInterval(20);
> ...
>
>
> Thanks,
>
> marbledeveloper marbledeveloper
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20120528/b25a1441/attachment.html>
More information about the Marble-devel
mailing list