Plasma::Theme::self() -> default()

Dan Meltzer parallelgrapefruit at gmail.com
Wed Apr 16 17:35:21 CEST 2008


On 4/16/08, Alexis Ménard <darktears31 at gmail.com> wrote:
> yep i think ;)
>
>
> On Wed, Apr 16, 2008 at 5:21 PM, Mike Evans <mike at asrc.info> wrote:
> > dimsuz tried to make this change today, and since default is a C++
> > keyword, gcc threw a fit.. would defaultTheme() be appropriate here
> instead?

Seems redundant...

In Amarok we've switched to using a "the" namespace for singletons, I
find it makes the code a bit more readable...

Plasma::The::defaultTheme() instead of Plasma::Theme::defaultTheme()
> >
> > Mike
> > _______________________________________________
> > Panel-devel mailing list
> > Panel-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/panel-devel
> >
>
>
> _______________________________________________
>  Panel-devel mailing list
>  Panel-devel at kde.org
>  https://mail.kde.org/mailman/listinfo/panel-devel
>
>


More information about the Panel-devel mailing list