Hi Frank, 

> Sent: Wednesday, 20 February 2013 12:19 AM
> 
> Hello List!
> 
> Sometimes I have a simple class, maybe a POD, that I want to pump through
> a queued signal-slot connection.  As I understand it, I need a QObject to
do
> that.  So I wrap my class in QObject.

You can pass pointers to the POD without doing anything else: 

signals:
        void my_signal(POD *data);

If it really must be POD by value, then use Samuel's approach. 

Tony.


_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to