[Qt-creator] How does QtCreator support the "private" signals of e.g. QAbstractItemModel

Coda Highland chighland at gmail.com
Fri Aug 30 16:52:50 CEST 2013

On Fri, Aug 30, 2013 at 4:40 AM, Nikolai Kosjar
<nikolai.kosjar at digia.com> wrote:
> "Q_SIGNALS" and "signals" are defined to "public" by default

In terms of the actual DEFINITION of these macros, it's actually
defined to "protected", as an outside class can't invoke the emission
function directly. Now admittedly the signal is part of the class's
public API so CONCEPTUALLY it sort of crosses visibility layers.

/s/ Adam

More information about the Qt-creator mailing list