[Interest] Q_PROPERTY, Subclass and calling SuperClasses signal

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Fri Feb 28 06:20:49 CET 2014


>
> https://bugreports.qt-project.org/browse/QTBUG-7684?focusedCommentId=124122&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel
>
> So it seems that moc can not support something that is perfectly legal to
> do?
>

The link you pointed out already mentions that you need to declare the
NOTIFY signal in the same class as the one declaring the property. So thats
the main issue here. I guess you will have to rejig your base class.

BTW, why would you want to have just the signal in the base class and not
the property itself? Is the base class like an interface?

-mandeep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140228/c0246d22/attachment.html>


More information about the Interest mailing list