|
|
Andre Haupt wrote:
> I dont have a reasonable solution to your problem, but what if you use a
> pointer to AbstractThing in your signals and slots? You can then check
> in your slot at runtime, whether this pointer points to a fooThing,
> barThing or bazThing by means of QObject::isA(). Your fooThing, barThing
> and bazThing would have to inherit QObject though.
Or take a look at registering custom value types with QMetaType:
http://doc.trolltech.com/qq/qq14-metatypes.html
--
David Boddie
Technical Writer, Trolltech ASA
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/
|
|