[Qt-interest] How to create object instance knowing only its class name in a QString?
frares at gmail.com
frares at gmail.com
Mon Jan 30 14:55:23 CET 2012
Thank you.
Francisco
On , Konstantin Tokarev <annulen at yandex.ru> wrote:
> 30.01.2012, 16:57, frares at gmail.com:
> > Hi, all.
> >
> > How do I instantiate an object knowing its class name in a QString and
> that all similar classes are derived from a "facade" super class?
> You need to use "factory" pattern.
> --
> Regards,
> Konstantin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20120130/7ac99e10/attachment.html
More information about the Qt-interest-old
mailing list