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

Support for QModelIndex::internalPointer #57

Closed
drug007 opened this issue Apr 10, 2017 · 5 comments
Closed

Support for QModelIndex::internalPointer #57

drug007 opened this issue Apr 10, 2017 · 5 comments
Assignees

Comments

@drug007
Copy link
Contributor

drug007 commented Apr 10, 2017

As I understand the only reason this support is absent is man power lack?

@filcuc
Copy link
Owner

filcuc commented Apr 10, 2017

No. It's Just the evolution of the library. Initially we supported only list models where internal pointer is not useful but now we supported most qaim features. So we can add it.

@filcuc
Copy link
Owner

filcuc commented Apr 10, 2017

You can see that we have support for it inside the createIndex function. So it's just a matter of exposing it in qmodelindex. I can do it this evening

@drug007
Copy link
Contributor Author

drug007 commented Apr 10, 2017

Probably I expressed my thoughts wrong way. But I understood you - I meant the same. In my spare time I tried to port simple tree model for qml from c++ to dlang and it needed internalPointer. I just wanted to clarify this point. Thanks.

@filcuc filcuc self-assigned this Apr 10, 2017
@filcuc filcuc closed this as completed in 0fc5218 Apr 13, 2017
@filcuc
Copy link
Owner

filcuc commented Apr 13, 2017

@drug007 please notify me if you port the tree example in dlang :) i'm interested

@drug007
Copy link
Contributor Author

drug007 commented Apr 13, 2017

Thanks!
do not promise I do it due to lack of time right now, but if then definitely notify you.

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

No branches or pull requests

2 participants