So I have a QObject-derived object tree, like a QObject* tree; I made
everything QSharedObject<QObject> accordingly. (I'll just use QObject in this
email)
I have a recursive query function. I want to use QSharedPointers so that I
don't give the pointer directly to the tree because someone might delete it.
(ignoring data(), because at that point in time I can consider it intentional)
However I hit a problem in my recursive search function QSharedObject<QObject>
QObject::search() when I go to add "this" item to the result set, I can only
add "this" as a QObject* not QSharedPointer<this>.
How do I work around "this"?
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest