[RFC] Split tests and examples in KDE4

Brad Hards bradh at frogmouth.net
Tue Jul 11 08:28:25 BST 2006


On Tuesday 11 July 2006 05:42, Frans Englich wrote:
> No problem, I can provide those two examples ;-)
>
> * Full blown "formal" examples. Those are /not/ put in class/function
> descriptions, but are "heavy" and form their own list. Here is a
> demonstration:
> http://patternist.sourceforge.net/documentation/API/examples.html
>
> This is achieved with the @example tag, which is documented here:
> http://www.stack.nl/~dimitri/doxygen/commands.html#cmdexample
I do that for QCA. However l expect that examples will have a main(), and be 
runnable. You don't seem to do that, but I don't understand why. Can you 
explain?

My concept (for an example) is more like:
http://websvn.kde.org/trunk/kdesupport/qca/examples/hashtest/hashtest.cpp?rev=393953&view=markup

Brad




More information about the kde-core-devel mailing list