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

Coda Highland chighland at gmail.com
Fri Aug 30 18:34:35 CEST 2013


On Fri, Aug 30, 2013 at 8:03 AM, Christian Kandeler
<christian.kandeler at digia.com> wrote:
> 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

Oh, whoops. I missed that. Sorry for the noise.

/s/ Adam



More information about the Qt-creator mailing list