Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Better invokeMethod #303

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IriaSomobu
Copy link
Contributor

This PR is a follow-up of #302. This PR introduces breaking changes and not to ready to be merged (yet).

Here I want to discuss and implement changes to make invoke_method (and maybe things around it) better.

At first, I've changed invoke_method's return value to Option<QVariant> - which is close to original QMetaObject API and makes it possible to check wether error occurred (this was discussed earlier).

@ogoffart, can you give me advice -- is this change OK as it done now? What should be done next?

@IriaSomobu
Copy link
Contributor Author

Ah yes, the tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant