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

Christian Kandeler christian.kandeler at digia.com
Fri Aug 30 17:03:31 CEST 2013


On 08/30/2013 04:52 PM, Coda Highland wrote:
> 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.

No, they are defined to public. This is exactly what has changed in Qt 
5, as the link Nikolai provided explains.


Christian




More information about the Qt-creator mailing list