Expose information to Qt metaobject system
ClosedPublic

Authored by apol on May 24 2017, 3:08 PM.

Details

Summary

So that it can be integrated in QtQuick applications

Test Plan

Implemented it Discover, everything seems to work

Diff Detail

Repository
R849 User Feedback Collection Framework
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
apol created this revision.May 24 2017, 3:08 PM
vkrause accepted this revision.May 24 2017, 5:34 PM
This revision is now accepted and ready to land.May 24 2017, 5:34 PM
This revision was automatically updated to reflect the committed changes.
kfunk added a subscriber: kfunk.Jun 2 2017, 2:34 PM
kfunk added inline comments.
src/provider/core/surveyinfo.cpp
103

@apol: I don't get why this is needed? You'd need to include "foo.moc" in case there's a QObject-derived class in the .cpp file -- isn't the case here.

Can we just remove?

apol added a comment.Jun 2 2017, 3:15 PM

@apol: I don't get why this is needed? You'd need to include "foo.moc" in case there's a QObject-derived class in the .cpp file -- isn't the case here.
Can we just remove?

My reasoning was that maybe Qt 4 would choke on Q_GADGET. If you think it won't hurt, feel free to remove it.