kdebug area for oxygen style

Hugo Pereira Da Costa hugo at oxygen-icons.org
Thu Sep 9 19:44:08 BST 2010


On Thursday, September 09, 2010 12:00:25 pm David Faure wrote:
> On Thursday 09 September 2010, Hugo Pereira Da Costa wrote:
> > Hello,
> > 
> > I'd like to have a dedicated kdebug area for oxygen style (rather than
> > using the default, that quite often falls back to the calling application
> > area, which is not convenient.
> > 
> > What's the best way to proceed ?
> > 
> > 1/ dynamic way (with kdebug::registerArea)
> 
> Yes please. This should work just fine and should be easy to use in the
> case of oxygen which doesn't even have that many source files. You can use
> the "extern int" solution described in the kdebug documentation if you
> need to use the area from multiple files, if you don't already have a
> shared global object somewhere.
> 
> > 2/ static, by modifying kdelibs/kdecore/kdebug.areas ?
> > 
> > Reading http://lists.kde.org/?l=kde-devel&m=106607933724723&w=2, option
> > 2. seems quite legit.
> 
> That email is waaaayyy old, before dynamic areas existed.

Clear enough. Will do. Thanks for the answers !




More information about the kde-core-devel mailing list