I want to say hello to this nice forum with my first question:
As I understood, Qt provides support for handling of parent-child associations between QObjects. So far so good.
I am looking for something that supports dealing with more general or loose associations between objects. Something like
A [1] <------>[*] B
where A has a method A::getBs() and B has a method B::getA(). Furthermore, the container returned by A::getBs() should be capable of dealing with insertions or deletions also on the other end, which means that if I attach a b:B with an a:A by doing a.getBs().add(b) then b.getA() should return a.
If there is no support for such things in Qt I will implement on my own (in my code generator). But before I dive into that I wanted to ask the community if something is already available that could fit my need or come close to it.
thanks!
Bookmarks