KWin missing in apidocs since KDE 3.3!

Sascha Cunz sascha.cunz at
Fri Jun 3 00:02:31 BST 2005

On Thursday 02 June 2005 15:58, Adriaan de Groot wrote:
> The problem is -- that is, if Metz' complaint refers to the libkdecore
> class KWin -- that the entire class is wrapped in a #ifdef Q_OS_UNIX, and
> that gets removed by Doxygen during (pre)processing. Disabling
> preprocessing so Doxygen ignores the #ifdef entirely causes the class KWin
> dox to be generated properly.
> Patch to admin/ attached. See
> for references.

attached is a patch that shows how to define macros without including special 
header files. I could not test, because i've no clue how that "make apidox" 
actually works, but i know doxygen and i've recently done a lot of predefined 
macros in another project.

However, this solution is not as "rude" as the PIM one, because it does not 
disable preprocessing at all; just fix the basic problem.

Further, if someone would run doxygen on a Microsoft Windows based system and 
includes Qt headers, there will arise another problem: doxygen won't handle 
__declspec (dllexport) correctly. In that case the attached patch fools 
doxygen by making it think it's on a unix platform...

Cheers Sascha
-------------- next part --------------
A non-text attachment was scrubbed...
Type: text/x-diff
Size: 348 bytes
Desc: not available
URL: <>

More information about the kde-core-devel mailing list