qobject

objectCast Sideways casting

I'm trying to replace all dynamicCasts in my code with QT's objectCast. But I've run into a bit of a snag. Here's the hierarchy of my objects: class ABase : public QObject class IAbility; // Registered as Qt Interface class ISize; // Registered as Qt Interface class Derived : public ABase, public IAbility, public ISize; // Uses Q_INTE...

QAbstractItemModel for QMetaObject, do I have to write it myself?

A suite of data models built on top of Qt's reflection system seems like a natural synergy, but I haven't found such a beast in the Qt library itself or from a 3rd party. Does anyone know if such a thing exists? I'm look for data models for editing and displaying a collection of QObjects QMetaObject properties. I can kind of understand ...