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

cxx-qt-gen: parse any #[property] attributes on struct fields #203

Merged
merged 1 commit into from Aug 11, 2022

Conversation

ahayzen-kdab
Copy link
Collaborator

Later when Data and RustObj structs are merged, properties will
be defined on the RustObj struct. This adds support for finding
these properties in the parser phase.

@Be-ing
Copy link
Contributor

Be-ing commented Aug 10, 2022

How about renaming this to #[qproperty]? Simply #[property] could be misunderstood to be a Rust thing.

@ahayzen-kdab
Copy link
Collaborator Author

How about renaming this to #[qproperty]? Simply #[property] could be misunderstood to be a Rust thing.

I've been wondering the same with #[invokable] vs #[qinvokable] 🤔 Maybe we switch both to the latter.

@ahayzen-kdab
Copy link
Collaborator Author

How about renaming this to #[qproperty]? Simply #[property] could be misunderstood to be a Rust thing.

I've been wondering the same with #[invokable] vs #[qinvokable] thinking Maybe we switch both to the latter.

Renamed to #[qproperty] I'll create a separate pull request to rename to #[qinvokable]

Later when Data and RustObj structs are merged, properties will
be defined on the RustObj struct. This adds support for finding
these properties in the parser phase.
@ahayzen-kdab
Copy link
Collaborator Author

Added a pull request to rename #[invokable] to #[qinvokable] #205

@Be-ing Be-ing merged commit 5c05c21 into KDAB:main Aug 11, 2022
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

2 participants