qdebug.cpp should contain a comment like this: /*! \class QNoDebug \internal */
________________________________________ From: [email protected] <[email protected]> on behalf of Olivier Goffart <[email protected]> Sent: Thursday, July 30, 2015 2:36 PM To: [email protected] Subject: Re: [Development] QNoDebug - available but undocumented On Thursday 30. July 2015 13:33:28 Tomasz Siekierda wrote: > Hi, > > just a quick observation: QNoDebug class can be used in code (compiles, > works fine), but there is no documentation for it. > > Is that intentional? Shouldn't it be either hidden (made private) or > documented? Although I have just learned about it's existence by accident, > it looks like it can be quite useful, so I vote for adding some docs. It's a fake class that replaces QDebug when QT_NO_DEBUG_OUTPUT is defined. That way the code compiles but is optimized away. -- Olivier Woboq - Qt services and support - http://woboq.com - http://code.woboq.org _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
